diff -u b/core/modules/taxonomy/src/Tests/TermTest.php b/core/modules/taxonomy/src/Tests/TermTest.php --- b/core/modules/taxonomy/src/Tests/TermTest.php +++ b/core/modules/taxonomy/src/Tests/TermTest.php @@ -466,7 +466,7 @@ /** * Test taxonomy_term_load_multiple_by_name(). */ - function ptestTaxonomyGetTermByName() { + function testTaxonomyGetTermByName() { $term = $this->createTerm($this->vocabulary); // Load the term with the exact name. diff -u b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php --- b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php @@ -496,8 +496,17 @@ } +/** + * A page controller for use by tests in this file. + */ class TestController { + /** + * A page title callback. + * + * @return string + * The page title. + */ public function testTitle() { return 'Test title'; }