Skip to content
Snippets Groups Projects
Commit ddba2f4c authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Add exceptions for strict_types for certain directories

parent c3f05c93
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,13 @@ ...@@ -21,6 +21,13 @@
<rule ref="PSR12"/> <rule ref="PSR12"/>
<rule ref="vendor/simplesamlphp/simplesamlphp-test-framework/phpcs-simplesamlphp.xml"/> <rule ref="vendor/simplesamlphp/simplesamlphp-test-framework/phpcs-simplesamlphp.xml"/>
<!-- Require the file to start with a declare(strict_types=1); -->
<rule ref="Generic.PHP.RequireStrictTypes">
<exclude-pattern>*/attributemap/*</exclude-pattern>
<exclude-pattern>*/config/*</exclude-pattern>
<exclude-pattern>*/metadata/*</exclude-pattern>
</rule>
<!-- Lines can be a little bit longer before they break the build --> <!-- Lines can be a little bit longer before they break the build -->
<rule ref="Generic.Files.LineLength"> <rule ref="Generic.Files.LineLength">
<properties> <properties>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment