forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bc-exclude.php
72 lines (60 loc) · 5.38 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php declare(strict_types=1);
return [
'filePatterns' => [
'**/Test/**', // Testing
'**/src/WebInstaller/**', // WebInstaller
'**/src/Core/Framework/Update/**', // Updater
'**/src/Core/TestBootstrapper.php', // Testing
'**/src/Core/Framework/Demodata/Faker/Commerce.php', // dev dependency
'**/src/Core/DevOps/StaticAnalyze/**', // dev dependency
'**/src/Core/Profiling/Doctrine/BacktraceDebugDataHolder.php', // dev dependency
'**/src/Core/Migration/Traits/MigrationUntouchedDbTestTrait.php', // Test code in prod
'**src/Core/Framework/Script/ServiceStubs.php', // never intended to be extended
'**/src/Core/DevOps/System/Command/SyncComposerVersionCommand.php', // symfony configure
'**/src/Core/Framework/Adapter/Asset/AssetInstallCommand.php', // symfony configure
'**/src/Core/Framework/App/Payment/Payload/Struct/RecurringPayPayload.php', // missed internal
'**/src/Core/Framework/App/Payment/Payload/Struct/SyncPayPayload.php', // missed internal
'**/src/Core/Checkout/Payment/Cart/PaymentHandler/CashPayment.php', // duplicate class declarations for compatibility reasons
'**/src/Core/Checkout/Payment/Cart/PaymentHandler/DebitPayment.php', // duplicate class declarations for compatibility reasons
'**/src/Core/Checkout/Payment/Cart/PaymentHandler/DefaultPayment.php', // duplicate class declarations for compatibility reasons
'**/src/Core/Checkout/Payment/Cart/PaymentHandler/InvoicePayment.php', // duplicate class declarations for compatibility reasons
'**/src/Core/Checkout/Payment/Cart/PaymentHandler/PrePayment.php', // duplicate class declarations for compatibility reasons
],
'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 {} }
'Unable to compile initializer in method', // Can not be inspected through reflection https://github.com/Roave/BackwardCompatibilityCheck/issues/698
'Could not locate constant .* while trying to evaluate constant expression', // Can not be inspected through reflection https://github.com/Roave/BackwardCompatibilityCheck/issues/698
'Value.+of.+constant', // Changing const values in not a BC per se
// Renaming of arguments
'Parameter 1 of Shopware\\\\Elasticsearch\\\\Framework\\\\Indexing\\\\IndexerOffset#__construct\(\) changed name from definitions to mappingDefinitions',
// Property type change from int to float
'Type of property Shopware\\\\Core\\\\Framework\\\\Rule\\\\Container\\\\DaysSinceRule#$daysPassed changed from int|null to float|null',
'The parameter $ranking of Shopware\\\\Elasticsearch\\\\Product\\\\SearchFieldConfig\#\_\_construct\(\) changed from int to int|float',
'The return type of Shopware\\\\Elasticsearch\\\\Product\\\\SearchFieldConfig\#getRanking\(\) changed from int to the non-covariant int|float',
'The return type of Shopware\\\\Elasticsearch\\\\Product\\\\SearchFieldConfig\#getRanking\(\) changed from int to int|float',
// added Predis support, can be removed after 6.5.6.0 release
'Shopware\\\\Core\\\\Framework\\\\Adapter\\\\Cache\\\\RedisConnectionFactory#create',
'Shopware\\\\Core\\\\Framework\\\\Increment\\\\RedisIncrementer#__construct',
'Shopware\\\\Core\\\\Framework\\\\App\\\\Payment\\\\Payload\\\\Struct\\\\SyncPayPayload#__construct()',
'Shopware\\\\Core\\\\Framework\\\\Api\\\\Sync\\\\FkReference#__construct\(\)',
// Removed boot method from Bundle
'Shopware\\\\Core\\\\Framework\\\\Bundle#boot',
// Internal flag added
'The number of required arguments for Shopware\\\\Core\\\\Framework\\\\Api\\\\ApiDefinition\\\\Generator\\\\StoreApiGenerator#generate\(\) increased from 3 to 4',
'Shopware\\\\Core\\\\Framework\\\\Api\\\\ApiDefinition\\\\Generator\\\\StoreApiGenerator was marked \"@internal\"',
'Shopware\\\\Core\\\\Framework\\\\App\\\\Manifest\\\\Xml\\\\Storefront',
'Shopware\\\\Core\\\\Framework\\\\App\\\\Manifest\\\\Xml\\\\MainModule',
// Abstract internal class is not understood
'Shopware\\\\Core\\\\Framework\\\\App\\\\Payment\\\\Response\\\\AbstractResponse',
// Removed property, which was unintentionally added
'Property Shopware\\\\Core\\\\Framework\\\\Rule\\\\Container\\\\OrRule#\\$count was removed',
'Shopware\\\\Core\\\\Content\\\\Product\\\\ProductEntity#setWishlists\(\) changed from Shopware\\\\Core\\\\Checkout\\\\Customer\\\\Aggregate\\\\CustomerWishlist\\\\CustomerWishlistCollection',
// Will be typed in Symfony 7
'Symfony\\\\Component\\\\HttpFoundation\\\\ParameterBag#add\(\) changed from no type to void',
'Symfony\\\\Component\\\\HttpFoundation\\\\ParameterBag#set\(\) changed from no type to void',
'Shopware\\\\Storefront\\\\Theme\\\\ThemeScripts was marked "@internal"',
'An enum expression .* is not supported in .*', // Can not be inspected through reflection https://github.com/Roave/BetterReflection/issues/1376
'League\\\\OAuth2\\\\Server\\\\Entities\\\\Traits\\\\AccessTokenTrait#initJwtConfiguration\(\) changed from no type to void'
],
];