diff --git a/RoboFile.php b/RoboFile.php index 3ac31182..973d9436 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -1,6 +1,5 @@ <?php -use Robo\Collection\CollectionBuilder; use Robo\Result; const BASE = __DIR__.\DIRECTORY_SEPARATOR; @@ -166,7 +165,7 @@ class RoboFile extends \Robo\Tasks { (IS_WIN && (!exec(escapeshellarg($bin)." --help $blackhole", $junk, $status) || $status)) || (!IS_WIN && (!exec("which ".escapeshellarg($bin)." $blackhole", $junk, $status) || $status)) ) { - return false; + return false; } } return true; @@ -283,7 +282,7 @@ class RoboFile extends \Robo\Tasks { * The commit to package may be any Git tree-ish identifier: a tag, a branch, * or any commit hash. If none is provided on the command line, Robo will prompt * for a commit to package; the default is "HEAD". - * + * * The Arch base-devel group should be installed for this. */ public function packageArch(string $commit = null): Result { @@ -317,7 +316,7 @@ class RoboFile extends \Robo\Tasks { * The commit to package may be any Git tree-ish identifier: a tag, a branch, * or any commit hash. If none is provided on the command line, Robo will prompt * for a commit to package; the default is "HEAD". - * + * * The pbuilder tool should be installed for this. */ public function packageDeb(string $commit = null): Result { @@ -404,7 +403,7 @@ class RoboFile extends \Robo\Tasks { * The commit to package may be any Git tree-ish identifier: a tag, a branch, * or any commit hash. If none is provided on the command line, Robo will prompt * for a commit to package; the default is "HEAD". - * + * * Generic release tarballs will always be generated, but distribution-specific * packages are skipped when the required tools are not available */ @@ -416,7 +415,7 @@ class RoboFile extends \Robo\Tasks { // determine whether the distribution-specific packages can be built $dist = [ 'Arch' => $this->toolExists("git", "makepkg", "updpkgsums"), - 'Deb' => $this->toolExists("git", "sudo", "pbuilder"), + 'Deb' => $this->toolExists("git", "sudo", "pbuilder"), ]; // start a collection $t = $this->collectionBuilder(); diff --git a/tests/lib/DatabaseDrivers/MySQLCommon.php b/tests/lib/DatabaseDrivers/MySQLCommon.php index f9ea18d4..d3f29567 100644 --- a/tests/lib/DatabaseDrivers/MySQLCommon.php +++ b/tests/lib/DatabaseDrivers/MySQLCommon.php @@ -57,4 +57,4 @@ trait MySQLCommon { } $db->query("SET FOREIGN_KEY_CHECKS=1"); } -} \ No newline at end of file +} diff --git a/tests/lib/DatabaseDrivers/PostgreSQL.php b/tests/lib/DatabaseDrivers/PostgreSQL.php index efd3d12a..1af1b472 100644 --- a/tests/lib/DatabaseDrivers/PostgreSQL.php +++ b/tests/lib/DatabaseDrivers/PostgreSQL.php @@ -7,7 +7,6 @@ declare(strict_types=1); namespace JKingWeb\Arsse\Test\DatabaseDrivers; use JKingWeb\Arsse\Arsse; -use JKingWeb\Arsse\Db\Driver; trait PostgreSQL { use PostgreSQLCommon; diff --git a/tests/lib/DatabaseDrivers/PostgreSQLCommon.php b/tests/lib/DatabaseDrivers/PostgreSQLCommon.php index def4c5ff..ef65e031 100644 --- a/tests/lib/DatabaseDrivers/PostgreSQLCommon.php +++ b/tests/lib/DatabaseDrivers/PostgreSQLCommon.php @@ -6,7 +6,6 @@ declare(strict_types=1); namespace JKingWeb\Arsse\Test\DatabaseDrivers; -use JKingWeb\Arsse\Arsse; use JKingWeb\Arsse\Db\Driver; trait PostgreSQLCommon { @@ -66,4 +65,4 @@ trait PostgreSQLCommon { self::dbExec($db, $st); } } -} \ No newline at end of file +} diff --git a/tests/lib/DatabaseDrivers/SQLite3.php b/tests/lib/DatabaseDrivers/SQLite3.php index 721a440f..01a6c051 100644 --- a/tests/lib/DatabaseDrivers/SQLite3.php +++ b/tests/lib/DatabaseDrivers/SQLite3.php @@ -7,7 +7,6 @@ declare(strict_types=1); namespace JKingWeb\Arsse\Test\DatabaseDrivers; use JKingWeb\Arsse\Arsse; -use JKingWeb\Arsse\Db\Driver; trait SQLite3 { use SQLite3Common; diff --git a/tests/lib/DatabaseDrivers/SQLite3Common.php b/tests/lib/DatabaseDrivers/SQLite3Common.php index b180cc34..9389d437 100644 --- a/tests/lib/DatabaseDrivers/SQLite3Common.php +++ b/tests/lib/DatabaseDrivers/SQLite3Common.php @@ -67,4 +67,4 @@ trait SQLite3Common { $db->exec($st); } } -} \ No newline at end of file +}