Completed
Branch master (fece2f)
by Alexander
04:18
created
demos/Demo/Aspect/FluentInterfaceAspect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,6 +37,6 @@
 block discarded – undo
37 37
     {
38 38
         $result = $invocation->proceed();
39 39
 
40
-        return $result!==null ? $result : $invocation->getThis();
40
+        return $result !== null ? $result : $invocation->getThis();
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
demos/Demo/Aspect/FunctionInterceptorAspect.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Aspect;
12 12
 
Please login to merge, or discard this patch.
demos/Demo/Aspect/HealthyLiveAspect.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2012, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2012, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Aspect;
12 12
 
Please login to merge, or discard this patch.
demos/Demo/Aspect/Introduce/SerializableImpl.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2012, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2012, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Aspect\Introduce;
12 12
 
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
     public function unserialize($serialized)
35 35
     {
36 36
         $data = unserialize($serialized);
37
-        foreach($data as $key=>$value) {
37
+        foreach ($data as $key=>$value) {
38 38
             $this->$key = $value;
39 39
         }
40 40
     }
Please login to merge, or discard this patch.
demos/Demo/Aspect/IntroductionAspect.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Aspect;
12 12
 
Please login to merge, or discard this patch.
demos/Demo/Aspect/LoggingAspect.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Aspect;
12 12
 
@@ -39,9 +39,9 @@  discard block
 block discarded – undo
39 39
     public function beforeMethodExecution(MethodInvocation $invocation)
40 40
     {
41 41
         echo 'Calling Before Interceptor for ',
42
-             $invocation,
43
-             ' with arguments: ',
44
-             json_encode($invocation->getArguments()),
45
-             PHP_EOL;
42
+                $invocation,
43
+                ' with arguments: ',
44
+                json_encode($invocation->getArguments()),
45
+                PHP_EOL;
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
demos/Demo/Aspect/PropertyInterceptorAspect.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Aspect;
12 12
 
Please login to merge, or discard this patch.
demos/Demo/Example/CacheableDemo.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Example;
12 12
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function getReport($from)
32 32
     {
33 33
         // long calculation for 100ms
34
-        usleep(0.1*1e6);
34
+        usleep(0.1 * 1e6);
35 35
 
36 36
         return $from;
37 37
     }
Please login to merge, or discard this patch.
demos/Demo/Example/DynamicMethodsDemo.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Go! AOP framework
4
- *
5
- * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
- *
7
- * This source file is subject to the license that is bundled
8
- * with this source code in the file LICENSE.
9
- */
3
+     * Go! AOP framework
4
+     *
5
+     * @copyright Copyright 2014, Lisachenko Alexander <[email protected]>
6
+     *
7
+     * This source file is subject to the license that is bundled
8
+     * with this source code in the file LICENSE.
9
+     */
10 10
 
11 11
 namespace Demo\Example;
12 12
 
Please login to merge, or discard this patch.