We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5199dd6 commit 513568aCopy full SHA for 513568a
scoper.inc.php
@@ -68,6 +68,17 @@
68
),
69
);
70
71
+$symfonyDeprecationContracts = array_map(
72
+ static fn (SplFileInfo $fileInfo) => $fileInfo->getPathname(),
73
+ iterator_to_array(
74
+ Finder::create()
75
+ ->files()
76
+ ->in(__DIR__ . '/vendor/symfony/deprecation-contracts')
77
+ ->name('*.php'),
78
+ false,
79
+ ),
80
+);
81
+
82
return [
83
'whitelist' => [
84
Finder::class,
@@ -79,10 +90,14 @@
90
// Symfony global constants
91
'/^SYMFONY\_[\p{L}_]+$/',
92
],
93
+ 'exclude-functions' => [
94
+ 'trigger_deprecation',
95
+ ],
96
'exclude-files' => [
97
...$jetBrainStubs,
98
...$polyfillsBootstraps,
85
99
...$polyfillsStubs,
100
+ ...$symfonyDeprecationContracts,
86
101
87
102
'patchers' => [
88
103
//
0 commit comments