Skip to content

Commit

Permalink
Fix running PHPStan.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Aug 12, 2024
1 parent 28db472 commit 386004c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 2,355 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@
"bamarni/composer-bin-plugin": "^1.8",
"php-coveralls/php-coveralls": "^2.7",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.11",
"pronamic/pronamic-cli": "^1.1",
"pronamic/wp-coding-standards": "^2.2",
"roots/wordpress": "^6.4",
"szepeviktor/phpstan-wordpress": "^1.3",
"vimeo/psalm": "^0.3.14",
"wp-phpunit/wp-phpunit": "^6.4",
"wpackagist-plugin/easy-digital-downloads": "^3.2",
"wpackagist-plugin/wordpress-seo": "^22.3",
Expand Down
4 changes: 1 addition & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
includes:
- vendor-bin/phpstan/vendor/szepeviktor/phpstan-wordpress/extension.neon
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
customRulesetUsed: false
dynamicConstantNames:
- EDD_VERSION
level: max
bootstrapFiles:
- tests/phpstan/bootstrap.php
paths:
- src/
scanDirectories:
Expand Down
6 changes: 0 additions & 6 deletions vendor-bin/phpstan/composer.json

This file was deleted.

269 changes: 0 additions & 269 deletions vendor-bin/phpstan/composer.lock

This file was deleted.

5 changes: 0 additions & 5 deletions vendor-bin/psalm/composer.json

This file was deleted.

Loading

0 comments on commit 386004c

Please sign in to comment.