Skip to content

Commit

Permalink
Properly run style checks on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadyita committed Feb 24, 2024
1 parent 2c90762 commit 8828814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"tests": [
"phpunit -c phpunit.xml",
"phpstan analyse --memory-limit 512M --no-progress --no-ansi -c phpstan.neon",
"phpcs --no-colors --report=checkstyle --standard=style/Nadybot/ruleset.xml -q src"
"phpcs --no-colors --report=checkstyle --standard=style/Nadybot/ruleset.xml -q src tests"
]
}
}
2 changes: 1 addition & 1 deletion style/Nadybot/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="AO"/>
<element key="tests" value="AO\\Tests"/>
<element key="tests" value="AO\Tests"/>
</property>
<property name="skipDirs" type="array">
<element value="vendor"/>
Expand Down

0 comments on commit 8828814

Please sign in to comment.