1 Star 1 Fork 124

盾灿/imi

forked from 宇润/imi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
phpstan.neon 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
parameters:
level: 6
phpVersion: 80000
paths:
- src
- tests
- config
- dev
- split-repository
excludePaths:
- */vendor/*
- src/Components
- src/Config/DotEnv/EntryParser.php
- src/Config/DotEnv/Parser.php
- src/Util/File/FileFinder.php
bootstrapFiles:
- vendor/autoload.php
- split-repository/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#'
- '#PHPDoc tag @return with type T\|null is not subtype of native type#'
- '#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.#'
- '#PHPDoc tag @throws with type \S+ is not subtype of Throwable#'
- '#Imi\\Swoole\\Util\\Coroutine#'
- '#Imi\\Swoole\\Process\\Process#'
- '#IMI_PATH#'
-
message: '#Method \S+ has no return typehint specified.#'
paths:
- tests/unit/**Test.php
-
message: '#(Extending|Creating new|Calling) \S+ is not covered by backward compatibility promise\. The (class|method) might change in a minor PHPStan version\.#'
paths:
- dev/PHPStan/FileFinder.php
services:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/workadmin/IMI.git
git@gitee.com:workadmin/IMI.git
workadmin
IMI
imi
2.1

搜索帮助