Skip to content

Commit 3b4cadb

Browse files
committed
Move from container-interop to psr/container
1 parent 233bb6b commit 3b4cadb

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "container-interop/container-interop",
2+
"name": "psr/container",
33
"type": "library",
44
"description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
5-
"homepage": "https://github.com/container-interop/container-interop",
5+
"homepage": "https://github.com/php-fig/container",
66
"license": "MIT",
77
"autoload": {
88
"psr-4": {
9-
"Interop\\Container\\": "src/Interop/Container/"
9+
"Psr\\Container\\": "src/"
1010
}
1111
}
1212
}

src/Interop/Container/ContainerInterface.php renamed to src/ContainerInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
44
*/
55

6-
namespace Interop\Container;
6+
namespace Psr\Container;
77

8-
use Interop\Container\Exception\ContainerException;
9-
use Interop\Container\Exception\NotFoundException;
8+
use Psr\Container\Exception\ContainerException;
9+
use Psr\Container\Exception\NotFoundException;
1010

1111
/**
1212
* Describes the interface of a container that exposes methods to read its entries.

src/Interop/Container/Exception/ContainerException.php renamed to src/Exception/ContainerException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
44
*/
55

6-
namespace Interop\Container\Exception;
6+
namespace Psr\Container\Exception;
77

88
/**
99
* Base interface representing a generic exception in a container.

src/Interop/Container/Exception/NotFoundException.php renamed to src/Exception/NotFoundException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
44
*/
55

6-
namespace Interop\Container\Exception;
6+
namespace Psr\Container\Exception;
77

88
/**
99
* No entry was found in the container.

0 commit comments

Comments
 (0)