Loading core/.phpstan-baseline.php +0 −6 Original line number Diff line number Diff line Loading @@ -32651,12 +32651,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/theme_test/src/ThemeTestController.php', ]; $ignoreErrors[] = [ 'message' => '#^Method Drupal\\\\theme_test\\\\ThemeTestController\\:\\:testThemeClass\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/theme_test/src/ThemeTestController.php', ]; $ignoreErrors[] = [ 'message' => '#^Method Drupal\\\\theme_test\\\\ThemeTestPreprocess\\:\\:preprocess\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php +0 −6 Original line number Diff line number Diff line Loading @@ -85,12 +85,6 @@ public function theme($existing, $type, $theme, $path) : array { 'base hook' => 'container', ]; $items['theme_test_theme_class'] = [ 'variables' => [ 'message' => '', ], ]; $items['theme_test_deprecations_preprocess'] = [ 'variables' => [ 'foo' => '', Loading core/modules/system/tests/modules/theme_test/src/ThemeTestController.php +0 −10 Original line number Diff line number Diff line Loading @@ -143,14 +143,4 @@ public function preprocessCallback() { ]; } /** * Controller for testing a namespaced class in a theme. */ public function testThemeClass() { return [ '#theme' => 'theme_test_theme_class', '#title' => 'Testing loading a class from a .theme file', ]; } } core/modules/system/tests/modules/theme_test/templates/theme-test-theme-class.html.twigdeleted 100644 → 0 +0 −1 Original line number Diff line number Diff line <p>{{ message }}</p> core/modules/system/tests/modules/theme_test/theme_test.routing.yml +0 −7 Original line number Diff line number Diff line Loading @@ -87,10 +87,3 @@ theme_test.preprocess_callback: _controller: '\Drupal\theme_test\ThemeTestController::preprocessCallback' requirements: _access: 'TRUE' theme_test.test_theme_class: path: '/theme-test/test-theme-class' defaults: _controller: '\Drupal\theme_test\ThemeTestController::testThemeClass' requirements: _access: 'TRUE' Loading
core/.phpstan-baseline.php +0 −6 Original line number Diff line number Diff line Loading @@ -32651,12 +32651,6 @@ 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/theme_test/src/ThemeTestController.php', ]; $ignoreErrors[] = [ 'message' => '#^Method Drupal\\\\theme_test\\\\ThemeTestController\\:\\:testThemeClass\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return', 'count' => 1, 'path' => __DIR__ . '/modules/system/tests/modules/theme_test/src/ThemeTestController.php', ]; $ignoreErrors[] = [ 'message' => '#^Method Drupal\\\\theme_test\\\\ThemeTestPreprocess\\:\\:preprocess\\(\\) has no return type specified\\.$#', 'identifier' => 'missingType.return',
core/modules/system/tests/modules/theme_test/src/Hook/ThemeTestHooks.php +0 −6 Original line number Diff line number Diff line Loading @@ -85,12 +85,6 @@ public function theme($existing, $type, $theme, $path) : array { 'base hook' => 'container', ]; $items['theme_test_theme_class'] = [ 'variables' => [ 'message' => '', ], ]; $items['theme_test_deprecations_preprocess'] = [ 'variables' => [ 'foo' => '', Loading
core/modules/system/tests/modules/theme_test/src/ThemeTestController.php +0 −10 Original line number Diff line number Diff line Loading @@ -143,14 +143,4 @@ public function preprocessCallback() { ]; } /** * Controller for testing a namespaced class in a theme. */ public function testThemeClass() { return [ '#theme' => 'theme_test_theme_class', '#title' => 'Testing loading a class from a .theme file', ]; } }
core/modules/system/tests/modules/theme_test/templates/theme-test-theme-class.html.twigdeleted 100644 → 0 +0 −1 Original line number Diff line number Diff line <p>{{ message }}</p>
core/modules/system/tests/modules/theme_test/theme_test.routing.yml +0 −7 Original line number Diff line number Diff line Loading @@ -87,10 +87,3 @@ theme_test.preprocess_callback: _controller: '\Drupal\theme_test\ThemeTestController::preprocessCallback' requirements: _access: 'TRUE' theme_test.test_theme_class: path: '/theme-test/test-theme-class' defaults: _controller: '\Drupal\theme_test\ThemeTestController::testThemeClass' requirements: _access: 'TRUE'