Skip to content
Snippets Groups Projects
Commit 1366d46a authored by Tibo's avatar Tibo
Browse files

add and fix space around operators

parent 4c3f41fd
No related branches found
No related tags found
No related merge requests found
Pipeline #12865 passed
...@@ -40,7 +40,7 @@ class Kernel extends ConsoleKernel ...@@ -40,7 +40,7 @@ class Kernel extends ConsoleKernel
*/ */
protected function commands() protected function commands()
{ {
$this->load(__DIR__.'/Commands'); $this->load(__DIR__ . '/Commands');
require base_path('routes/console.php'); require base_path('routes/console.php');
} }
......
...@@ -18,7 +18,7 @@ class CPUtemperature implements Sensor ...@@ -18,7 +18,7 @@ class CPUtemperature implements Sensor
{ {
// Match a CPU line like // Match a CPU line like
// Package id 0: +39.0°C (high = +84.0°C, crit = +100.0°C) // Package id 0: +39.0°C (high = +84.0°C, crit = +100.0°C)
const REGEXPCPU= "/^(Package id)+\s+(\d):\s+\+(\d+\.\d+)°C\s+\(high\s=\s\+\d+\.\d°C,\scrit\s=\s\+(\d+\.\d+)°C\)/m"; const REGEXPCPU = "/^(Package id)+\s+(\d):\s+\+(\d+\.\d+)°C\s+\(high\s=\s\+\d+\.\d°C,\scrit\s=\s\+(\d+\.\d+)°C\)/m";
// Mach a core line // Mach a core line
// Core 0: +38.0°C (high = +84.0°C, crit = +100.0°C) // Core 0: +38.0°C (high = +84.0°C, crit = +100.0°C)
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
*/ */
$app = new Illuminate\Foundation\Application( $app = new Illuminate\Foundation\Application(
realpath(__DIR__.'/../') realpath(__DIR__ . '/../')
); );
/* /*
......
...@@ -88,7 +88,7 @@ return [ ...@@ -88,7 +88,7 @@ return [
'prefix' => env( 'prefix' => env(
'CACHE_PREFIX', 'CACHE_PREFIX',
str_slug(env('APP_NAME', 'laravel'), '_').'_cache' str_slug(env('APP_NAME', 'laravel'), '_') . '_cache'
), ),
]; ];
...@@ -51,7 +51,7 @@ return [ ...@@ -51,7 +51,7 @@ return [
'public' => [ 'public' => [
'driver' => 'local', 'driver' => 'local',
'root' => storage_path('app/public'), 'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage', 'url' => env('APP_URL') . '/storage',
'visibility' => 'public', 'visibility' => 'public',
], ],
......
...@@ -124,7 +124,7 @@ return [ ...@@ -124,7 +124,7 @@ return [
'cookie' => env( 'cookie' => env(
'SESSION_COOKIE', 'SESSION_COOKIE',
str_slug(env('APP_NAME', 'laravel'), '_').'_session' str_slug(env('APP_NAME', 'laravel'), '_') . '_session'
), ),
/* /*
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<ruleset name="PHP_CodeSniffer"> <ruleset name="PHP_CodeSniffer">
<description>The coding standard for our project.</description> <description>The coding standard for our project.</description>
<rule ref="PSR2"/> <rule ref="PSR2"/>
<rule ref="PSR12.Operators.OperatorSpacing"/>
<file>app</file> <file>app</file>
<file>bootstrap</file> <file>bootstrap</file>
......
...@@ -13,7 +13,7 @@ trait CreatesApplication ...@@ -13,7 +13,7 @@ trait CreatesApplication
*/ */
public function createApplication() public function createApplication()
{ {
$app = require __DIR__.'/../bootstrap/app.php'; $app = require __DIR__ . '/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap(); $app->make(Kernel::class)->bootstrap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment