Skip to content

Commit 6bcdc30

Browse files
committed
Ignore PHPStan errors
1 parent 632e067 commit 6bcdc30

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

phpstan.neon

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,15 @@ parameters:
4949
-
5050
identifier: trait.unused
5151
path: src/Fixture
52+
-
53+
identifier: method.nonObject
54+
path: src/Configuration
55+
-
56+
identifier: class.notFound
57+
path: src/Configuration
58+
-
59+
identifier: method.nonObject
60+
path: src/Fixture
61+
-
62+
identifier: class.notFound
63+
path: src/Fixture

src/DependencyInjection/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public function getConfigTreeBuilder(): TreeBuilder
2929

3030
private function addResourcesSection(ArrayNodeDefinition $node): void
3131
{
32-
/** @phpstan-ignore class.notFound,method.nonObject */
3332
$node
3433
->children()
3534
->arrayNode('resources')

src/Fixture/BrandFixture.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public function getName(): string
1616

1717
protected function configureResourceNode(ArrayNodeDefinition $resourceNode): void
1818
{
19-
/** @phpstan-ignore class.notFound,method.nonObject */
2019
$resourceNode->children()
2120
->scalarNode('name')->cannotBeEmpty()->end()
2221
->scalarNode('code')->cannotBeEmpty()->end()

0 commit comments

Comments
 (0)