Skip to content

Commit 724e062

Browse files
committed
Fix build error
1 parent a7d110f commit 724e062

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ tmp export-ignore
88
Makefile export-ignore
99
phpcs.xml export-ignore
1010
phpstan.neon export-ignore
11+
phpstan-baseline.neon export-ignore
1112
phpunit.xml export-ignore

phpstan-baseline.neon

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Creating new ReflectionObject is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine\\. Use objects retrieved from ReflectionProvider instead\\.$#"
5+
count: 1
6+
path: src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php

phpstan.neon

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
includes:
22
- extension.neon
3+
- phpstan-baseline.neon
34
- vendor/phpstan/phpstan-phpunit/extension.neon
45
- vendor/phpstan/phpstan-phpunit/rules.neon
56
- vendor/phpstan/phpstan-strict-rules/rules.neon

0 commit comments

Comments
 (0)