forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bc-exclude.php
37 lines (32 loc) · 2.33 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
<?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
],
'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',
// 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',
// Removed boot method from Bundle
'Shopware\\\\Core\\\\Framework\\\\Bundle#boot'
],
];