Skip to content

Commit

Permalink
Removed PhpStan ignored errors that are irrelevant now (#288)
Browse files Browse the repository at this point in the history
* Removed PhpStan ignored errors that are irrelevant now

* Configure PhpStan to not fail when ignored errors aren't reported after all
  • Loading branch information
Yann Eugoné committed Oct 30, 2021
1 parent b7dfd87 commit 505d5a7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ parameters:
paths:
- src/

reportUnmatchedIgnoredErrors: false
ignoreErrors:
# config definition is not well parsed
- '#Symfony\\Component\\Config\\Definition#'
Expand All @@ -12,12 +13,3 @@ parameters:
message: "#^Method Presta\\\\SitemapBundle\\\\DependencyInjection\\\\PrestaSitemapExtension\\:\\:load\\(\\) has parameter \\$configs with no value type specified in iterable type array\\.$#"
count: 1
path: src/DependencyInjection/PrestaSitemapExtension.php
-
message: "#^Method Presta\\\\SitemapBundle\\\\EventListener\\\\RouteAnnotationEventListener\\:\\:getSubscribedEvents\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/EventListener/RouteAnnotationEventListener.php
-
message: "#^Method Presta\\\\SitemapBundle\\\\EventListener\\\\StaticRoutesAlternateEventListener\\:\\:getSubscribedEvents\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/EventListener/StaticRoutesAlternateEventListener.php

0 comments on commit 505d5a7

Please sign in to comment.