Skip to content

Commit

Permalink
phpstan error cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jun 20, 2024
1 parent cdf6dbf commit 53ead7d
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,10 @@ parameters:
- tests/Set/*/config/configured_set.php

# debug functions
-
message: '#Do not name "d", shorter than 2 chars#'
path: tests/debug_functions.php
-
message: '#Function "(d|function_exists)\(\)" cannot be used/left in the code#'
path: tests/debug_functions.php

# laravel config
-
path: config/yaml-to-annotations.php
message: '#Do not use chained method calls\. Put each on separated lines#'

# config example
- '#The path "/config/yaml_mapping_directory" was not found#'

- '#Parameter \#3 \$values of class Rector\\BetterPhpDocParser\\PhpDoc\\DoctrineAnnotationTagValueNode constructor expects array<Rector\\BetterPhpDocParser\\PhpDoc\\ArrayItemNode>, array<PHPStan\\PhpDocParser\\Ast\\PhpDoc\\PhpDocTagValueNode> given#'

# false positive
-
message: '#On passing a constant, the method should have an enum type#'
paths:
- src/NodeManipulator/ColumnPropertyTypeResolver.php
- src/NodeManipulator/NullabilityColumnPropertyTypeResolver.php

# false positive
-
message: '#PHPDoc tag @return contains unresolvable type#'
Expand Down

0 comments on commit 53ead7d

Please sign in to comment.