forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bc-exclude.php
More file actions
39 lines (32 loc) · 2.17 KB
/
.bc-exclude.php
File metadata and controls
39 lines (32 loc) · 2.17 KB
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
<?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
],
'errors' => [
// Will be typed in Symfony 8 (maybe)
'Symfony\\\\Component\\\\Console\\\\Command\\\\Command#configure\(\) changed from no type to void',
'An enum expression .* is not supported in .*', // Can not be inspected through reflection https://github.com/Roave/BetterReflection/issues/1376
// major
'Value of constant Shopware\\\\Core\\\\Kernel::SHOPWARE_FALLBACK_VERSION changed from \'6.6.9999999-dev\' to \'6.7.9999999-dev\'',
// Can be removed before RC release
'Shopware\\\\Core\\\\Framework\\\\Log\\\\LogEntryEntity.* array|null',
// Incorrectly deprecated
'The return type of Shopware\\\\Core\\\\Checkout\\\\Document\\\\DocumentException.* changed from self',
// Expected to be appended when new event is added
'Value of constant Shopware\\\\Core\\\\Framework\\\\Webhook\\\\Hookable',
// Adding optional parameters to a constructor is not a BC
'ADDED: Parameter prefixMatch was added to Method __construct\(\) of class Shopware\\\\Elasticsearch\\\\Product\\\\SearchFieldConfig',
'ADDED: Parameter label was added to Method __construct\(\) of class Shopware\\\\Core\\\\Checkout\\\\Cart\\\\Tax\\\\Struct\\\\CalculatedTax',
// Fix to make promotions work with order recalculation
'Value of constant Shopware\\\\Core\\\\Checkout\\\\Cart\\\\Order\\\\OrderConverter::ADMIN_EDIT_ORDER_PERMISSIONS changed from array \((\n.*)*skipPromotion.*(\n.*)*to array \((\n.*)*pinAutomaticPromotions',
],
];