Test Failed
Pull Request — master (#28)
by
unknown
06:44
created
src/PurpleBooth/GitLintValidators/Composer/Scripts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             if (file_exists($hookFile)) {
83 83
                 $existingHookFile = copy(
84 84
                     $hookFile,
85
-                    $hookFile.self::BACKUP_EXTENSION
85
+                    $hookFile . self::BACKUP_EXTENSION
86 86
                 );
87 87
             }
88 88
 
Please login to merge, or discard this patch.
src/PurpleBooth/GitLintValidators/Command/Hook.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
             }
111 111
         }
112 112
 
113
-        $safeCommitMessage = preg_replace('/'.preg_quote($commentCharacter).'.*/', '', $commitMessage);
113
+        $safeCommitMessage = preg_replace('/' . preg_quote($commentCharacter) . '.*/', '', $commitMessage);
114 114
         $message = new MessageImplementation($safeCommitMessage);
115 115
 
116 116
         $validators->validate($message);
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 
125 125
         /** @var Status $status */
126 126
         foreach ($message->getStatuses() as $status) {
127
-            $statusList[] = $status->getMessage().' ('.$status->getDetailsUrl().')';
127
+            $statusList[] = $status->getMessage() . ' (' . $status->getDetailsUrl() . ')';
128 128
 
129 129
             $isPositive = $status->isPositive() && $isPositive;
130 130
         }
Please login to merge, or discard this patch.