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 a295e97 commit af379d6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2,371 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,14 @@
"overtrue/phplint": "^4.4",
"php-coveralls/php-coveralls": "^2.5",
"phpmd/phpmd": "^2.8",
"phpstan/phpstan": "^1.11",
"pronamic/pronamic-cli": "^1.1",
"pronamic/wp-coding-standards": "^1.3",
"roots/wordpress": "^6.0",
"sirbrillig/phpcs-import-detection": "^1.2",
"slevomat/coding-standard": "^6.4",
"szepeviktor/phpstan-wordpress": "^1.3",
"vimeo/psalm": "^5.25",
"wp-cli/wp-cli-bundle": "^2.6",
"wp-phpunit/wp-phpunit": "^6.1",
"yoast/phpunit-polyfills": "^1.0"
Expand Down
7 changes: 4 additions & 3 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
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/
ignoreErrors:
-
identifier: missingType.generics
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.

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

This file was deleted.

Loading

0 comments on commit af379d6

Please sign in to comment.