mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Style fixes
This commit is contained in:
parent
3a219a591d
commit
afe26fb8e1
6 changed files with 8 additions and 12 deletions
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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…
Reference in a new issue