Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from 21TORR/next
Browse files Browse the repository at this point in the history
Don't use deprecated PHPStan config
  • Loading branch information
21christiansc authored Nov 15, 2021
2 parents 3893827 + e39a4c0 commit 544cd4d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
4.0.4
=====

* (improvement) Don't use deprecated PHPStan config.


4.0.3
=====

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"ext-json": "*",
"ergebnis/composer-normalize": "^2.15.0",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^1.0.1",
"phpstan/phpstan": "^1.1.2",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-doctrine": "^1.0.1",
"phpstan/phpstan-symfony": "^1.0.0"
"phpstan/phpstan-symfony": "^1.0.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2.1",
Expand Down
17 changes: 9 additions & 8 deletions phpstan/lib.neon
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false

excludes_analyse:
- %currentWorkingDirectory%/app/DoctrineMigrations
- %currentWorkingDirectory%/node_modules
- %currentWorkingDirectory%/src/Migrations
- %currentWorkingDirectory%/tests
- %currentWorkingDirectory%/var
- %currentWorkingDirectory%/vendor
- %currentWorkingDirectory%/vendor-bin
excludePaths:
analyse:
- %currentWorkingDirectory%/vendor
analyseAndScan:
- %currentWorkingDirectory%/src/Migrations
- %currentWorkingDirectory%/node_modules
- %currentWorkingDirectory%/tests
- %currentWorkingDirectory%/var
- %currentWorkingDirectory%/vendor-bin

ignoreErrors:
- '#Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::#'
Expand Down

0 comments on commit 544cd4d

Please sign in to comment.