@@ -37,7 +37,7 @@ class Exceptions
3737 *
3838 * @var int
3939 *
40- * @deprecated No longer used. Moved to BaseExceptionHandler.
40+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
4141 */
4242 public $ ob_level ;
4343
@@ -47,7 +47,7 @@ class Exceptions
4747 *
4848 * @var string
4949 *
50- * @deprecated No longer used. Moved to BaseExceptionHandler.
50+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
5151 */
5252 protected $ viewPath ;
5353
@@ -74,12 +74,7 @@ class Exceptions
7474
7575 private ?Throwable $ exceptionCaughtByExceptionHandler = null ;
7676
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 )
8378 {
8479 // For backward compatibility
8580 $ this ->ob_level = ob_get_level ();
@@ -240,7 +235,7 @@ public function shutdownHandler()
240235 *
241236 * @return string The path and filename of the view file to use
242237 *
243- * @deprecated No longer used. Moved to ExceptionHandler.
238+ * @deprecated 4.4.0 No longer used. Moved to ExceptionHandler.
244239 */
245240 protected function determineView (Throwable $ exception , string $ templatePath ): string
246241 {
@@ -268,7 +263,7 @@ protected function determineView(Throwable $exception, string $templatePath): st
268263 /**
269264 * Given an exception and status code will display the error to the client.
270265 *
271- * @deprecated No longer used. Moved to BaseExceptionHandler.
266+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
272267 */
273268 protected function render (Throwable $ exception , int $ statusCode )
274269 {
@@ -310,7 +305,7 @@ protected function render(Throwable $exception, int $statusCode)
310305 /**
311306 * Gathers the variables that will be made available to the view.
312307 *
313- * @deprecated No longer used. Moved to BaseExceptionHandler.
308+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
314309 */
315310 protected function collectVars (Throwable $ exception , int $ statusCode ): array
316311 {
@@ -471,7 +466,7 @@ public static function cleanPath(string $file): string
471466 * Describes memory usage in real-world units. Intended for use
472467 * with memory_get_usage, etc.
473468 *
474- * @deprecated No longer used. Moved to BaseExceptionHandler.
469+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
475470 */
476471 public static function describeMemory (int $ bytes ): string
477472 {
@@ -491,7 +486,7 @@ public static function describeMemory(int $bytes): string
491486 *
492487 * @return bool|string
493488 *
494- * @deprecated No longer used. Moved to BaseExceptionHandler.
489+ * @deprecated 4.4.0 No longer used. Moved to BaseExceptionHandler.
495490 */
496491 public static function highlightFile (string $ file , int $ lineNumber , int $ lines = 15 )
497492 {
0 commit comments