Passed
Push — develope ( 243119...be8549 )
by Anatoliy
02:55
created
tests/DenyMultiplyRunTest/ExistRightPidFileTest.php 1 patch
Spacing   +2 added lines, -2 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
  * Created by PhpStorm.
5 5
  * User: danchukas
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     {
50 50
 
51 51
         /** @noinspection PhpUnusedParameterInspection */
52
-        set_error_handler(function (int $messageType, string $messageText) {
52
+        set_error_handler(function(int $messageType, string $messageText) {
53 53
             self::$lastError = "[$messageType] " . $messageText;
54 54
         });
55 55
 
Please login to merge, or discard this patch.
tests/DenyMultiplyRunTest/DenyUseTest.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/PidLessMin.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/DenyMultiplyRun.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
             // if file was once empty is not critical.
221 221
             // It was after crash daemon.
222 222
             // There are signal for admin/developer.
223
-            trigger_error((string)$exception, E_USER_NOTICE);
223
+            trigger_error((string) $exception, E_USER_NOTICE);
224 224
         }
225 225
         self::truncatePidFile($file_resource);
226 226
     }
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
         // For *nix system
302 302
         $pid_max_storage = "/proc/sys/kernel/pid_max";
303 303
         if (file_exists($pid_max_storage)) {
304
-            $pid_max = (int)file_get_contents($pid_max_storage);
304
+            $pid_max = (int) file_get_contents($pid_max_storage);
305 305
             if ($pid_max < $pid_int) {
306 306
                 $message = "PID in file has unavailable value: $pid_int. In /proc/sys/kernel/pid_max set $pid_max.";
307 307
                 throw new PidBiggerMax($message);
Please login to merge, or discard this patch.
tests/PidFileTestCase.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.
tests/Mock/buildTypeEnum.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.
tests/Mock/TypeMock.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.
tests/Mock/Type/IntegerTypeMock.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.
tests/Mock/Type/NullTypeMock.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.