Add license

This commit is contained in:
Philipp 2025-01-05 22:39:09 +01:00
parent c726675189
commit 2238ea8d52
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 13 additions and 3 deletions

View file

@ -1,5 +1,10 @@
<?php
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\Console;
use Asika\SimpleConsole\Console;

View file

@ -1,5 +1,10 @@
<?php
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
namespace Friendica\Core;
use Dice\Dice;

View file

@ -17,10 +17,10 @@ class AppTest extends TestCase
{
public function testFromDiceReturnsApp(): void
{
$dice = $this->createMock(Container::class);
$dice->expects($this->never())->method('create');
$container = $this->createMock(Container::class);
$container->expects($this->never())->method('create');
$app = App::fromContainer($dice);
$app = App::fromContainer($container);
$this->assertInstanceOf(App::class, $app);
}