diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-04-24 11:01:37 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-04-25 18:17:19 +0200 |
commit | 79c92da8c14de61dccc015f04c3900aac4bd4179 (patch) | |
tree | 7b4e0f51d2bd2508905fdc697b31a73810a1b5d5 /tests/Unit/Exceptions | |
parent | 7c3a0c70e8d23f47287ead148c6b8682216352c6 (diff) |
Formatting
```bash
php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/]
```
Diffstat (limited to 'tests/Unit/Exceptions')
5 files changed, 6 insertions, 9 deletions
diff --git a/tests/Unit/Exceptions/ExceptionsServiceProviderTest.php b/tests/Unit/Exceptions/ExceptionsServiceProviderTest.php index b484f41f..c0569086 100644 --- a/tests/Unit/Exceptions/ExceptionsServiceProviderTest.php +++ b/tests/Unit/Exceptions/ExceptionsServiceProviderTest.php @@ -15,9 +15,9 @@ use PHPUnit\Framework\MockObject\MockObject; class ExceptionsServiceProviderTest extends ServiceProviderTest { /** - * @covers \Engelsystem\Exceptions\ExceptionsServiceProvider::register() - * @covers \Engelsystem\Exceptions\ExceptionsServiceProvider::addProductionHandler() * @covers \Engelsystem\Exceptions\ExceptionsServiceProvider::addDevelopmentHandler() + * @covers \Engelsystem\Exceptions\ExceptionsServiceProvider::addProductionHandler() + * @covers \Engelsystem\Exceptions\ExceptionsServiceProvider::register() */ public function testRegister() { diff --git a/tests/Unit/Exceptions/HandlerTest.php b/tests/Unit/Exceptions/HandlerTest.php index af89dae7..baf2de82 100644 --- a/tests/Unit/Exceptions/HandlerTest.php +++ b/tests/Unit/Exceptions/HandlerTest.php @@ -99,8 +99,8 @@ class HandlerTest extends TestCase } /** - * @covers \Engelsystem\Exceptions\Handler::setEnvironment() * @covers \Engelsystem\Exceptions\Handler::getEnvironment() + * @covers \Engelsystem\Exceptions\Handler::setEnvironment() */ public function testEnvironment() { @@ -114,8 +114,8 @@ class HandlerTest extends TestCase } /** - * @covers \Engelsystem\Exceptions\Handler::setHandler() * @covers \Engelsystem\Exceptions\Handler::getHandler() + * @covers \Engelsystem\Exceptions\Handler::setHandler() */ public function testHandler() { @@ -133,8 +133,8 @@ class HandlerTest extends TestCase } /** - * @covers \Engelsystem\Exceptions\Handler::setRequest() * @covers \Engelsystem\Exceptions\Handler::getRequest() + * @covers \Engelsystem\Exceptions\Handler::setRequest() */ public function testRequest() { diff --git a/tests/Unit/Exceptions/Handlers/LegacyDevelopmentTest.php b/tests/Unit/Exceptions/Handlers/LegacyDevelopmentTest.php index bc4625e9..f7355f76 100644 --- a/tests/Unit/Exceptions/Handlers/LegacyDevelopmentTest.php +++ b/tests/Unit/Exceptions/Handlers/LegacyDevelopmentTest.php @@ -2,7 +2,6 @@ namespace Engelsystem\Test\Unit\Exceptions\handlers; - use Engelsystem\Exceptions\Handlers\LegacyDevelopment; use Engelsystem\Http\Request; use ErrorException; @@ -12,8 +11,8 @@ use PHPUnit\Framework\TestCase; class LegacyDevelopmentTest extends TestCase { /** - * @covers \Engelsystem\Exceptions\Handlers\LegacyDevelopment::render() * @covers \Engelsystem\Exceptions\Handlers\LegacyDevelopment::formatStackTrace() + * @covers \Engelsystem\Exceptions\Handlers\LegacyDevelopment::render() */ public function testRender() { diff --git a/tests/Unit/Exceptions/Handlers/LegacyTest.php b/tests/Unit/Exceptions/Handlers/LegacyTest.php index d7d65daf..d8ab6565 100644 --- a/tests/Unit/Exceptions/Handlers/LegacyTest.php +++ b/tests/Unit/Exceptions/Handlers/LegacyTest.php @@ -2,7 +2,6 @@ namespace Engelsystem\Test\Unit\Exceptions\handlers; - use Engelsystem\Exceptions\Handlers\Legacy; use Engelsystem\Http\Request; use Exception; diff --git a/tests/Unit/Exceptions/Handlers/WhoopsTest.php b/tests/Unit/Exceptions/Handlers/WhoopsTest.php index 74bdc457..67029d4d 100644 --- a/tests/Unit/Exceptions/Handlers/WhoopsTest.php +++ b/tests/Unit/Exceptions/Handlers/WhoopsTest.php @@ -2,7 +2,6 @@ namespace Engelsystem\Test\Unit\Exceptions\handlers; - use Engelsystem\Application; use Engelsystem\Exceptions\Handlers\Whoops; use Engelsystem\Helpers\Authenticator; |