diff -u b/core/modules/system/tests/modules/new_dependency_test/src/DecoratedDependentService.php b/core/modules/system/tests/modules/new_dependency_test/src/DecoratedDependentService.php --- b/core/modules/system/tests/modules/new_dependency_test/src/DecoratedDependentService.php +++ b/core/modules/system/tests/modules/new_dependency_test/src/DecoratedDependentService.php @@ -22,7 +22,7 @@ * @param \Drupal\new_dependency_test\DependentService|null $service * The service of the same module which has the new dependency. */ - public function __construct(DependentService $service = null) { + public function __construct(DependentService $service = NULL) { $this->service = $service; } diff -u b/core/modules/system/tests/src/Functional/Update/UpdatePathNewDependencyTest.php b/core/modules/system/tests/src/Functional/Update/UpdatePathNewDependencyTest.php --- b/core/modules/system/tests/src/Functional/Update/UpdatePathNewDependencyTest.php +++ b/core/modules/system/tests/src/Functional/Update/UpdatePathNewDependencyTest.php @@ -1,6 +1,8 @@