Apply fixes from StyleCI (#12117)

* Apply fixes from StyleCI

* Disable style check
This commit is contained in:
Jellyfrog
2020-09-21 14:54:51 +02:00
committed by GitHub
parent 8ec9183df5
commit 77c531527c
752 changed files with 6238 additions and 5833 deletions

View File

@@ -51,7 +51,6 @@ class Rrd extends BaseValidation
);
}
if (Config::get('rrdcached')) {
self::checkRrdcached($validator);
} else {
@@ -70,10 +69,10 @@ class Rrd extends BaseValidation
public static function checkRrdcached(Validator $validator)
{
list($host,$port) = explode(':', Config::get('rrdcached'));
[$host,$port] = explode(':', Config::get('rrdcached'));
if ($host == 'unix') {
// Using socket, check that file exists
if (!file_exists($port)) {
if (! file_exists($port)) {
$validator->fail("$port doesn't appear to exist, rrdcached test failed");
}
} else {