Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
d888887b
Verified
Commit
d888887b
authored
5 months ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
feat: add strict mode toggle
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
8bc6f68f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/tests/static-analysis.yml
+4
-0
4 additions, 0 deletions
includes/tests/static-analysis.yml
with
4 additions
and
0 deletions
includes/tests/static-analysis.yml
+
4
−
0
View file @
d888887b
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment