mirror of
https://github.com/friendica/friendica
synced 2025-01-25 05:39:47 +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
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
declare(strict_types = 1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Friendica\Console;
|
namespace Friendica\Console;
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ HELP;
|
||||||
|
|
||||||
protected function doExecute()
|
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));
|
$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
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
declare(strict_types = 1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Friendica\Core;
|
namespace Friendica\Core;
|
||||||
|
|
||||||
|
@ -35,7 +35,8 @@ class Container
|
||||||
*
|
*
|
||||||
* @return self
|
* @return self
|
||||||
*/
|
*/
|
||||||
public static function fromDice(Dice $container): self {
|
public static function fromDice(Dice $container): self
|
||||||
|
{
|
||||||
return new static($container);
|
return new static($container);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -80,7 +81,7 @@ class Container
|
||||||
*
|
*
|
||||||
* @see Dice::addRule()
|
* @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);
|
$this->container = $this->container->addRule($name, $rule);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
declare(strict_types = 1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Friendica\Test\Unit;
|
namespace Friendica\Test\Unit;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
declare(strict_types = 1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Core;
|
namespace Core;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue