Skip to content

Commit

Permalink
Ensure PHPStan works properly with v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Dec 10, 2024
1 parent 01fb315 commit c7f879a
Show file tree
Hide file tree
Showing 5 changed files with 287 additions and 337 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Tap into leading cloud-based services like [OpenAI](https://openai.com/), [Micro
## Requirements

* PHP 7.4+
* [WordPress](http://wordpress.org) 6.1+
* [WordPress](http://wordpress.org) 6.5+
* To utilize the NLU Language Processing functionality, you will need an active [IBM Watson](https://cloud.ibm.com/registration) account.
* To utilize the ChatGPT, Embeddings, Text to Speech or Whisper Language Processing functionality or DALL·E Image Processing functionality, you will need an active [OpenAI](https://platform.openai.com/signup) account.
* To utilize the Azure AI Vision Image Processing functionality or Text to Speech Language Processing functionality, you will need an active [Microsoft Azure](https://signup.azure.com/signup) account.
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
"require-dev": {
"10up/phpcs-composer": "^3.0",
"yoast/phpunit-polyfills": "^1.0.0",
"szepeviktor/phpstan-wordpress": "dev-master",
"szepeviktor/phpstan-wordpress": "^2.0.1",
"phpstan/extension-installer": "1.4.x-dev",
"php-stubs/wp-cli-stubs": "dev-master",
"johnbillion/wp-compat": "dev-trunk",
"phpstan/phpstan-deprecation-rules": "1.2.x-dev"
"johnbillion/wp-compat": "^1.1.0",
"phpstan/phpstan-deprecation-rules": "^2.0.1"
},
"scripts": {
"lint": "phpcs -s . --runtime-set testVersion 7.4-",
Expand Down
Loading

0 comments on commit c7f879a

Please sign in to comment.