Test Failed
Branch master (cbe293)
by Anatoliy
03:46
created
Category
src/DenyMultiplyRun.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace DanchukAS\DenyMultiplyRun;
5 5
 
@@ -228,14 +228,14 @@  discard block
 block discarded – undo
228 228
             throw new PidFileEmpty();
229 229
         }
230 230
 
231
-        $pid_int = (int)$pid_from_file;
231
+        $pid_int = (int) $pid_from_file;
232 232
 
233 233
         // verify available PID in file.
234 234
         // if PID not available - why it happens ?
235 235
         // For *nix system
236 236
         $pid_max_storage = "/proc/sys/kernel/pid_max";
237 237
         if (file_exists($pid_max_storage)) {
238
-            $pid_max = (int)file_get_contents($pid_max_storage);
238
+            $pid_max = (int) file_get_contents($pid_max_storage);
239 239
             if ($pid_max < $pid_int) {
240 240
                 $message = "PID in file has unavailable value: $pid_int. In /proc/sys/kernel/pid_max set $pid_max.";
241 241
                 throw new PidBiggerMax($message);
Please login to merge, or discard this patch.
src/Exception/FileExisted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.
src/Exception/DeleteFileFail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.
src/Exception/ProcessExisted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.
src/Exception/PidBiggerMax.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.
src/Exception/CloseFileFail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.
src/Exception/PidFileEmpty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.
src/Exception/LockFileFail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.
src/Exception/ReadFileFail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * Created by PhpStorm.
5 5
  * User: danchukas
Please login to merge, or discard this patch.