1 Star 0 Fork 126

时间拾荒人/imi

forked from 宇润/imi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
phpstan-components.neon 1.71 KB
一键复制 编辑 原始数据 按行查看 历史
宇润 提交于 2021-12-31 09:30 . 优化代码 (#240)
parameters:
level: 6
phpVersion: 80000
paths:
- src/Components
excludePaths:
- */vendor/*
- src/Components/grpc/example/grpc
- src/Components/smarty/src/smarty-plugins
bootstrapFiles:
- vendor/autoload.php
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
- '#is never read, only written#'
- '#expects class-string<\S+>, string given#'
- '#Unable to resolve the template type T in call to method#'
- '#Access to an undefined property Imi\\Util\\LazyArrayObject::\$[^.]+.#'
- '#Access to an undefined property Imi\\Util\\ArrayData::\$[^.]+.#'
- '#Unsafe usage of new static\(\).+#'
- '#Argument of an invalid type Imi\\Util\\ArrayData supplied for foreach, only iterables are supported.#'
- '#Argument of an invalid type ArrayAccess supplied for foreach, only iterables are supported.#'
- '#Property GPBMetadata\\Grpc::\$\S+ has no typehint specified.#'
- '#Property Grpc\\[^:]+::\$\S+ has no typehint specified.#'
- '#Method GPBMetadata\\Grpc::initOnce\(\) has no return typehint specified.#'
- '#PHPDoc tag @throws with type \S+ is not subtype of Throwable#'
- '#Constant IMI_PATH not found.#'
-
message: '#Method \S+ has no return typehint specified.#'
paths:
- tests/unit/**Test.php
-
message: '#class .+ not found#'
paths:
- src/Components/jwt/*
-
message: '#Lcobucci#'
paths:
- src/Components/jwt/*
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/lxxtoday/IMI.git
git@gitee.com:lxxtoday/IMI.git
lxxtoday
IMI
imi
2.0

搜索帮助

0d507c66 1850385 C8b1a773 1850385