Make PHP-CS happy :-)

This commit is contained in:
Philipp 2025-01-05 22:49:56 +01:00
parent 560bf345da
commit 22ce079222
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
7 changed files with 10 additions and 9 deletions

View file

@ -5,7 +5,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
declare(strict_types = 1);
declare(strict_types=1);
namespace Friendica\Console;

View file

@ -93,7 +93,7 @@ HELP;
protected function doExecute()
{
if (substr($this->executable,-strlen('bin/console.php')) !== 'bin/console.php') {
if (substr($this->executable, -strlen('bin/console.php')) !== 'bin/console.php') {
$this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php daemon' instead", $this->executable));
}

View file

@ -5,7 +5,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
declare(strict_types = 1);
declare(strict_types=1);
namespace Friendica\Core;
@ -35,7 +35,8 @@ class Container
*
* @return self
*/
public static function fromDice(Dice $container): self {
public static function fromDice(Dice $container): self
{
return new static($container);
}
@ -80,7 +81,7 @@ class Container
*
* @see Dice::addRule()
*/
public function addRule(string $name, array $rule):void
public function addRule(string $name, array $rule): void
{
$this->container = $this->container->addRule($name, $rule);
}

View file

@ -5,7 +5,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
declare(strict_types = 1);
declare(strict_types=1);
namespace Friendica\Test\Unit;

View file

@ -5,7 +5,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
declare(strict_types = 1);
declare(strict_types=1);
namespace Core;