Completed
Push — master ( a4a679...a442d4 )
by Andreas
03:21
created
src/Service/SentenceMaxSyllablesCalculatorFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
 use Org\Heigl\Hyphenator\Hyphenator;
30 30
 use Org\Heigl\Hyphenator\Options;
31 31
 use Org_Heigl\TextStatistics\Calculator\SentenceMaxSyllablesCalculator;
32
-use Org_Heigl\TextStatistics\Calculator\SyllableCounter;
33 32
 use Org_Heigl\TextStatistics\Util\SyllableFilter;
34 33
 
35 34
 class SentenceMaxSyllablesCalculatorFactory
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@
 block discarded – undo
37 37
     {
38 38
         $o = new Options();
39 39
         $o->setDefaultLocale($locale)
40
-          ->setRightMin(2)
41
-          ->setLeftMin(2)
42
-          ->setWordMin(4)
43
-          ->setTokenizers('Whitespace', 'Punctuation');
40
+            ->setRightMin(2)
41
+            ->setLeftMin(2)
42
+            ->setWordMin(4)
43
+            ->setTokenizers('Whitespace', 'Punctuation');
44 44
 
45 45
         $hyphenator = new Hyphenator();
46 46
         $hyphenator->setOptions($o);
Please login to merge, or discard this patch.
src/Service/WienerSachtextFormel2CalculatorFactory.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -26,18 +26,13 @@
 block discarded – undo
26 26
 
27 27
 namespace Org_Heigl\TextStatistics\Service;
28 28
 
29
-use Org\Heigl\Hyphenator\Hyphenator;
30
-use Org\Heigl\Hyphenator\Options;
31 29
 use Org_Heigl\TextStatistics\Calculator\AverageSentenceLengthCalculator;
32 30
 use Org_Heigl\TextStatistics\Calculator\SentenceCounter;
33
-use Org_Heigl\TextStatistics\Calculator\SyllableCounter;
34 31
 use Org_Heigl\TextStatistics\Calculator\WienerSachtextFormel1Calculator;
35 32
 use Org_Heigl\TextStatistics\Calculator\WordCounter;
36 33
 use Org_Heigl\TextStatistics\Calculator\WordsWithNCharsCounter;
37 34
 use Org_Heigl\TextStatistics\Calculator\WordsWithNCharsPercentCalculator;
38
-use Org_Heigl\TextStatistics\Calculator\WordsWithNSyllablesCounter;
39 35
 use Org_Heigl\TextStatistics\Calculator\WordsWithNSyllablesPercentCalculator;
40
-use Org_Heigl\TextStatistics\Util\SyllableFilter;
41 36
 
42 37
 class WienerSachtextFormel2CalculatorFactory
43 38
 {
Please login to merge, or discard this patch.
src/Service/WienerSachtextFormel3CalculatorFactory.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -26,18 +26,11 @@
 block discarded – undo
26 26
 
27 27
 namespace Org_Heigl\TextStatistics\Service;
28 28
 
29
-use Org\Heigl\Hyphenator\Hyphenator;
30
-use Org\Heigl\Hyphenator\Options;
31 29
 use Org_Heigl\TextStatistics\Calculator\AverageSentenceLengthCalculator;
32 30
 use Org_Heigl\TextStatistics\Calculator\SentenceCounter;
33
-use Org_Heigl\TextStatistics\Calculator\SyllableCounter;
34 31
 use Org_Heigl\TextStatistics\Calculator\WienerSachtextFormel1Calculator;
35 32
 use Org_Heigl\TextStatistics\Calculator\WordCounter;
36
-use Org_Heigl\TextStatistics\Calculator\WordsWithNCharsCounter;
37
-use Org_Heigl\TextStatistics\Calculator\WordsWithNCharsPercentCalculator;
38
-use Org_Heigl\TextStatistics\Calculator\WordsWithNSyllablesCounter;
39 33
 use Org_Heigl\TextStatistics\Calculator\WordsWithNSyllablesPercentCalculator;
40
-use Org_Heigl\TextStatistics\Util\SyllableFilter;
41 34
 
42 35
 class WienerSachtextFormel3CalculatorFactory
43 36
 {
Please login to merge, or discard this patch.
src/Service/WienerSachtextFormel4CalculatorFactory.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -26,18 +26,11 @@
 block discarded – undo
26 26
 
27 27
 namespace Org_Heigl\TextStatistics\Service;
28 28
 
29
-use Org\Heigl\Hyphenator\Hyphenator;
30
-use Org\Heigl\Hyphenator\Options;
31 29
 use Org_Heigl\TextStatistics\Calculator\AverageSentenceLengthCalculator;
32 30
 use Org_Heigl\TextStatistics\Calculator\SentenceCounter;
33
-use Org_Heigl\TextStatistics\Calculator\SyllableCounter;
34 31
 use Org_Heigl\TextStatistics\Calculator\WienerSachtextFormel1Calculator;
35 32
 use Org_Heigl\TextStatistics\Calculator\WordCounter;
36
-use Org_Heigl\TextStatistics\Calculator\WordsWithNCharsCounter;
37
-use Org_Heigl\TextStatistics\Calculator\WordsWithNCharsPercentCalculator;
38
-use Org_Heigl\TextStatistics\Calculator\WordsWithNSyllablesCounter;
39 33
 use Org_Heigl\TextStatistics\Calculator\WordsWithNSyllablesPercentCalculator;
40
-use Org_Heigl\TextStatistics\Util\SyllableFilter;
41 34
 
42 35
 class WienerSachtextFormel4CalculatorFactory
43 36
 {
Please login to merge, or discard this patch.