$dice = (new Dice())->addRules(require(dirname(__FILE__, 2) . '/static/dependencies.config.php'));
$container = \Friendica\Core\Container::fromDice($dice);
-$app = \Friendica\App::fromContainer($container);
+$app = \Friendica\App::fromContainer($container);
$app->processEjabberd();
$dice = (new Dice())->addRules(require(__DIR__ . '/static/dependencies.config.php'));
$container = \Friendica\Core\Container::fromDice($dice);
-$app = \Friendica\App::fromContainer($container);
+$app = \Friendica\App::fromContainer($container);
$app->processRequest($request, $start_time);
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-declare(strict_types = 1);
+declare(strict_types=1);
namespace Friendica\Console;
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));
}
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-declare(strict_types = 1);
+declare(strict_types=1);
namespace Friendica\Core;
*
* @return self
*/
- public static function fromDice(Dice $container): self {
+ public static function fromDice(Dice $container): self
+ {
return new static($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);
}
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-declare(strict_types = 1);
+declare(strict_types=1);
namespace Friendica\Test\Unit;
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-declare(strict_types = 1);
+declare(strict_types=1);
namespace Core;