Skip to content

Commit a8cef4c

Browse files
committed
PHPStan
1 parent 26a7d2c commit a8cef4c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

phpstan.neon.dist

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ parameters:
1212
- src/Resources
1313

1414
symfony:
15-
constant_hassers: false
15+
constantHassers: false
1616
containerXmlPath: '../../..%ShopwareHashedCacheDir%/%ShopwareKernelClass%DevDebugContainer.xml'
1717
consoleApplicationLoader: %ShopwareRoot%/src/Core/DevOps/StaticAnalyze/console-application.php
1818

1919
type_perfect:
2020
narrow_return: true
2121
narrow_param: true
22+
23+
ignoreErrors:
24+
- message: '#.* has unknown class Swag\\PlatformDemoData\\Resources\\helper\\TranslationHelper as its type.#'
25+
paths:
26+
- src
27+
- tests

src/Resources/helper/ProductReviewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,4 @@ public function createReviews(string $salesChannelId, string $languageId): array
171171
],
172172
];
173173
}
174-
}
174+
}

0 commit comments

Comments
 (0)