@@ -37,7 +37,7 @@ class Exceptions
37
37
*
38
38
* @var int
39
39
*
40
- * @deprecated No longer used. Moved to BaseExceptionHandler.
40
+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
41
41
*/
42
42
public $ ob_level ;
43
43
@@ -47,7 +47,7 @@ class Exceptions
47
47
*
48
48
* @var string
49
49
*
50
- * @deprecated No longer used. Moved to BaseExceptionHandler.
50
+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
51
51
*/
52
52
protected $ viewPath ;
53
53
@@ -74,12 +74,7 @@ class Exceptions
74
74
75
75
private ?Throwable $ exceptionCaughtByExceptionHandler = null ;
76
76
77
- /**
78
- * @param RequestInterface|null $request
79
- *
80
- * @deprecated The parameter $request and $response are deprecated. No longer used.
81
- */
82
- public function __construct (ExceptionsConfig $ config , $ request , ResponseInterface $ response ) /** @phpstan-ignore-line */
77
+ public function __construct (ExceptionsConfig $ config )
83
78
{
84
79
// For backward compatibility
85
80
$ this ->ob_level = ob_get_level ();
@@ -240,7 +235,7 @@ public function shutdownHandler()
240
235
*
241
236
* @return string The path and filename of the view file to use
242
237
*
243
- * @deprecated No longer used. Moved to ExceptionHandler.
238
+ * @deprecated 4.4.0 No longer used. Moved to ExceptionHandler.
244
239
*/
245
240
protected function determineView (Throwable $ exception , string $ templatePath ): string
246
241
{
@@ -268,7 +263,7 @@ protected function determineView(Throwable $exception, string $templatePath): st
268
263
/**
269
264
* Given an exception and status code will display the error to the client.
270
265
*
271
- * @deprecated No longer used. Moved to BaseExceptionHandler.
266
+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
272
267
*/
273
268
protected function render (Throwable $ exception , int $ statusCode )
274
269
{
@@ -310,7 +305,7 @@ protected function render(Throwable $exception, int $statusCode)
310
305
/**
311
306
* Gathers the variables that will be made available to the view.
312
307
*
313
- * @deprecated No longer used. Moved to BaseExceptionHandler.
308
+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
314
309
*/
315
310
protected function collectVars (Throwable $ exception , int $ statusCode ): array
316
311
{
@@ -471,7 +466,7 @@ public static function cleanPath(string $file): string
471
466
* Describes memory usage in real-world units. Intended for use
472
467
* with memory_get_usage, etc.
473
468
*
474
- * @deprecated No longer used. Moved to BaseExceptionHandler.
469
+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
475
470
*/
476
471
public static function describeMemory (int $ bytes ): string
477
472
{
@@ -491,7 +486,7 @@ public static function describeMemory(int $bytes): string
491
486
*
492
487
* @return bool|string
493
488
*
494
- * @deprecated No longer used. Moved to BaseExceptionHandler.
489
+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
495
490
*/
496
491
public static function highlightFile (string $ file , int $ lineNumber , int $ lines = 15 )
497
492
{
0 commit comments