Skip to content

Commit

Permalink
Exclude all */.meta/*.php from strict typing
Browse files Browse the repository at this point in the history
The file names are set in `.meta/config.json`. And some exercises have
more than one file as example solution.
  • Loading branch information
mk-mxp committed Feb 10, 2024
1 parent fe47754 commit 507f8aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<exclude-pattern>*/concept/windowing-system/*</exclude-pattern>
</rule>
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/DeclareStrictTypesSniff.php">
<exclude-pattern>*/exemplar\.php</exclude-pattern>
<exclude-pattern>*/.meta/*\.php</exclude-pattern>
<exclude-pattern>*/concept/*</exclude-pattern>
<exclude-pattern>*/hello-world/*</exclude-pattern>
<properties>
Expand All @@ -46,7 +46,7 @@
</rule>
<rule ref="src/Sniffs/ExplainStrictTypesSniff.php">
<exclude-pattern>*/*Test\.php</exclude-pattern>
<exclude-pattern>*/exemplar\.php</exclude-pattern>
<exclude-pattern>*/.meta/*\.php</exclude-pattern>
<exclude-pattern>src/*</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 507f8aa

Please sign in to comment.