Passed
Push — master ( a27285...bf075b )
by Petr
02:08
created
php-src/Methods/PidLock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     public function __construct(string $tempPath, ?IKLTranslations $lang = null)
31 31
     {
32 32
         $this->lang = $lang ?: new Translations();
33
-        if (\defined('PHP_OS_FAMILY') && in_array(PHP_OS_FAMILY, ['Windows', 'Unknown']) ) {
33
+        if (\defined('PHP_OS_FAMILY') && in_array(PHP_OS_FAMILY, ['Windows', 'Unknown'])) {
34 34
             throw new LockException($this->lang->iklCannotUseOS());
35 35
         }
36 36
         if (\DIRECTORY_SEPARATOR === '\\') {
Please login to merge, or discard this patch.
php-src/Methods/StorageLock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function setKey(string $key, string $checkContent = ''): void
45 45
     {
46 46
         $this->specialKey = $key;
47
-        $this->checkContent = empty($checkContent) ? strval(getmypid()) : $checkContent ;
47
+        $this->checkContent = empty($checkContent) ? strval(getmypid()) : $checkContent;
48 48
     }
49 49
 
50 50
     public function has(): bool
Please login to merge, or discard this patch.
php-src/Methods/Translations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      */
50 50
     public function iklCannotOpenFile(string $lockFilename): string
51 51
     {
52
-        return 'Could not open lock file: '. $lockFilename;
52
+        return 'Could not open lock file: ' . $lockFilename;
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.