Skip to content

Commit

Permalink
Leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
TamasSzigeti committed Jun 22, 2021
1 parent ca4181c commit 7db60af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/GraphqliteCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ private function getClassList(string $namespace, int $globTtl = 2, bool $recursi
// The autoloader might trigger errors if the file does not respect PSR-4 or if the
// Symfony DebugAutoLoader is installed. (see https://github.com/thecodingmachine/graphqlite/issues/216)
require_once $phpFile;
// @phpstan-ignore-next-line Does it exists now?
// @phpstan-ignore-next-line Does it exist now?
if (! class_exists($className, false)) {
continue;
}
Expand Down
4 changes: 1 addition & 3 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ parameters:
- cache
- .phpstan-cache
- Tests
bootstrapFiles:
- vendor/bin/.phpunit/phpunit/vendor/autoload.php
level: max
polluteScopeWithLoopInitialAssignments: false
polluteScopeWithAlwaysIterableForeach: false
Expand All @@ -27,5 +25,5 @@ parameters:
treatPhpDocTypesAsCertain: false
reportUnmatchedIgnoredErrors: false
ignoreErrors:
# Symfony's TreeBuilder has problem - some method(s) in the chain have a wrong return typehint:
# Wrong return type hint in Symfony's TreeBuilder
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::\w+\(\).#'

0 comments on commit 7db60af

Please sign in to comment.