Failed Conditions
Pull Request — master (#18)
by Billie
09:05 queued 06:15
created
src/PurpleBooth/GitLintValidators/Composer/Scripts.php 2 patches
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 #!/bin/sh
25 25
 
26 26
 vendor/bin/git-lint-validators git-lint-validator:hook $1
27
-CONTENT;
27
+content;
28 28
 
29 29
     const TEMPLATE_CONTENTS      = <<<CONTENT
30 30
 Subject line
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 # - Use the subject body to explain what and why vs. how
39 39
 # - Wrap the subject body at 72 characters
40 40
 
41
-CONTENT;
41
+content;
42 42
 
43 43
     /**
44 44
      * Installs and activates the Git commit message
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators\Composer;
6 6
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             if (file_exists($hookFile)) {
76 76
                 $existingHookFile = copy(
77 77
                     $hookFile,
78
-                    $hookFile.self::BACKUP_EXTENSION
78
+                    $hookFile . self::BACKUP_EXTENSION
79 79
                 );
80 80
             }
81 81
 
Please login to merge, or discard this patch.
src/PurpleBooth/GitLintValidators/Message.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@
 block discarded – undo
57 57
      * Associate a status with this message.
58 58
      *
59 59
      * @param Status $status
60
+     * @return void
60 61
      */
61 62
     public function addStatus(Status $status);
62 63
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators;
6 6
 
Please login to merge, or discard this patch.
src/PurpleBooth/GitLintValidators/ValidateMessage.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
13 13
      * Test a message against a number of validators.
14 14
      *
15 15
      * @param Message $message
16
+     * @return void
16 17
      */
17 18
     public function validate(Message $message);
18 19
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators;
6 6
 
Please login to merge, or discard this patch.
src/PurpleBooth/GitLintValidators/Validator/Validator.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@
 block discarded – undo
15 15
      * Check if a message passes a specific test, and return a status that identifies if it is or isn't.
16 16
      *
17 17
      * @param Message $message
18
+     * @return void
18 19
      */
19 20
     public function validate(Message $message);
20 21
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators\Validator;
6 6
 
Please login to merge, or discard this patch.
Validator/SoftLimitTheTitleLengthTo50CharactersValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators\Validator;
6 6
 
Please login to merge, or discard this patch.
GitLintValidators/Validator/CapitalizeTheSubjectLineValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators\Validator;
6 6
 
Please login to merge, or discard this patch.
Validator/LimitTheBodyWrapLengthTo72CharactersValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators\Validator;
6 6
 
Please login to merge, or discard this patch.
Validator/SeparateSubjectFromBodyWithABlankLineValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators\Validator;
6 6
 
Please login to merge, or discard this patch.
GitLintValidators/Validator/LimitTheTitleLengthTo69CharactersValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PurpleBooth\GitLintValidators\Validator;
6 6
 
Please login to merge, or discard this patch.