Skip to content

Commit 7e7d1f3

Browse files
authored
Merge pull request #43 from mglaman/gh36-exclude-test-fixtures
Add a test that `test/fixtures` should be excluded
2 parents 07ed413 + c1536b7 commit 7e7d1f3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ script:
2424
- composer require mglaman/phpstan-drupal *@dev
2525
- cp $TRAVIS_BUILD_DIR/tests/fixtures/drupal-phpstan.neon phpstan.neon
2626
- ./vendor/bin/phpstan analyze web/core/install.php
27+
- ./vendor/bin/phpstan analyze web/core/modules/migrate_drupal --no-progress | grep -q "tests/fixtures" && echo 1 || echo 0
2728

2829
cache:
2930
directories:

extension.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
parameters:
22
excludes_analyse:
33
- *.api.php
4+
- */tests/fixtures/*.php
45
bootstrap: %rootDir%/../../mglaman/phpstan-drupal/phpstan-bootstrap.php
56
fileExtensions:
67
- module

0 commit comments

Comments
 (0)