Skip to content

Commit

Permalink
Merge pull request #162 from tighten/drift/allow-sideeffects-tests
Browse files Browse the repository at this point in the history
Exclude tests from `PSR1.Files.SideEffects`
  • Loading branch information
driftingly authored Oct 9, 2024
2 parents 8f4746a + 8f3af59 commit ec9bc37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified builds/duster
Binary file not shown.
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
|
*/

'version' => '3.0.2',
'version' => '3.0.3',

/*
|--------------------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion standards/Tighten/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@

<!-- PSR1 2.3 Side Effects -->
<rule ref="PSR1.Files.SideEffects">
<!-- Disable side effects for index file -->
<!-- Disable side effects for index file and tests -->
<exclude-pattern>/public/index.php</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>

<!-- PSR1 3 Namespaces and classes MUST follow PSR-0. -->
Expand Down

0 comments on commit ec9bc37

Please sign in to comment.