Completed
Push — master ( 7b068f...d99b93 )
by Andreas
02:29
created
src/Calculator/WordCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     {
55 55
         $tokens = $this->tokenizer->tokenize($text->getPlainText());
56 56
         foreach ($tokens as $token) {
57
-            if (! $token instanceof WordToken) {
57
+            if (!$token instanceof WordToken) {
58 58
                 $tokens->replace($token, []);
59 59
             }
60 60
         }
Please login to merge, or discard this patch.
src/Calculator/WordMaxSyllablesCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     {
55 55
         $tokens = $this->tokenizer->tokenize($text->getPlainText());
56 56
         foreach ($tokens as $token) {
57
-            if (! $token instanceof WordToken) {
57
+            if (!$token instanceof WordToken) {
58 58
                 $tokens->replace($token, []);
59 59
             }
60 60
         }
Please login to merge, or discard this patch.
src/Calculator/WordsWithNCharsCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     {
55 55
         $tokens = $this->tokenizer->tokenize($text->getPlainText());
56 56
         foreach ($tokens as $token) {
57
-            if (! $token instanceof WordToken) {
57
+            if (!$token instanceof WordToken) {
58 58
                 $tokens->replace($token, []);
59 59
             }
60 60
         }
Please login to merge, or discard this patch.
src/Calculator/CachingWordMaxSyllablesCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $text = $text->getPlainText();
38 38
         $hash = sha1($text);
39 39
 
40
-        if (! isset( static::$cache[$hash])) {
40
+        if (!isset(static::$cache[$hash])) {
41 41
             $result = parent::calculate($text);
42 42
             static::$cache[$hash] = $result;
43 43
         }
Please login to merge, or discard this patch.
src/Calculator/CachingWordCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $text = $text->getPlainText();
38 38
         $hash = sha1($text);
39 39
 
40
-        if (! isset( static::$cache[$hash])) {
40
+        if (!isset(static::$cache[$hash])) {
41 41
             $result = parent::calculate($text);
42 42
             static::$cache[$hash] = $result;
43 43
         }
Please login to merge, or discard this patch.
src/Calculator/CachingWordsWithNCharsCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $text = $text->getPlainText();
38 38
         $hash = sha1($text);
39 39
 
40
-        if (! isset( static::$cache[$hash])) {
40
+        if (!isset(static::$cache[$hash])) {
41 41
             $result = parent::calculate($text);
42 42
             static::$cache[$hash] = $result;
43 43
         }
Please login to merge, or discard this patch.
src/Calculator/CachingWordsWithNSyllablesCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $text = $text->getPlainText();
38 38
         $hash = sha1($text);
39 39
 
40
-        if (! isset( static::$cache[$hash])) {
40
+        if (!isset(static::$cache[$hash])) {
41 41
             $result = parent::calculate($text);
42 42
             static::$cache[$hash] = $result;
43 43
         }
Please login to merge, or discard this patch.
src/Calculator/CachingWordsWithNSyllablesOnlyCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $text = $text->getPlainText();
38 38
         $hash = sha1($text);
39 39
 
40
-        if (! isset( static::$cache[$hash])) {
40
+        if (!isset(static::$cache[$hash])) {
41 41
             $result = parent::calculate($text);
42 42
             static::$cache[$hash] = $result;
43 43
         }
Please login to merge, or discard this patch.
src/Calculator/CachingSyllableCounter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $text = $text->getPlainText();
38 38
         $hash = sha1($text);
39 39
 
40
-        if (! isset( static::$cache[$hash])) {
40
+        if (!isset(static::$cache[$hash])) {
41 41
             $result = parent::calculate($text);
42 42
             static::$cache[$hash] = $result;
43 43
         }
Please login to merge, or discard this patch.