Completed
Branch master (25a17b)
by Karsten
02:55
created
src/PeekAndPoke/Component/Psi/Psi.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 06.05.2015 16:09
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 06.05.2015 16:09
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi;
8 8
 
9 9
 use PeekAndPoke\Component\Psi\Exception\PsiException;
Please login to merge, or discard this patch.
src/PeekAndPoke/Component/Psi/PsiFactory.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 11.05.2015 07:05
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 11.05.2015 07:05
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi;
8 8
 
9 9
 use PeekAndPoke\Component\Psi\Exception\PsiException;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $count = count($iteratables);
35 35
 
36 36
         if ($count == 1) {
37
-            return $this->createSingleIterator($iteratables[0]);
37
+            return $this->createSingleIterator($iteratables[ 0 ]);
38 38
         }
39 39
 
40 40
         if ($count > 1) {
Please login to merge, or discard this patch.
src/PeekAndPoke/Component/Psi/PsiOptions.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 12.06.2015 09:51
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 12.06.2015 09:51
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
src/PeekAndPoke/Component/Psi/Solver/DefaultOperationChainSolver.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 06.05.2015 22:56
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 06.05.2015 22:56
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi\Solver;
8 8
 
9 9
 use PeekAndPoke\Component\Psi\Interfaces\Operation\FullSetOperationInterface;
Please login to merge, or discard this patch.
src/PeekAndPoke/Horizons/DateAndTime/LocalDate.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 11.03.2015 14:51
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 11.03.2015 14:51
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Horizons\DateAndTime;
8 8
 
9 9
 /**
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function __construct($input, $timezone)
61 61
     {
62
-        if (! $timezone instanceof \DateTimeZone) {
62
+        if ( ! $timezone instanceof \DateTimeZone) {
63 63
             $timezone = new \DateTimeZone((string) $timezone);
64 64
         }
65 65
 
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
      */
346 346
     public function addInterval($interval)
347 347
     {
348
-        if (!$interval instanceof \DateInterval) {
348
+        if ( ! $interval instanceof \DateInterval) {
349 349
             $interval = new \DateInterval($interval);
350 350
         }
351 351
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      */
363 363
     public function subInterval($interval)
364 364
     {
365
-        if (!$interval instanceof \DateInterval) {
365
+        if ( ! $interval instanceof \DateInterval) {
366 366
             $interval = new \DateInterval($interval);
367 367
         }
368 368
 
@@ -382,9 +382,9 @@  discard block
 block discarded – undo
382 382
         // This is a work-around for the day-light-saving shift days
383 383
         // If we would use minutesIntoDay and then add those to startOfDay, we loose one hour.
384 384
         // Example would be '2015-03-29 11:20' with tz 'Europe/Berlin' would result in '2015-03-29 10:00'
385
-        $minutesIntoDay = ((int)$this->date->format('H') * 60) + ((int)$this->date->format('i'));
385
+        $minutesIntoDay = ((int) $this->date->format('H') * 60) + ((int) $this->date->format('i'));
386 386
         // cut off partial intervals
387
-        $corrected = ((int)($minutesIntoDay / $minutesInterval)) * $minutesInterval;
387
+        $corrected = ((int) ($minutesIntoDay / $minutesInterval)) * $minutesInterval;
388 388
 
389 389
         return $this->getStartOfDay()->modifyByMinutes($corrected);
390 390
     }
Please login to merge, or discard this patch.
src/PeekAndPoke/Component/Psi/Functions/Unary/Matcher/EqualTo.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 29.05.2015 21:25
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 29.05.2015 21:25
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi\Functions\Unary\Matcher;
8 8
 
9 9
 use PeekAndPoke\Component\Psi\Functions\Unary\AbstractParameterisedUnaryFunction;
Please login to merge, or discard this patch.
src/PeekAndPoke/Component/Psi/Functions/Unary/Matcher/GreaterThan.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 29.05.2015 21:25
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 29.05.2015 21:25
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi\Functions\Unary\Matcher;
8 8
 
9 9
 use PeekAndPoke\Component\Psi\Functions\Unary\AbstractParameterisedUnaryFunction;
Please login to merge, or discard this patch.
PeekAndPoke/Component/Psi/Functions/Unary/Matcher/GreaterThanOrEqual.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 29.05.2015 21:25
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 29.05.2015 21:25
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi\Functions\Unary\Matcher;
8 8
 
9 9
 use PeekAndPoke\Component\Psi\Functions\Unary\AbstractParameterisedUnaryFunction;
Please login to merge, or discard this patch.
src/PeekAndPoke/Component/Psi/Functions/Unary/Matcher/IsEmpty.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * File was created 29.05.2015 21:06
4
- *
5
- * @author Karsten J. Gerber <[email protected]>
6
- */
3
+     * File was created 29.05.2015 21:06
4
+     *
5
+     * @author Karsten J. Gerber <[email protected]>
6
+     */
7 7
 namespace PeekAndPoke\Component\Psi\Functions\Unary\TypeCheck;
8 8
 
9 9
 use PeekAndPoke\Component\Psi\Functions\Unary\AbstractUnaryFunction;
Please login to merge, or discard this patch.