Skip to content

Commit 6815b6f

Browse files
authored
Merge pull request #177 from php-school/psr-11
Use PSR-11
2 parents d27b4b3 + 141a243 commit 6815b6f

File tree

7 files changed

+8
-44
lines changed

7 files changed

+8
-44
lines changed

.phpstorm.meta.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
\DI\Container::get('') => [
66
"" == "@",
77
],
8-
\Interop\Container\ContainerInterface::get('') => [
8+
\Psr\Container\ContainerInterface::get('') => [
99
"" == "@",
1010
],
1111
];
12-
}
12+
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"php" : ">=7.2",
1919
"ext-pdo_sqlite": "*",
2020
"php-di/php-di": "^6.0",
21-
"container-interop/container-interop": "^1.0",
21+
"psr/container": "^1.0",
2222
"symfony/process": "^3.0 | ^4.0",
2323
"symfony/filesystem": "^3.0 | ^4.0",
2424
"fzaninotto/faker": "^1.5",

composer.lock

Lines changed: 1 addition & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/CommandRouterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace PhpSchool\PhpWorkshopTest;
44

5-
use Interop\Container\ContainerInterface;
5+
use Psr\Container\ContainerInterface;
66
use InvalidArgumentException;
77
use PhpSchool\PhpWorkshop\CommandArgument;
88
use PhpSchool\PhpWorkshop\Event\EventDispatcher;

test/Factory/CliRendererFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use AydinHassan\CliMdRenderer\CliRenderer;
66
use Colors\Color;
77
use PhpSchool\PhpWorkshop\Factory\MarkdownCliRendererFactory;
8-
use Interop\Container\ContainerInterface;
8+
use Psr\Container\ContainerInterface;
99
use PhpSchool\Terminal\Terminal;
1010
use PHPUnit\Framework\TestCase;
1111

test/Factory/EventDispatcherFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use DI\ContainerBuilder;
66
use PhpSchool\PhpWorkshop\Event\Event;
7-
use Interop\Container\ContainerInterface;
7+
use Psr\Container\ContainerInterface;
88
use PhpSchool\PhpWorkshop\Event\EventDispatcher;
99
use PhpSchool\PhpWorkshop\Exception\InvalidArgumentException;
1010
use PhpSchool\PhpWorkshop\Factory\EventDispatcherFactory;

test/Factory/MenuFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace PhpSchool\PhpWorkshopTest\Factory;
44

5-
use Interop\Container\ContainerInterface;
5+
use Psr\Container\ContainerInterface;
66
use PhpSchool\CliMenu\CliMenu;
77
use PhpSchool\PhpWorkshop\Command\CreditsCommand;
88
use PhpSchool\PhpWorkshop\Command\HelpCommand;

0 commit comments

Comments
 (0)