瀏覽代碼

[TOOLS] Remove CodeCeption files from composer autoload-dev, since they're not available before installing, and ignore errors in PHPStan

oauth1
Hugo Sales 8 月之前
父節點
當前提交
f3a7e8f04d
簽署人: someonewithpc <hugo@hsal.es> GPG 金鑰 ID: 7D0C7EAFC9D835A0
共有 2 個檔案被更改,包括 6 行新增5 行删除
  1. +1
    -5
      composer.json
  2. +5
    -0
      phpstan.neon

+ 1
- 5
composer.json 查看文件

@@ -112,11 +112,7 @@
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
},
"files": [
"tests/CodeCeption/_support/_generated/AcceptanceTesterActions.php",
"tests/CodeCeption/_support/AcceptanceTester.php"
]
}
},
"replace": {
"paragonie/random_compat": "2.*",


+ 5
- 0
phpstan.neon 查看文件

@@ -25,6 +25,11 @@ parameters:
message: '/^Property App\\PHPStan\\ClassFromTableNameDynamicStaticMethodReturnTypeExtension::\$provider is never read, only written\./'
path: src/PHPStan/ClassFromTableNameDynamicStaticMethodReturnTypeExtension.php

-
message: '/Access to constant STANDARD_WCAG2A?A?A? on an unknown class Helper\\AccessibilityValidator/'
paths:
- *

# -
# message: '/has no return typehint specified/'
# paths:


Loading…
取消
儲存