@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * Created by PhpStorm. |
| 5 | 5 | * User: danchukas |
@@ -179,7 +179,7 @@ |
||
| 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; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * Created by PhpStorm. |
| 5 | 5 | * User: danchukas |
@@ -40,7 +40,7 @@ discard block |
||
| 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 |
||
| 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); |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * Created by PhpStorm. |
| 5 | 5 | * User: danchukas |
@@ -1,5 +1,5 @@ discard block |
||
| 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 |
||
| 121 | 121 | , [false] |
| 122 | 122 | , [0] |
| 123 | 123 | , [[]] |
| 124 | - , [function () { |
|
| 124 | + , [function() { |
|
| 125 | 125 | }] |
| 126 | 126 | , [new \Exception] |
| 127 | 127 | , [$r]]; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * Created by PhpStorm. |
| 5 | 5 | * User: danchukas |