Browse Source

Style fixes

dbtest
J. King 2 years ago
parent
commit
afe26fb8e1
  1. 5
      RoboFile.php
  2. 1
      tests/lib/DatabaseDrivers/PostgreSQL.php
  3. 1
      tests/lib/DatabaseDrivers/PostgreSQLCommon.php
  4. 1
      tests/lib/DatabaseDrivers/SQLite3.php

5
RoboFile.php

@ -1,6 +1,5 @@
<?php <?php
use Robo\Collection\CollectionBuilder;
use Robo\Result; use Robo\Result;
const BASE = __DIR__.\DIRECTORY_SEPARATOR; 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(escapeshellarg($bin)." --help $blackhole", $junk, $status) || $status))
|| (!IS_WIN && (!exec("which ".escapeshellarg($bin)." $blackhole", $junk, $status) || $status)) || (!IS_WIN && (!exec("which ".escapeshellarg($bin)." $blackhole", $junk, $status) || $status))
) { ) {
return false; return false;
} }
} }
return true; return true;
@ -416,7 +415,7 @@ class RoboFile extends \Robo\Tasks {
// determine whether the distribution-specific packages can be built // determine whether the distribution-specific packages can be built
$dist = [ $dist = [
'Arch' => $this->toolExists("git", "makepkg", "updpkgsums"), 'Arch' => $this->toolExists("git", "makepkg", "updpkgsums"),
'Deb' => $this->toolExists("git", "sudo", "pbuilder"), 'Deb' => $this->toolExists("git", "sudo", "pbuilder"),
]; ];
// start a collection // start a collection
$t = $this->collectionBuilder(); $t = $this->collectionBuilder();

1
tests/lib/DatabaseDrivers/PostgreSQL.php

@ -7,7 +7,6 @@ declare(strict_types=1);
namespace JKingWeb\Arsse\Test\DatabaseDrivers; namespace JKingWeb\Arsse\Test\DatabaseDrivers;
use JKingWeb\Arsse\Arsse; use JKingWeb\Arsse\Arsse;
use JKingWeb\Arsse\Db\Driver;
trait PostgreSQL { trait PostgreSQL {
use PostgreSQLCommon; use PostgreSQLCommon;

1
tests/lib/DatabaseDrivers/PostgreSQLCommon.php

@ -6,7 +6,6 @@
declare(strict_types=1); declare(strict_types=1);
namespace JKingWeb\Arsse\Test\DatabaseDrivers; namespace JKingWeb\Arsse\Test\DatabaseDrivers;
use JKingWeb\Arsse\Arsse;
use JKingWeb\Arsse\Db\Driver; use JKingWeb\Arsse\Db\Driver;
trait PostgreSQLCommon { trait PostgreSQLCommon {

1
tests/lib/DatabaseDrivers/SQLite3.php

@ -7,7 +7,6 @@ declare(strict_types=1);
namespace JKingWeb\Arsse\Test\DatabaseDrivers; namespace JKingWeb\Arsse\Test\DatabaseDrivers;
use JKingWeb\Arsse\Arsse; use JKingWeb\Arsse\Arsse;
use JKingWeb\Arsse\Db\Driver;
trait SQLite3 { trait SQLite3 {
use SQLite3Common; use SQLite3Common;

Loading…
Cancel
Save