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 13, 2024
1 parent cc9f0c0 commit 4e1a9ef
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 2,367 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
"wp-phpunit/wp-phpunit": "^6.1",
"pronamic/wp-coding-standards": "^2.0",
"yoast/phpunit-polyfills": "^2.0",
"pronamic/pronamic-cli": "^1.1"
"pronamic/pronamic-cli": "^1.1",
"phpstan/phpstan": "^1.11",
"szepeviktor/phpstan-wordpress": "^1.3",
"vimeo/psalm": "^5.25"
},
"scripts": {
"coveralls": "vendor/bin/php-coveralls -v",
Expand Down
4 changes: 1 addition & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
includes:
- vendor-bin/phpstan/vendor/szepeviktor/phpstan-wordpress/extension.neon
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
customRulesetUsed: false
level: max
bootstrapFiles:
- tests/phpstan/bootstrap.php
paths:
- src/
11 changes: 0 additions & 11 deletions tests/phpstan/bootstrap.php

This file was deleted.

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 4e1a9ef

Please sign in to comment.