Skip to content

Commit f72db2d

Browse files
authored
Move wpsyntex/polylang-stubs to dev dependencies. (#22)
* Move wpsyntex/polylang-stubs to dev dependencies. * Update README.
1 parent 660dc7e commit f72db2d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Include the extension and stubs in the PHPStan configuration file.
3333
includes:
3434
- vendor/wpsyntex/polylang-phpstan/extension.neon
3535
parameters:
36-
stubFiles:
36+
scanFiles:
3737
- vendor/wpsyntex/polylang-stubs/polylang-stubs.php
3838
```
3939

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"type": "library",
77
"require": {
88
"php": "^8.0",
9-
"szepeviktor/phpstan-wordpress": "^2.0",
10-
"wpsyntex/polylang-stubs": "dev-master"
9+
"szepeviktor/phpstan-wordpress": "^2.0"
1110
},
1211
"require-dev": {
13-
"phpunit/phpunit": "^9"
12+
"phpunit/phpunit": "^9",
13+
"wpsyntex/polylang-stubs": "dev-master"
1414
},
1515
"autoload": {
1616
"psr-4": {

0 commit comments

Comments
 (0)