Passed
Push — develop ( c2ff11...8e7879 )
by Glynn
02:43
created
src/constants.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@  discard block
 block discarded – undo
32 32
  * Constants used for Str\wordCount() => str_word_count()
33 33
  * https://www.php.net/manual/en/function.str-word-count.php
34 34
  */
35
-if (! defined('WORD_COUNT_NUMBER_OF_WORDS')) {
35
+if (!defined('WORD_COUNT_NUMBER_OF_WORDS')) {
36 36
     define('WORD_COUNT_NUMBER_OF_WORDS', 0);
37 37
 }
38
-if (! defined('WORD_COUNT_ARRAY')) {
38
+if (!defined('WORD_COUNT_ARRAY')) {
39 39
     define('WORD_COUNT_ARRAY', 1);
40 40
 }
41
-if (! defined('WORD_COUNT_ASSOCIATIVE_ARRAY')) {
41
+if (!defined('WORD_COUNT_ASSOCIATIVE_ARRAY')) {
42 42
     define('WORD_COUNT_ASSOCIATIVE_ARRAY', 2);
43 43
 }
44 44
 
@@ -46,36 +46,36 @@  discard block
 block discarded – undo
46 46
  * Constants used for Strings\countChars() => count_chars()
47 47
  * https://www.php.net/manual/en/function.count-chars.php
48 48
  */
49
-if (! defined('CHAR_COUNT_ARRAY')) {
49
+if (!defined('CHAR_COUNT_ARRAY')) {
50 50
     define('CHAR_COUNT_ARRAY', 0);
51 51
 }
52 52
 
53
-if (! defined('CHAR_COUNT_ARRAY_UNIQUE')) {
53
+if (!defined('CHAR_COUNT_ARRAY_UNIQUE')) {
54 54
     define('CHAR_COUNT_ARRAY_UNIQUE', 1);
55 55
 }
56 56
 
57
-if (! defined('CHAR_COUNT_ARRAY_UNUSED')) {
57
+if (!defined('CHAR_COUNT_ARRAY_UNUSED')) {
58 58
     define('CHAR_COUNT_ARRAY_UNUSED', 2);
59 59
 }
60 60
 
61
-if (! defined('CHAR_COUNT_STRING_UNIQUE')) {
61
+if (!defined('CHAR_COUNT_STRING_UNIQUE')) {
62 62
     define('CHAR_COUNT_STRING_UNIQUE', 3);
63 63
 }
64 64
 
65
-if (! defined('CHAR_COUNT_STRING_UNUSED')) {
65
+if (!defined('CHAR_COUNT_STRING_UNUSED')) {
66 66
     define('CHAR_COUNT_STRING_UNUSED', 4);
67 67
 }
68 68
 
69 69
 // String function flags
70
-if (! defined('STRINGS_CASE_INSENSITIVE')) {
70
+if (!defined('STRINGS_CASE_INSENSITIVE')) {
71 71
     define('STRINGS_CASE_INSENSITIVE', 0x1);
72 72
 }
73
-if (! defined('STRINGS_CASE_SENSITIVE')) {
73
+if (!defined('STRINGS_CASE_SENSITIVE')) {
74 74
     define('STRINGS_CASE_SENSITIVE', 0x2);
75 75
 }
76
-if (! defined('STRINGS_BEFORE_NEEDLE')) {
76
+if (!defined('STRINGS_BEFORE_NEEDLE')) {
77 77
     define('STRINGS_BEFORE_NEEDLE', 0x4);
78 78
 }
79
-if (! defined('STRINGS_AFTER_NEEDLE')) {
79
+if (!defined('STRINGS_AFTER_NEEDLE')) {
80 80
     define('STRINGS_AFTER_NEEDLE', 0x8);
81 81
 }
Please login to merge, or discard this patch.