Completed
Push — version2.0 ( af5a57...2f739c )
by Sebastian
06:52
created
src/Seboettg/CiteProc/Locale/Locale.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Seboettg\CiteProc\Locale;
3 3
 use Seboettg\CiteProc\Util\Factory;
4
-use Seboettg\Collection\ArrayList;
5 4
 
6 5
 /**
7 6
  */
Please login to merge, or discard this patch.
src/Seboettg/CiteProc/Rendering/Text.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Seboettg\CiteProc\Styles\AffixesTrait;
6 6
 use Seboettg\CiteProc\Styles\DisplayTrait;
7 7
 use Seboettg\CiteProc\Styles\FormattingTrait;
8
-use Seboettg\CiteProc\Styles\QuotesTrait;
9 8
 use Seboettg\CiteProc\Styles\TextCaseTrait;
10 9
 
11 10
 
Please login to merge, or discard this patch.
src/Seboettg/CiteProc/Constraint/IsNumeric.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,15 +48,12 @@
 block discarded – undo
48 48
     {
49 49
         if (is_numeric($evalValue)) {
50 50
             return true;
51
-        }
52
-        else if (preg_match(Number::PATTERN_ORDINAL, $evalValue)) {
51
+        } else if (preg_match(Number::PATTERN_ORDINAL, $evalValue)) {
53 52
             $numberFormatter = new NumberFormatter(CiteProc::getContext()->getLocale()->getLanguage(), NumberFormatter::ORDINAL);
54 53
             return $numberFormatter->parse($evalValue) !== false;
55
-        }
56
-        else if (preg_match(Number::PATTERN_ROMAN, $evalValue)) {
54
+        } else if (preg_match(Number::PATTERN_ROMAN, $evalValue)) {
57 55
             return Number::roman2Dec($evalValue) !== false;
58
-        }
59
-        else if (preg_match(Number::PATTERN_COMMA_AMPERSAND_RANGE, $evalValue)){
56
+        } else if (preg_match(Number::PATTERN_COMMA_AMPERSAND_RANGE, $evalValue)){
60 57
             return true;
61 58
         }
62 59
         return false;
Please login to merge, or discard this patch.
src/Seboettg/CiteProc/Styles/FormattingTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
             foreach ($this->formattingOptions as $option => $optionValue) {
59 59
                 if ($optionValue === "italic") {
60 60
                     $text = "<i>$text</i>";
61
-                }
62
-                else if ($optionValue === "bold") {
61
+                } else if ($optionValue === "bold") {
63 62
                     $text = "<b>$text</b>";
64 63
                 } else {
65 64
                     $format .= "$option:$optionValue;";
Please login to merge, or discard this patch.