Skip to content

Commit

Permalink
Merge pull request #180 from andriokha/179-use-excludePaths
Browse files Browse the repository at this point in the history
Use excludePath instead of excludes_analyse
  • Loading branch information
mglaman authored Jul 2, 2021
2 parents b8b6642 + f80977b commit 65acf13
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 65acf13

Please sign in to comment.