Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
flag
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
flag
Commits
a27e70b7
Commit
a27e70b7
authored
2 months ago
by
Andrei Ivnitskii
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3507729
by ivnish: Ignore Call to an undefined method Prophecy\Prophecy\ObjectProphecy
parent
453556dd
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!120
Issue #3507729 by ivnish: Ignore Call to an undefined method Prophecy\Prophecy\ObjectProphecy
Pipeline
#428561
passed with warnings
2 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
phpstan.neon
+1
-7
1 addition, 7 deletions
phpstan.neon
with
1 addition
and
7 deletions
phpstan.neon
+
1
−
7
View file @
a27e70b7
# Configuration file for PHPStan static code checking, see https://phpstan.org.
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
parameters:
level: 2
paths:
- .
ignoreErrors:
# new static() is a best practice in Drupal, so we cannot fix that.
- "#^Unsafe usage of new static#"
# ObjectProphecy objects are doubles for other classes.
- "#^Call to an undefined method Prophecy
\\\\Prophecy\\\\ObjectProphecy::
#"
- "#^Call to an undefined method Prophecy#"
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