1 Star 9 Fork 0

李铭昕/biz-skeleton

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
phpstan.neon.dist 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
# Magic behaviour with __get, __set, __call and __callStatic is not exactly static analyser-friendly :)
# Fortunately, You can ignore it by the following config.
#
# vendor/bin/phpstan analyse app --memory-limit 200M -l 0
#
includes:
# 需要执行 composer require phpstan/phpstan-deprecation-rules --dev
# - vendor/phpstan/phpstan-deprecation-rules/rules.neon
parameters:
level: 0
paths:
- app
- config
reportUnmatchedIgnoredErrors: false
parallel:
jobSize: 20
maximumNumberOfProcesses: 32
minimumNumberOfJobsPerProcess: 2
ignoreErrors:
- '#Static call to instance method Hyperf\\HttpServer\\Router\\Router::[a-zA-Z0-9\\_]+\(\)#'
- '#Static call to instance method Hyperf\\DbConnection\\Db::[a-zA-Z0-9\\_]+\(\)#'
services:
# When using `match` to match enum, the enumeration must be completely overwritten
- class: PHPStan\Rules\Comparison\MatchExpressionRule
arguments:
checkAlwaysTrueStrictComparison: %checkAlwaysTrueStrictComparison%
disableUnreachable: %featureToggles.disableUnreachableBranchesRules%
reportAlwaysTrueInLastCondition: %reportAlwaysTrueInLastCondition%
treatPhpDocTypesAsCertain: %treatPhpDocTypesAsCertain%
tags:
- phpstan.rules.rule
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/limingxinleo/biz-skeleton.git
[email protected]:limingxinleo/biz-skeleton.git
limingxinleo
biz-skeleton
biz-skeleton
master

搜索帮助