Skip to content
Snippets Groups Projects
Verified Commit d888887b authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

feat: add strict mode toggle

parent 8bc6f68f
Branches
No related tags found
No related merge requests found
...@@ -29,6 +29,8 @@ phpstan: ...@@ -29,6 +29,8 @@ phpstan:
junit: phpstan-junit.xml junit: phpstan-junit.xml
rules: rules:
- !reference [.skip-mr, rules] - !reference [.skip-mr, rules]
- if: $STRICT_MODE === 0
allow_failure: true
- exists: - exists:
- phpstan.neon.dist - phpstan.neon.dist
...@@ -38,6 +40,8 @@ phpcs: ...@@ -38,6 +40,8 @@ phpcs:
- vendor/bin/phpcs --warning-severity=0 --report-junit=phpcs-junit.xml --report-full - vendor/bin/phpcs --warning-severity=0 --report-junit=phpcs-junit.xml --report-full
rules: rules:
- !reference [.skip-mr, rules] - !reference [.skip-mr, rules]
- if: $STRICT_MODE === 0
allow_failure: true
- exists: - exists:
- phpcs.xml.dist - phpcs.xml.dist
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment