From da30be9165510c74077c231a23b1427c22e8fe4f Mon Sep 17 00:00:00 2001 From: Ted Bowman <ted+git@tedbow.com> Date: Fri, 5 Jan 2024 09:58:33 -0500 Subject: [PATCH] phpcbf --- .../tests/src/FunctionalJavascript/UpdateErrorTest.php | 2 ++ .../tests/src/FunctionalJavascript/UpdateSettingsFormTest.php | 2 ++ .../tests/src/Traits/EmailNotificationsTestTrait.php | 2 +- core/modules/auto_updates/tests/src/Traits/TestSetUpTrait.php | 2 ++ .../auto_updates/tests/src/Traits/ValidationTestTrait.php | 2 +- .../auto_updates/tests/src/Traits/VersionPolicyTestTrait.php | 2 +- core/modules/package_manager/package_manager.install | 1 - .../package_manager/tests/src/Build/TemplateProjectTestBase.php | 1 - .../tests/src/Traits/AssertPreconditionsTrait.php | 2 +- .../tests/src/Traits/ComposerInstallersTrait.php | 2 +- .../tests/src/Traits/ComposerStagerTestTrait.php | 2 +- .../tests/src/Traits/FixtureManipulatorTrait.php | 2 ++ .../package_manager/tests/src/Traits/FixtureUtilityTrait.php | 2 +- .../tests/src/Traits/InstalledPackagesListTrait.php | 2 +- .../tests/src/Traits/PackageManagerBypassTestTrait.php | 2 +- .../package_manager/tests/src/Traits/ValidationTestTrait.php | 2 +- 16 files changed, 18 insertions(+), 12 deletions(-) diff --git a/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateErrorTest.php b/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateErrorTest.php index 2b4b3aa16e74..1df9be18a0c8 100644 --- a/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateErrorTest.php +++ b/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateErrorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\auto_updates\FunctionalJavascript; use Drupal\FunctionalJavascriptTests\WebDriverTestBase; diff --git a/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateSettingsFormTest.php b/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateSettingsFormTest.php index 3f0896400a6f..6efd5aca4ceb 100644 --- a/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateSettingsFormTest.php +++ b/core/modules/auto_updates/tests/src/FunctionalJavascript/UpdateSettingsFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\auto_updates\FunctionalJavascript; use Drupal\auto_updates\CronUpdateRunner; diff --git a/core/modules/auto_updates/tests/src/Traits/EmailNotificationsTestTrait.php b/core/modules/auto_updates/tests/src/Traits/EmailNotificationsTestTrait.php index cf6ebe5719bf..6486e4d62b01 100644 --- a/core/modules/auto_updates/tests/src/Traits/EmailNotificationsTestTrait.php +++ b/core/modules/auto_updates/tests/src/Traits/EmailNotificationsTestTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\auto_updates\Traits; diff --git a/core/modules/auto_updates/tests/src/Traits/TestSetUpTrait.php b/core/modules/auto_updates/tests/src/Traits/TestSetUpTrait.php index bac575e1b854..e19e45df092b 100644 --- a/core/modules/auto_updates/tests/src/Traits/TestSetUpTrait.php +++ b/core/modules/auto_updates/tests/src/Traits/TestSetUpTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\auto_updates\Traits; use Drupal\package_manager\PathLocator; diff --git a/core/modules/auto_updates/tests/src/Traits/ValidationTestTrait.php b/core/modules/auto_updates/tests/src/Traits/ValidationTestTrait.php index 1f2ecb0f05d7..f00b2318f045 100644 --- a/core/modules/auto_updates/tests/src/Traits/ValidationTestTrait.php +++ b/core/modules/auto_updates/tests/src/Traits/ValidationTestTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\auto_updates\Traits; diff --git a/core/modules/auto_updates/tests/src/Traits/VersionPolicyTestTrait.php b/core/modules/auto_updates/tests/src/Traits/VersionPolicyTestTrait.php index 624e05a58fb3..a85fa18775d6 100644 --- a/core/modules/auto_updates/tests/src/Traits/VersionPolicyTestTrait.php +++ b/core/modules/auto_updates/tests/src/Traits/VersionPolicyTestTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\auto_updates\Traits; diff --git a/core/modules/package_manager/package_manager.install b/core/modules/package_manager/package_manager.install index ecacea5272de..e7130aa8571b 100644 --- a/core/modules/package_manager/package_manager.install +++ b/core/modules/package_manager/package_manager.install @@ -10,7 +10,6 @@ use Drupal\package_manager\ComposerInspector; use Drupal\package_manager\Exception\StageFailureMarkerException; use Drupal\package_manager\FailureMarker; -use PhpTuf\ComposerStager\API\Core\BeginnerInterface; use PhpTuf\ComposerStager\API\Exception\ExceptionInterface; use PhpTuf\ComposerStager\API\Finder\Service\ExecutableFinderInterface; diff --git a/core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php b/core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php index f7127da07694..0a0aafb97283 100644 --- a/core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php +++ b/core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php @@ -5,7 +5,6 @@ namespace Drupal\Tests\package_manager\Build; use Drupal\BuildTests\QuickStart\QuickStartTestBase; -use Drupal\Component\Serialization\Yaml; use Drupal\Composer\Composer; use Drupal\package_manager\Event\CollectPathsToExcludeEvent; use Drupal\package_manager_test_event_logger\EventSubscriber\EventLogSubscriber; diff --git a/core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php b/core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php index b2aa5e6c9f11..70474890e027 100644 --- a/core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php +++ b/core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\package_manager\Traits; diff --git a/core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php b/core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php index 3531b7d40f54..6ec025354c11 100644 --- a/core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php +++ b/core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\package_manager\Traits; diff --git a/core/modules/package_manager/tests/src/Traits/ComposerStagerTestTrait.php b/core/modules/package_manager/tests/src/Traits/ComposerStagerTestTrait.php index cc9b6442d086..9f76afd90581 100644 --- a/core/modules/package_manager/tests/src/Traits/ComposerStagerTestTrait.php +++ b/core/modules/package_manager/tests/src/Traits/ComposerStagerTestTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\package_manager\Traits; diff --git a/core/modules/package_manager/tests/src/Traits/FixtureManipulatorTrait.php b/core/modules/package_manager/tests/src/Traits/FixtureManipulatorTrait.php index c65e670c5ac0..4d6939aa875f 100644 --- a/core/modules/package_manager/tests/src/Traits/FixtureManipulatorTrait.php +++ b/core/modules/package_manager/tests/src/Traits/FixtureManipulatorTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\package_manager\Traits; use Drupal\fixture_manipulator\StageFixtureManipulator; diff --git a/core/modules/package_manager/tests/src/Traits/FixtureUtilityTrait.php b/core/modules/package_manager/tests/src/Traits/FixtureUtilityTrait.php index 2764935bb4e7..9554ba30436f 100644 --- a/core/modules/package_manager/tests/src/Traits/FixtureUtilityTrait.php +++ b/core/modules/package_manager/tests/src/Traits/FixtureUtilityTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\package_manager\Traits; diff --git a/core/modules/package_manager/tests/src/Traits/InstalledPackagesListTrait.php b/core/modules/package_manager/tests/src/Traits/InstalledPackagesListTrait.php index e1abf4513443..223fe7198082 100644 --- a/core/modules/package_manager/tests/src/Traits/InstalledPackagesListTrait.php +++ b/core/modules/package_manager/tests/src/Traits/InstalledPackagesListTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\package_manager\Traits; diff --git a/core/modules/package_manager/tests/src/Traits/PackageManagerBypassTestTrait.php b/core/modules/package_manager/tests/src/Traits/PackageManagerBypassTestTrait.php index 21a02fa4ef84..797a84f8a4d3 100644 --- a/core/modules/package_manager/tests/src/Traits/PackageManagerBypassTestTrait.php +++ b/core/modules/package_manager/tests/src/Traits/PackageManagerBypassTestTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\package_manager\Traits; diff --git a/core/modules/package_manager/tests/src/Traits/ValidationTestTrait.php b/core/modules/package_manager/tests/src/Traits/ValidationTestTrait.php index 9d9193f8ef3d..75f41f1a1568 100644 --- a/core/modules/package_manager/tests/src/Traits/ValidationTestTrait.php +++ b/core/modules/package_manager/tests/src/Traits/ValidationTestTrait.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\package_manager\Traits; -- GitLab