]> git.mxchange.org Git - friendica.git/commitdiff
Add license
authorPhilipp <admin@philipp.info>
Sun, 5 Jan 2025 21:39:09 +0000 (22:39 +0100)
committerPhilipp <admin@philipp.info>
Sun, 5 Jan 2025 22:13:43 +0000 (23:13 +0100)
src/Console/AbstractConsole.php
src/Core/Container.php
tests/Unit/AppTest.php

index 9311d6f4eab56f2de0275bb07f7456d646db35e7..9c4a53bdaf769e669e80d8d4a74c0013504026d6 100644 (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;
index 5370ef59d09b72768e3ccf2b79220977c57a931f..64a05150c0ace31785e12ecb514c9ac991a40471 100644 (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;
index 4493336d18c4a3113bab16f1fd0fa6913bd310ec..937e2a867a81d176da66671a12dfd7a3c042bc6c 100644 (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);
        }