From: Philipp Date: Sun, 16 Jul 2023 22:15:16 +0000 (+0200) Subject: Make PHP-CS happy X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=903ecc2a76525ee9cea754e25ea3525f60ca412b;p=friendica.git Make PHP-CS happy --- diff --git a/src/Core/Hooks/Model/DiceInstanceManager.php b/src/Core/Hooks/Model/DiceInstanceManager.php index 7c35dfe4df..77b9c4d495 100644 --- a/src/Core/Hooks/Model/DiceInstanceManager.php +++ b/src/Core/Hooks/Model/DiceInstanceManager.php @@ -35,7 +35,7 @@ use Friendica\Core\Hooks\Util\HookFileManager; */ class DiceInstanceManager implements ICanCreateInstances, ICanRegisterInstances { - protected $instance = []; + protected $instance = []; /** @var Dice */ protected $dice; diff --git a/tests/src/Core/Addon/Model/AddonLoaderTest.php b/tests/src/Core/Addon/Model/AddonLoaderTest.php index be125535f3..3e9a325b14 100644 --- a/tests/src/Core/Addon/Model/AddonLoaderTest.php +++ b/tests/src/Core/Addon/Model/AddonLoaderTest.php @@ -72,7 +72,7 @@ EOF; public function dataHooks(): array { return [ - 'normal' => [ + 'normal' => [ 'structure' => $this->structure, 'enabled' => $this->addons, 'files' => [ @@ -86,7 +86,7 @@ EOF; ], ], ], - 'double' => [ + 'double' => [ 'structure' => $this->structure, 'enabled' => $this->addons, 'files' => [ @@ -101,7 +101,7 @@ EOF; ], ], ], - 'wrongName' => [ + 'wrongName' => [ 'structure' => $this->structure, 'enabled' => $this->addons, 'files' => [ diff --git a/tests/src/Core/Hooks/Util/HookFileManagerTest.php b/tests/src/Core/Hooks/Util/HookFileManagerTest.php index 1cc4b5c900..216a9832f1 100644 --- a/tests/src/Core/Hooks/Util/HookFileManagerTest.php +++ b/tests/src/Core/Hooks/Util/HookFileManagerTest.php @@ -62,7 +62,7 @@ return [ ], ]; EOF, - 'addonsArray' => [], + 'addonsArray' => [], 'assertStrategies' => [ [LoggerInterface::class, NullLogger::class, ''], ], @@ -85,7 +85,7 @@ return [ ], ]; EOF, - 'addonsArray' => [], + 'addonsArray' => [], 'assertStrategies' => [ [LoggerInterface::class, NullLogger::class, ''], ],