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 5b4460f commit 01af324
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 2,461 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.4",
"php-coveralls/php-coveralls": "^2.5",
"phpmd/phpmd": "^2.9",
"phpstan/phpstan": "^1.11",
"pronamic/pronamic-cli": "^1.0",
"pronamic/wp-coding-standards": "^1.3",
"roots/wordpress": "^6.0",
"szepeviktor/phpstan-wordpress": "^1.3",
"vimeo/psalm": "^0.3.14",
"wp-phpunit/wp-phpunit": "^6.1",
"wpackagist-plugin/charitable": "^1.7",
"yoast/phpunit-polyfills": "^1.0"
Expand Down
4 changes: 1 addition & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
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/
scanDirectories:
Expand Down
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.

273 changes: 0 additions & 273 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 01af324

Please sign in to comment.