Passed
Push — master ( 8f2c7f...261aac )
by Anatoliy
01:58
created
src/Exception/OpenFileFail.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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
         }
180 180
 
181 181
         if (!is_null(self::$lastError)) {
182
-            throw new OpenFileFail((string)self::$lastError);
182
+            throw new OpenFileFail((string) self::$lastError);
183 183
         }
184 184
 
185 185
         return $pid_file_handle;
Please login to merge, or discard this patch.
tests/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.
tests/DenyMultiplyRunTest/ExistRightPidFileTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
 
42 42
         /** @noinspection PhpUnusedParameterInspection */
43
-        set_error_handler(function (int $messageType, string $messageText) {
43
+        set_error_handler(function(int $messageType, string $messageText) {
44 44
             self::$lastError = $messageText;
45 45
         });
46 46
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     function testLockedFile()
93 93
     {
94 94
         $file_resource = fopen(self::$existFileName, "r+");
95
-        flock($file_resource,LOCK_EX);
95
+        flock($file_resource, LOCK_EX);
96 96
 
97 97
         self::expectException("DanchukAS\DenyMultiplyRun\Exception\LockFileFail");
98 98
         DenyMultiplyRun::setPidFile(self::$existFileName);
Please login to merge, or discard this patch.
tests/DenyMultiplyRunTest/ExistWrongPidFileTest.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/DenyMultiplyRunTest/SurprisingTest.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
 
5 5
 /**
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
             , [false]
122 122
             , [0]
123 123
             , [[]]
124
-            , [function () {
124
+            , [function() {
125 125
             }]
126 126
             , [new \Exception]
127 127
             , [$r]];
Please login to merge, or discard this patch.
tests/DenyMultiplyRunTest/UseTest.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.