This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bc-exclude.php
48 lines (43 loc) · 3.43 KB
/
.bc-exclude.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php declare(strict_types=1);
return [
'filePatterns' => [
'**/src/Docs/**', // Deprecated
'**/Test/**', // Testing
'**/src/Core/TestBootstrapper.php', // Testing
'**/src/Core/Framework/Demodata/Faker/Commerce.php', // dev dependency
'**/src/Core/DevOps/StaticAnalyze/**', // dev dependency
'**/src/Core/Migration/Traits/MigrationUntouchedDbTestTrait.php', // Test code in prod
'**/src/Elasticsearch/Framework/Command/ElasticsearchTestAnalyzerCommand.php', // Why?
'**/src/Core/Checkout/Payment/Cart/PaymentHandler/PreparedPaymentHandlerInterface.php', // internal has been removed
'**/src/Core/Checkout/Payment/Exception/ValidatePreparedPaymentException.php', // internal has been removed
'**src/Core/Framework/Script/ServiceStubs.php', // never intended to be extended
],
'errors' => [
'Shopware\\\\Core\\\\System\\\\SystemConfig\\\\Util\\\\ConfigReader#\\$xsdFile', // Can not be inspected through reflection (__DIR__ constant)
'Shopware\\\\Core\\\\Framework\\\\Migration\\\\Exception\\\\UnknownMigrationSourceExceptionBase', // Can not be inspected through reflection if() {class Foo {} }
'Type.+documentation.+for.+property', // Doc type to native type conversions seems to not correctly be detected by the BC checker
'Shopware\\\\Core\\\\Framework\\\\DataAbstractionLayer\\\\Doctrine\\\\RetryableTransaction::retryable()', // This is a static method so extending this class is not necessary
'The annotation "LoginRequired" parameter "allowGuest" has been changed on.+from "" to "true"',
'The.+#__construct().+', // Todo make service constructors @internal
'Default.+#__construct().+', // Todo make service constructors @internal
'The return type of Shopware\\\\Core\\\\Framework\\\\Changelog\\\\Command\\\\Changelog(Check|Change|Create)Command#execute\(\) changed from no type to int',
'Symfony\\\\Component\\\\HttpFoundation\\\\Response::\\$statusTexts',
'Symfony\\\\Component\\\\HttpKernel\\\\Kernel#\\$bundles',
// OpenAPI library update
'The return type of Shopware\\\\Core\\\\Framework\\\\Api\\\\ApiDefinition\\\\Generator\\\\OpenApi\\\\DeactivateValidationAnalysis#validate',
'OpenApi\\\\Analysis',
// Conditional feature flag class loading
'The parameter \\$product of Shopware\\\\Core\\\\Content\\\\Product\\\\ProductVariationBuilder#build()',
'The parameter \\$product of Shopware\\\\Core\\\\Content\\\\Product\\\\AbstractProductMaxPurchaseCalculator#calculate()',
'The parameter \\$product of Shopware\\\\Core\\\\Content\\\\Product\\\\AbstractIsNewDetector#isNew()',
'The parameter \\$product of Shopware\\\\Core\\\\Content\\\\Product\\\\AbstractProductVariationBuilder#build()',
'The parameter \\$product of Shopware\\\\Core\\\\Content\\\\Product\\\\ProductMaxPurchaseCalculator#calculate()',
'The parameter \\$product of Shopware\\\\Core\\\\Content\\\\Product\\\\IsNewDetector#isNew()',
'The return type of Shopware\\\\Core\\\\Framework\\\\Routing\\\\RouteEventSubscriber',
'These ancestors of Shopware\\\\Core\\\\Framework\\\\Script\\\\Api\\\\StoreApiCacheKeyHook have been removed',
'The annotation "RouteScope" has been removed',
'The annotation "LoginRequired" has been removed',
'The annotation "ContextTokenRequired" has been removed',
'The annotation "Acl" has been removed',
],
];