Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
[PHPStanRules] Remove CheckTraitMethodOnlyDelegateOtherClassRule, not…
Browse files Browse the repository at this point in the history
… much value (#2927)
  • Loading branch information
TomasVotruba authored Feb 9, 2021
1 parent 5d85ccb commit 86bd631
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 236 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ public function convertParameterBag(ParameterBagInterface $parameterBag): array
);
}

if ($parameterBag->has(OPTION::IGNORE_ERRORS)) {
$neonParameters[OPTION::IGNORE_ERRORS] = (array) $parameterBag->get(
OPTION::IGNORE_ERRORS
);
if ($parameterBag->has(Option::IGNORE_ERRORS)) {
$neonParameters[Option::IGNORE_ERRORS] = (array) $parameterBag->get(Option::IGNORE_ERRORS);
}

return $neonParameters;
Expand Down
4 changes: 0 additions & 4 deletions packages/phpstan-rules/config/static-rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ services:
class: Symplify\PHPStanRules\Rules\CheckParentChildMethodParameterTypeCompatibleRule
tags: [phpstan.rules.rule]

-
class: Symplify\PHPStanRules\Rules\CheckTraitMethodOnlyDelegateOtherClassRule
tags: [phpstan.rules.rule]

-
class: Symplify\PHPStanRules\Rules\ForbiddenMethodCallOnNewRule
tags: [phpstan.rules.rule]
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 86bd631

Please sign in to comment.