Completed
Pull Request — master (#3527)
by Craig
10:00
created
CoreBundle/DependencyInjection/Compiler/RegisterCoreListenersPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 }
34 34
 
35 35
                 if (!isset($event['method'])) {
36
-                    $event['method'] = 'on'.preg_replace([
36
+                    $event['method'] = 'on' . preg_replace([
37 37
                         '/(?<=\b)[a-z]/ie',
38 38
                         '/[^a-z0-9]/i'
39 39
                     ], ['strtoupper("\\0")', ''], $event['event']);
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function __construct($debug)
31 31
     {
32
-        $this->debug = (bool) $debug;
32
+        $this->debug = (bool)$debug;
33 33
     }
34 34
 
35 35
     /**
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         ->fixXmlConfig('fallback')
57 57
         ->children()
58 58
         ->arrayNode('fallbacks')
59
-        ->beforeNormalization()->ifString()->then(function ($v) {
59
+        ->beforeNormalization()->ifString()->then(function($v) {
60 60
             return [$v];
61 61
         })->end()
62 62
         ->prototype('scalar')->end()
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Tests/Twig/Node/SwitchNodeTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     case 0:
64 64
         echo "case 0";
65 65
 }
66
-EOF
66
+eof
67 67
         ];
68 68
 
69 69
         // #2 switch with two cases, second with break
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         echo "case 1";
90 90
         break;
91 91
 }
92
-EOF
92
+eof
93 93
         ];
94 94
 
95 95
         // #3 switch with two cases (second with break) and default
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     default:
118 118
         echo "default case";
119 119
 }
120
-EOF
120
+eof
121 121
         ];
122 122
 
123 123
         // #4 switch with two cases (first without body, second with break) and default
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     default:
145 145
         echo "default case";
146 146
 }
147
-EOF
147
+eof
148 148
         ];
149 149
 
150 150
         return $tests;
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Tests/Functional/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
         $fs = new Filesystem();
28 28
         if (!$fs->isAbsolutePath($config)) {
29
-            $config = __DIR__.'/config/'.$config;
29
+            $config = __DIR__ . '/config/' . $config;
30 30
         }
31 31
 
32 32
         if (!file_exists($config)) {
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Tests/Bundle/MetaDataTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         }
119 119
     }
120 120
 }
121
-EOF
121
+eof
122 122
         ;
123 123
 
124 124
         return json_decode($json, true);
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/CoreBundle/Command/BootstrapBundlesCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
             ->setDescription('Loads bundles into persistences')
25 25
             ->setHelp(<<<'EOT'
26 26
 The <info>scan:bundles</info> command loads bundle table.
27
-EOT
27
+eot
28 28
             )
29 29
             ->setDefinition([
30 30
                 new InputArgument('create', InputArgument::OPTIONAL, 'Create schema'),
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/HookBundle/Tests/Dispatcher/SubscriberBundleTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         // Remove the following lines when you implement this test.
52 52
         $this->markTestIncomplete(
53
-          'This test has not been implemented yet.'
53
+            'This test has not been implemented yet.'
54 54
         );
55 55
     }
56 56
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         // Remove the following lines when you implement this test.
64 64
         $this->markTestIncomplete(
65
-          'This test has not been implemented yet.'
65
+            'This test has not been implemented yet.'
66 66
         );
67 67
     }
68 68
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     {
75 75
         // Remove the following lines when you implement this test.
76 76
         $this->markTestIncomplete(
77
-          'This test has not been implemented yet.'
77
+            'This test has not been implemented yet.'
78 78
         );
79 79
     }
80 80
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     {
87 87
         // Remove the following lines when you implement this test.
88 88
         $this->markTestIncomplete(
89
-          'This test has not been implemented yet.'
89
+            'This test has not been implemented yet.'
90 90
         );
91 91
     }
92 92
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     {
99 99
         // Remove the following lines when you implement this test.
100 100
         $this->markTestIncomplete(
101
-          'This test has not been implemented yet.'
101
+            'This test has not been implemented yet.'
102 102
         );
103 103
     }
104 104
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         // Remove the following lines when you implement this test.
112 112
         $this->markTestIncomplete(
113
-          'This test has not been implemented yet.'
113
+            'This test has not been implemented yet.'
114 114
         );
115 115
     }
116 116
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     {
123 123
         // Remove the following lines when you implement this test.
124 124
         $this->markTestIncomplete(
125
-          'This test has not been implemented yet.'
125
+            'This test has not been implemented yet.'
126 126
         );
127 127
     }
128 128
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     {
135 135
         // Remove the following lines when you implement this test.
136 136
         $this->markTestIncomplete(
137
-          'This test has not been implemented yet.'
137
+            'This test has not been implemented yet.'
138 138
         );
139 139
     }
140 140
 }
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/HookBundle/Tests/Dispatcher/HookTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     {
50 50
         // Remove the following lines when you implement this test.
51 51
         $this->markTestIncomplete(
52
-          'This test has not been implemented yet.'
52
+            'This test has not been implemented yet.'
53 53
         );
54 54
     }
55 55
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     {
62 62
         // Remove the following lines when you implement this test.
63 63
         $this->markTestIncomplete(
64
-          'This test has not been implemented yet.'
64
+            'This test has not been implemented yet.'
65 65
         );
66 66
     }
67 67
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     {
74 74
         // Remove the following lines when you implement this test.
75 75
         $this->markTestIncomplete(
76
-          'This test has not been implemented yet.'
76
+            'This test has not been implemented yet.'
77 77
         );
78 78
     }
79 79
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     {
86 86
         // Remove the following lines when you implement this test.
87 87
         $this->markTestIncomplete(
88
-          'This test has not been implemented yet.'
88
+            'This test has not been implemented yet.'
89 89
         );
90 90
     }
91 91
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     {
98 98
         // Remove the following lines when you implement this test.
99 99
         $this->markTestIncomplete(
100
-          'This test has not been implemented yet.'
100
+            'This test has not been implemented yet.'
101 101
         );
102 102
     }
103 103
 }
Please login to merge, or discard this patch.
src/lib/Zikula/Bundle/HookBundle/Tests/Dispatcher/ProviderBundleTest.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         // Remove the following lines when you implement this test.
52 52
         $this->markTestIncomplete(
53
-          'This test has not been implemented yet.'
53
+            'This test has not been implemented yet.'
54 54
         );
55 55
     }
56 56
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         // Remove the following lines when you implement this test.
64 64
         $this->markTestIncomplete(
65
-          'This test has not been implemented yet.'
65
+            'This test has not been implemented yet.'
66 66
         );
67 67
     }
68 68
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     {
75 75
         // Remove the following lines when you implement this test.
76 76
         $this->markTestIncomplete(
77
-          'This test has not been implemented yet.'
77
+            'This test has not been implemented yet.'
78 78
         );
79 79
     }
80 80
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     {
87 87
         // Remove the following lines when you implement this test.
88 88
         $this->markTestIncomplete(
89
-          'This test has not been implemented yet.'
89
+            'This test has not been implemented yet.'
90 90
         );
91 91
     }
92 92
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     {
99 99
         // Remove the following lines when you implement this test.
100 100
         $this->markTestIncomplete(
101
-          'This test has not been implemented yet.'
101
+            'This test has not been implemented yet.'
102 102
         );
103 103
     }
104 104
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         // Remove the following lines when you implement this test.
112 112
         $this->markTestIncomplete(
113
-          'This test has not been implemented yet.'
113
+            'This test has not been implemented yet.'
114 114
         );
115 115
     }
116 116
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     {
123 123
         // Remove the following lines when you implement this test.
124 124
         $this->markTestIncomplete(
125
-          'This test has not been implemented yet.'
125
+            'This test has not been implemented yet.'
126 126
         );
127 127
     }
128 128
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     {
135 135
         // Remove the following lines when you implement this test.
136 136
         $this->markTestIncomplete(
137
-          'This test has not been implemented yet.'
137
+            'This test has not been implemented yet.'
138 138
         );
139 139
     }
140 140
 
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     {
147 147
         // Remove the following lines when you implement this test.
148 148
         $this->markTestIncomplete(
149
-          'This test has not been implemented yet.'
149
+            'This test has not been implemented yet.'
150 150
         );
151 151
     }
152 152
 }
Please login to merge, or discard this patch.