diff --git a/core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php b/core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php index 675dfc84682..c8a727343e5 100644 --- a/core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php +++ b/core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php @@ -26,7 +26,7 @@ class RegexDirectoryIterator extends \FilterIterator { * The path to scan. * @param string $regex * The regular expression to match, including delimiters. For example, - /\.yml$/ would list only files ending in .yml. + * /\.yml$/ would list only files ending in .yml. */ public function __construct($path, $regex) { // Use FilesystemIterator to not iterate over the the . and .. directories. diff --git a/core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php b/core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php index d80e74ef8e6..05bcf8e984c 100644 Binary files a/core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php and b/core/modules/system/tests/fixtures/update/drupal-8.language-enabled.php differ diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index cadf5447c84..e0936d0a034 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -10,67 +10,34 @@ ./modules/system/tests/fixtures/HtaccessTest - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php index b08f9f06f2b..30bd12cf1ce 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php @@ -159,7 +159,7 @@ class EntityFormTest extends UnitTestCase { public function testGetEntityFromRouteMatchAdd() { $entity = $this->prophesize(EntityInterface::class)->reveal(); $this->setUpStorage()->create([])->willReturn($entity); - $route_match = new RouteMatch('test_route', new Route('/entity-test/add')); + $route_match = new RouteMatch('test_route', new Route('/entity-test/add')); $actual = $this->entityForm->getEntityFromRouteMatch($route_match, $this->entityType->id()); $this->assertEquals($entity, $actual); } @@ -178,7 +178,7 @@ class EntityFormTest extends UnitTestCase { // Test without a bundle parameter in the route. $storage->create([])->willReturn($entity); - $route_match = new RouteMatch('test_route', new Route('/entity-test/add')); + $route_match = new RouteMatch('test_route', new Route('/entity-test/add')); $actual = $this->entityForm->getEntityFromRouteMatch($route_match, $this->entityType->id()); $this->assertEquals($entity, $actual); @@ -208,7 +208,7 @@ class EntityFormTest extends UnitTestCase { // Test without a bundle parameter in the route. $storage->create([])->willReturn($entity); - $route_match = new RouteMatch('test_route', new Route('/entity-test/add')); + $route_match = new RouteMatch('test_route', new Route('/entity-test/add')); $actual = $this->entityForm->getEntityFromRouteMatch($route_match, $this->entityType->id()); $this->assertEquals($entity, $actual);