Completed
Push — phpscpec ( f31341...75ace1 )
by Anatoliy
04:42
created
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.
example/bootstrap.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/File.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
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         }
179 179
 
180 180
         if (null !== ErrorHandler::$lastError) {
181
-            throw new OpenFileFail((string)ErrorHandler::$lastError);
181
+            throw new OpenFileFail((string) ErrorHandler::$lastError);
182 182
         }
183 183
 
184 184
         /** @noinspection PhpUndefinedVariableInspection */
Please login to merge, or discard this patch.
src/ErrorHandler.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
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         // For *nix system
196 196
         $pid_max_storage = '/proc/sys/kernel/pid_max';
197 197
         if (file_exists($pid_max_storage)) {
198
-            $pid_max = (int)file_get_contents($pid_max_storage);
198
+            $pid_max = (int) file_get_contents($pid_max_storage);
199 199
             if ($pid_max < $pid_int) {
200 200
                 $message = "PID in file has unavailable value: $pid_int. In /proc/sys/kernel/pid_max set $pid_max.";
201 201
                 throw new PidBiggerMax($message);
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      */
234 234
     private static function setPidIntoFile($self_pid, $pidFileResource)
235 235
     {
236
-        $self_pid_str = (string)$self_pid;
236
+        $self_pid_str = (string) $self_pid;
237 237
         $pid_length = strlen($self_pid_str);
238 238
         $write_length = fwrite($pidFileResource, $self_pid_str, $pid_length);
239 239
         if ($write_length !== $pid_length) {
Please login to merge, or discard this patch.
test/unit/PHPUnit/FileName/AccessDenied.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.
test/unit/PHPUnit/Mock/TypeList/NotStringList.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.
test/unit/PHPUnit/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.
test/unit/PHPUnit/Mock/TypeList.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.