diff --git a/composer.json b/composer.json index fa192c4c..63f656dd 100644 --- a/composer.json +++ b/composer.json @@ -105,7 +105,7 @@ "se/selenium-server-standalone": "^3.141", "symfony/browser-kit": "^4.4", "symfony/css-selector": "^4.4", - "symplify/easy-coding-standard": "^7.2", + "symplify/easy-coding-standard": "^8.0", "vaimo/binary-chromedriver": "^5.0" }, "config": { diff --git a/easy-coding-standard.yml b/easy-coding-standard.yml index 1a2ec8ec..e1b5661d 100644 --- a/easy-coding-standard.yml +++ b/easy-coding-standard.yml @@ -31,10 +31,6 @@ services: # Naming PhpCsFixer\Fixer\PhpUnit\PhpUnitMethodCasingFixer: ~ - # Debug - Symplify\CodingStandard\Sniffs\Debug\DebugFunctionCallSniff: ~ - Symplify\CodingStandard\Sniffs\Debug\CommentedOutCodeSniff: ~ - # final classes PhpCsFixer\Fixer\ClassNotation\FinalInternalClassFixer: ~ @@ -95,8 +91,6 @@ parameters: PhpCsFixer\Fixer\Operator\IncrementStyleFixer: ~ PhpCsFixer\Fixer\Phpdoc\PhpdocAnnotationWithoutDotFixer: ~ PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer: ~ - Symplify\CodingStandard\Sniffs\Debug\CommentedOutCodeSniff: ~ #to be removed before beta release - Symplify\CodingStandard\Sniffs\Debug\DebugFunctionCallSniff: ~ #to be removed before beta release # Deprecated. Todo: Find replacement Symplify\CodingStandard\Fixer\ControlStructure\RequireFollowedByAbsolutePathFixer: ~ diff --git a/phpstan.neon b/phpstan.neon index 7b10bc59..fafde844 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -26,3 +26,5 @@ includes: - vendor/phpstan/phpstan-symfony/extension.neon - vendor/phpstan/phpstan-doctrine/extension.neon # - vendor/thecodingmachine/phpstan-safe-rule/phpstan-safe-rule.neon # make ON when thecodingmachine/safe will get stable +rules: + - Symplify\CodingStandard\Rules\NoDebugFuncCallRule