Skip to content

Commit

Permalink
Ignore skeleton files in psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu authored and OskarStark committed Jan 11, 2021
1 parent 3b2b2c9 commit f23ea1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,6 @@
</UndefinedClass>
<UnrecognizedStatement occurrences="1"/>
</file>
<!-- ignore template files-->
<file src="src/Resources/skeleton/Admin.tpl.php">
<UndefinedGlobalVariable occurrences="6">
<code>$namespace</code>
<code>$class_name</code>
<code>$fields</code>
<code>$fields</code>
<code>$fields</code>
<code>$fields</code>
</UndefinedGlobalVariable>
</file>
<file src="src/Resources/skeleton/AdminController.tpl.php">
<UndefinedGlobalVariable occurrences="4">
<code>$namespace</code>
<code>$class_name</code>
<code>$default_controller</code>
<code>$default_controller_short_name</code>
</UndefinedGlobalVariable>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Twig/Extension/StringExtension.php">
<UndefinedClass occurrences="2">
Expand Down
2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<file name="src/Resources/skeleton"/>
<directory name="src/Resources/skeleton"/>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
Expand Down

0 comments on commit f23ea1c

Please sign in to comment.