Skip to content

Commit 13b5f0e

Browse files
committed
add PHP-DI support
1 parent 04c4163 commit 13b5f0e

15 files changed

+30
-12
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"kahlan/kahlan": "^4.1.1",
3131
"northwoods/container": "^3.0",
3232
"php-coveralls/php-coveralls": "^2.0",
33+
"php-di/php-di": "^6.0",
3334
"phpstan/phpstan": "^0.10",
3435
"phpstan/phpstan-beberlei-assert": "^0.10",
3536
"pimple/pimple": "^3.2",

spec/Handler/Formatter/JsonSpec.php

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

55
use DateTime;
66
use ErrorHeroModule\Handler\Formatter\Json;
7-
use Zend\Http\Header\Cookie;
87

98
describe('Json', function () {
109

spec/Integration/IntegrationViaErrorPreviewControllerForCannotConnecttoDBSpec.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Zend\Console\Console;
87
use Zend\Mvc\Application;
98

spec/Integration/IntegrationViaErrorPreviewControllerForErrorShownSpec.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec\Integration;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Zend\Console\Console;
87
use Zend\Mvc\Application;
98

spec/Integration/IntegrationViaErrorPreviewControllerForHasCookieSpec.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
namespace ErrorHeroModule\Spec;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Zend\Console\Console;
87
use Zend\Db\Adapter\Adapter;
98
use Zend\Db\ResultSet\ResultSet;
109
use Zend\Db\TableGateway\TableGateway;
11-
use Zend\Http\Header\Cookie;
1210
use Zend\Mvc\Application;
1311

1412
describe('Integration via ErrorPreviewController for has cookie', function () {

spec/Integration/IntegrationViaErrorPreviewControllerForIdempotentSpec.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Zend\Console\Console;
87
use Zend\Mvc\Application;
98

spec/Integration/IntegrationViaErrorPreviewControllerForXmlHttpRequestSpec.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec\Integration;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Zend\Console\Console;
87
use Zend\Http\PhpEnvironment\Request;
98
use Zend\Http\PhpEnvironment\Response;

spec/Integration/IntegrationViaErrorPreviewControllerForXmlHttpRequestWithNonJsonMessageSpec.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec\Integration;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Zend\Console\Console;
87
use Zend\Http\PhpEnvironment\Request;
98
use Zend\Http\PhpEnvironment\Response;

spec/Integration/IntegrationViaErrorPreviewControllerSpec.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Zend\Console\Console;
87
use Zend\Db\Adapter\Adapter;
98
use Zend\Db\ResultSet\ResultSet;

spec/Integration/IntegrationViaErrorPreviewControllerWithEnableSendMailSpec.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace ErrorHeroModule\Spec;
44

55
use ErrorHeroModule;
6-
use ErrorHeroModule\Controller\ErrorPreviewController;
76
use Kahlan\Plugin\Quit;
87
use Zend\Console\Console;
98
use Zend\Db\Adapter\Adapter;

0 commit comments

Comments
 (0)