Skip to content

Commit 2730669

Browse files
committed
ignore substr() errors
1 parent d3f3e2c commit 2730669

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

build/baseline-7.4.neon

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,18 @@ parameters:
7777
message: "#^Class PHPStan\\\\Reflection\\\\BetterReflection\\\\SourceLocator\\\\CachingVisitor has an uninitialized property \\$constantNodes\\. Give it default value or assign it in the constructor\\.$#"
7878
count: 1
7979
path: ../src/Reflection/BetterReflection/SourceLocator/CachingVisitor.php
80+
81+
-
82+
message: '#^Parameter \#3 of function sprintf is expected to be string by placeholder \#2 \("%%s"\), string\|false given\.$#'
83+
count: 1
84+
path: ../src/Cache/FileCacheStorage.php
85+
86+
-
87+
message: '#^Parameter \#3 of function sprintf is expected to be string by placeholder \#2 \("%%s"\), string\|false given\.$#'
88+
count: 1
89+
path: ../src/Rules/Cast/InvalidCastRule.php
90+
91+
-
92+
message: '#^Parameter \#2 of function sprintf is expected to be string by placeholder \#1 \("%%s"\), string\|false given\.$#'
93+
count: 1
94+
path: ../src/Rules/ClassForbiddenNameCheck.php

0 commit comments

Comments
 (0)