Skip to content

Commit

Permalink
composer-dependency-analser: exclude test data dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal committed Apr 4, 2024
1 parent db342d8 commit 88f00ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion composer-dependency-analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@

require_once('phar://phpstan.phar/preload.php'); // prepends PHPStan's PharAutolaoder to composer's autoloader

return new Configuration();
return (new Configuration())
->addPathToExclude(__DIR__ . '/tests/Rule/data')
->addPathToExclude(__DIR__ . '/tests/Extension/data');
2 changes: 0 additions & 2 deletions tests/Rule/data/ForbidNotNormalizedTypeRule/code.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace ForbidNotNormalizedTypeRule;

use function WrongVariableNameVarTag\doFoo;

interface MyInterface {}

abstract class BaseClass {}
Expand Down

0 comments on commit 88f00ad

Please sign in to comment.