Skip to content

Commit

Permalink
Update: 重新生成 core 基线
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Oct 18, 2023
1 parent 6a3dff0 commit f11957d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
36 changes: 3 additions & 33 deletions phpstan-baseline/baseline-core.neon
Original file line number Diff line number Diff line change
@@ -1,39 +1,9 @@
parameters:
ignoreErrors:
-
message: "#^Offset 'lockExpire' on array\\{waitTimeout\\: mixed\\} on left side of \\?\\? does not exist\\.$#"
count: 1
path: ../src/Cache/Aop/CacheableAop.php

-
message: "#^Offset 'timeoutException' on array\\{waitTimeout\\: mixed, lockExpire\\: mixed\\} on left side of \\?\\? does not exist\\.$#"
count: 1
path: ../src/Cache/Aop/CacheableAop.php

-
message: "#^Offset 'unlockException' on array\\{waitTimeout\\: mixed, lockExpire\\: mixed, timeoutException\\: mixed\\} on left side of \\?\\? does not exist\\.$#"
count: 1
path: ../src/Cache/Aop/CacheableAop.php

-
message: "#^If condition is always true\\.$#"
count: 1
path: ../src/Cache/Handler/File.php

-
message: "#^Offset 'lockExpire' on array\\{waitTimeout\\: mixed\\} on left side of \\?\\? does not exist\\.$#"
count: 1
path: ../src/Lock/Aop/LockAop.php

-
message: "#^Offset 'timeoutException' on array\\{waitTimeout\\: mixed, lockExpire\\: mixed\\} on left side of \\?\\? does not exist\\.$#"
count: 1
path: ../src/Lock/Aop/LockAop.php

-
message: "#^Offset 'unlockException' on array\\{waitTimeout\\: mixed, lockExpire\\: mixed, timeoutException\\: mixed\\} on left side of \\?\\? does not exist\\.$#"
count: 1
path: ../src/Lock/Aop/LockAop.php
message: "#^If condition is always false\\.$#"
count: 3
path: ../src/Db/Query/Query.php

-
message: "#^Argument of an invalid type ArrayAccess supplied for foreach, only iterables are supported\\.$#"
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ parameters:
- vendor/autoload.php
- split-repository/vendor/autoload.php

treatPhpDocTypesAsCertain: false
# treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
Expand Down

0 comments on commit f11957d

Please sign in to comment.