From f3a7e8f04d55b41b847faf5d6d7472c3dfb6a3e3 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Mon, 10 Jan 2022 23:14:43 +0000 Subject: [PATCH] [TOOLS] Remove CodeCeption files from composer autoload-dev, since they're not available before installing, and ignore errors in PHPStan --- composer.json | 6 +----- phpstan.neon | 5 +++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 0007d21046..37fd6e3550 100644 --- a/composer.json +++ b/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.*", diff --git a/phpstan.neon b/phpstan.neon index bdc5561d30..b3c0824c53 100644 --- a/phpstan.neon +++ b/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: