Issue #3241296 by andypost, alexpott: core/tests/Drupal/KernelTests/Core/Path/PathValidatorTest.php triggers deprecations on PHP 8.1

merge-requests/865/merge
catch 2021-10-08 13:36:53 +01:00
parent deb93f5ff2
commit 397d199799
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,9 @@ class PathValidatorTest extends KernelTestBase {
'PUT',
'PATCH',
'DELETE',
// Used in CLI context.
NULL,
// NULL is used in CLI context which results in a request method of an
// empty string.
'',
// If no request was even pushed onto the request stack, and hence.
FALSE,
];