mirror of
https://github.com/friendica/friendica
synced 2025-01-09 21:24:44 +00:00
Make PHP-CS happy :-)
This commit is contained in:
parent
560bf345da
commit
22ce079222
7 changed files with 10 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
declare(strict_types = 1);
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Friendica\Console;
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
declare(strict_types = 1);
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Friendica\Test\Unit;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
declare(strict_types = 1);
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Core;
|
||||
|
||||
|
|
Loading…
Reference in a new issue