Skip to content

Commit

Permalink
Fix code style, add Composer scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Apr 2, 2018
1 parent 6822a6b commit 8d9335d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,9 @@
"platform": {
"php": "7.0.13"
}
},
"scripts": {
"test": "@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit",
"code-style": "@php ./vendor/bin/php-cs-fixer fix"
}
}
2 changes: 1 addition & 1 deletion test/BodyParsingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

use Amp\ByteStream\IteratorStream;
use Amp\Emitter;
use Amp\Http\Server\RequestBody;
use Amp\Http\Server\Driver\Client;
use Amp\Http\Server\FormParser\BodyParser;
use Amp\Http\Server\Request;
use Amp\Http\Server\RequestBody;
use Amp\Loop;
use League\Uri;
use PHPUnit\Framework\TestCase;
Expand Down

0 comments on commit 8d9335d

Please sign in to comment.