File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ 5.0.0
5
+ -----
6
+
7
+ * removed ` weak_vendor ` mode, use ` max[self]=0 ` instead
8
+
4
9
4.3.0
5
10
-----
6
11
Original file line number Diff line number Diff line change 21
21
*/
22
22
class DeprecationErrorHandler
23
23
{
24
- /**
25
- * @deprecated since Symfony 4.3, use max[self]=0 instead
26
- */
27
- const MODE_WEAK_VENDORS = 'weak_vendors ' ;
28
-
29
24
const MODE_DISABLED = 'disabled ' ;
30
25
const MODE_WEAK = 'max[total]=999999&verbose=0 ' ;
31
26
const MODE_STRICT = 'max[total]=0 ' ;
@@ -227,13 +222,6 @@ private function getConfiguration()
227
222
if ('weak ' === $ mode ) {
228
223
return $ this ->configuration = Configuration::inWeakMode ();
229
224
}
230
- if (self ::MODE_WEAK_VENDORS === $ mode ) {
231
- ++$ this ->deprecations ['remaining directCount ' ];
232
- $ msg = sprintf ('Setting SYMFONY_DEPRECATIONS_HELPER to "%s" is deprecated in favor of "max[self]=0" ' , $ mode );
233
- $ ref = &$ this ->deprecations ['remaining direct ' ][$ msg ]['count ' ];
234
- ++$ ref ;
235
- $ mode = 'max[self]=0 ' ;
236
- }
237
225
if (isset ($ mode [0 ]) && '/ ' === $ mode [0 ]) {
238
226
return $ this ->configuration = Configuration::fromRegex ($ mode );
239
227
}
You can’t perform that action at this time.
0 commit comments