Skip to content

Commit

Permalink
Fix phpstan notice ignore error (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed May 16, 2023
1 parent 76125e6 commit edea6f8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,6 @@ parameters:
message: '#New objects with "\$bitwiseOr" name are overridden\. This can lead to unwanted bugs, please pick a different name to avoid it#'
path: rules/DowngradePhp72/NodeManipulator/BitwiseFlagCleaner.php

# not used on purpose, as child nodes continue to deal with params
-
message: '#Method call return value that should be used, but is not#'
paths:
- rules/DowngradePhp80/Rector/ClassMethod/DowngradeTrailingCommasInParamUseRector.php
- src/PhpDocDecorator/PhpDocFromTypeDeclarationDecorator.php

# value is always used
-
message: '#Method call return value that should be used, but is not#'
path: rules/DowngradePhp74/Rector/ClassMethod/DowngradeCovariantReturnTypeRector.php

- '#Method "decorateReturnWithSpecificType\(\)" returns bool type, so the name should start with is/has/was#'
- '#Method "decorateParamWithSpecificType\(\)" returns bool type, so the name should start with is/has/was#'

Expand Down

0 comments on commit edea6f8

Please sign in to comment.