@@ -82,7 +82,7 @@ |
||
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 |
@@ -110,7 +110,7 @@ discard block |
||
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 |
||
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 | } |