Passed
Push — master ( adbdf0...c27341 )
by Samuel
53s
created
src/Recurrence/Rrule/Extractor/AbstractExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public function throwExceptionOnInvalidParameter($rRule, $ruleKey)
36 36
     {
37 37
         if ((preg_match(sprintf('/%s=([\d\w]+)/', $ruleKey), $rRule, $matches) === 1)) {
38
-            throw new InvalidRruleException($ruleKey, ((count($matches) > 0)? implode(', ', array_slice($matches, 1)) : ''));
38
+            throw new InvalidRruleException($ruleKey, ((count($matches) > 0) ? implode(', ', array_slice($matches, 1)) : ''));
39 39
         }
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/Recurrence/Rrule/Transformer/CountTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     protected function validate(array $values)
31 31
     {
32 32
         if (!isset($values[0]) || !is_numeric($values[0])) {
33
-            throw new InvalidRruleException(CountExtractor::RRULE_PARAMETER, ((isset($values[0]))? (string) $values[0] : ''));
33
+            throw new InvalidRruleException(CountExtractor::RRULE_PARAMETER, ((isset($values[0])) ? (string) $values[0] : ''));
34 34
         }
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Recurrence/Rrule/Transformer/IntervalTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     protected function validate(array $values)
20 20
     {
21 21
         if (!isset($values[0]) || !is_numeric($values[0])) {
22
-            throw new InvalidRruleException(IntervalExtractor::RRULE_PARAMETER, ((isset($values[0]))? (string) $values[0] : ''));
22
+            throw new InvalidRruleException(IntervalExtractor::RRULE_PARAMETER, ((isset($values[0])) ? (string) $values[0] : ''));
23 23
         }
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
src/Recurrence/Rrule/RecurrenceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         try {
62 62
             RecurrenceValidator::validate($recurrence);
63
-        } catch (InvalidRecurrenceException $e)  {
63
+        } catch (InvalidRecurrenceException $e) {
64 64
             throw new InvalidRruleExpressionException($e->getMessage());
65 65
         }
66 66
 
Please login to merge, or discard this patch.