Dep: update

주로 PHAN
This commit is contained in:
Hide_D committed 2021-08-06 22:39:09 +09:00
1 parent 5310c2e7f6
commit b306601c72
1098 files changed
+92137 -33228

No files matched your search

@@ -67,7 +67,7 @@ abstract class ServiceLocatorTest extends TestCase
public function testThrowsOnUndefinedInternalService()
{
if (!$this->getExpectedException()) {
$this->expectException('Psr\Container\NotFoundExceptionInterface');
$this->expectException(\Psr\Container\NotFoundExceptionInterface::class);
$this->expectExceptionMessage('The service "foo" has a dependency on a non-existent service "bar". This locator only knows about the "foo" service.');
}
$locator = $this->getServiceLocator([
@@ -79,7 +79,7 @@ abstract class ServiceLocatorTest extends TestCase
public function testThrowsOnCircularReference()
{
$this->expectException('Psr\Container\ContainerExceptionInterface');
$this->expectException(\Psr\Container\ContainerExceptionInterface::class);
$this->expectExceptionMessage('Circular reference detected for service "bar", path: "bar -> baz -> bar".');
$locator = $this->getServiceLocator([
'foo' => function () use (&$locator) { return $locator->get('bar'); },