Skip to content

Commit

Permalink
Define scripts in composer.json; remove Makefile; fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Apr 9, 2018
1 parent 78be1eb commit aec58f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 48 deletions.
45 changes: 0 additions & 45 deletions Makefile

This file was deleted.

4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,9 @@
"platform": {
"php": "7.0.0"
}
},
"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 src/Internal/PooledStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Amp\Mysql\Pool;
use Amp\Mysql\Statement;
use Amp\Promise;
use function Amp\call;
use Amp\Success;
use function Amp\call;

final class PooledStatement implements Statement {
/** @var \Amp\Mysql\Pool */
Expand Down
4 changes: 2 additions & 2 deletions test/PooledStatementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
use Amp\Delayed;
use Amp\Loop;
use Amp\Mysql\ConnectionConfig;
use Amp\Mysql\Internal\ResultProxy;
use Amp\PHPUnit\TestCase;
use Amp\Mysql\Internal\PooledStatement;
use Amp\Mysql\Internal\ResultProxy;
use Amp\Mysql\Pool;
use Amp\Mysql\ResultSet;
use Amp\Mysql\Statement;
use Amp\PHPUnit\TestCase;
use Amp\Success;

class PooledStatementTest extends TestCase {
Expand Down

0 comments on commit aec58f4

Please sign in to comment.