Skip to content

Commit

Permalink
Use excludePath instead of excludes_analyse
Browse files Browse the repository at this point in the history
  • Loading branch information
andriokha committed Jul 2, 2021
1 parent b8b6642 commit f80977b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To exclude tests from analysis, add the following parameter

```
parameters:
excludes_analyse:
excludePaths:
- *Test.php
- *TestBase.php
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"require": {
"php": "^7.1 || ^8.0",
"nette/finder": "^2.5",
"phpstan/phpstan": "^0.12.64",
"phpstan/phpstan": "^0.12.65",
"symfony/yaml": "~3.4.5|^4.2",
"webflo/drupal-finder": "^1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion extension.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
parameters:
bootstrapFiles:
- drupal-autoloader.php
excludes_analyse:
excludePaths:
- '*.api.php'
- '*/tests/fixtures/*.php'
fileExtensions:
Expand Down

0 comments on commit f80977b

Please sign in to comment.