Completed
Push — master ( 1e9486...bfbbca )
by Julián
02:20
created
src/EntityManagerBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      *
158 158
      * @throws \InvalidArgumentException
159 159
      */
160
-    protected static function setupNamingStrategy(Configuration &$config, array $options)
160
+    protected static function setupNamingStrategy(Configuration&$config, array $options)
161 161
     {
162 162
         $namingStrategy = $options['naming_strategy'] ?: new UnderscoreNamingStrategy(CASE_LOWER);
163 163
         if (!$namingStrategy instanceof NamingStrategy) {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      * @param \Doctrine\ORM\Configuration $config
174 174
      * @param array                       $options
175 175
      */
176
-    protected static function setupProxy(Configuration &$config, array $options)
176
+    protected static function setupProxy(Configuration&$config, array $options)
177 177
     {
178 178
         if ($options['proxies_namespace']) {
179 179
             $config->setProxyNamespace($options['proxies_namespace']);
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      * @param \Doctrine\ORM\Configuration $config
189 189
      * @param array                       $options
190 190
      */
191
-    protected static function setupSQLLogger(Configuration &$config, array $options)
191
+    protected static function setupSQLLogger(Configuration&$config, array $options)
192 192
     {
193 193
         if ($options['sql_logger']) {
194 194
             $config->setSQLLogger($options['sql_logger']);
Please login to merge, or discard this patch.
tests/Doctrine/EntityManagerBuilderTest.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Slim3 Doctrine integration (https://github.com/juliangut/slim-doctrine)
4
- *
5
- * @link https://github.com/juliangut/slim-doctrine for the canonical source repository
6
- *
7
- * @license https://raw.githubusercontent.com/juliangut/slim-doctrine/master/LICENSE
8
- */
3
+     * Slim3 Doctrine integration (https://github.com/juliangut/slim-doctrine)
4
+     *
5
+     * @link https://github.com/juliangut/slim-doctrine for the canonical source repository
6
+     *
7
+     * @license https://raw.githubusercontent.com/juliangut/slim-doctrine/master/LICENSE
8
+     */
9 9
 
10 10
 require_once __DIR__ . '/../vendor/autoload.php';
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@  discard block
 block discarded – undo
40 40
     public function testNoMetadata()
41 41
     {
42 42
         $options = [
43
-            'annotation_files' => [dirname(__DIR__) . '/files/fakeAnnotationFile.php'],
43
+            'annotation_files' => [dirname(__DIR__).'/files/fakeAnnotationFile.php'],
44 44
             'annotation_namespaces' => ['\Jgut\Slim\Doctrine'],
45
-            'annotation_autoloaders' => [function () {
45
+            'annotation_autoloaders' => [function() {
46 46
             }],
47 47
         ];
48 48
 
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 'driver' => 'pdo_sqlite',
114 114
                 'memory' => true,
115 115
             ],
116
-            'xml_paths' => [dirname(__DIR__) . '/files/fakeAnnotationFile.php'],
116
+            'xml_paths' => [dirname(__DIR__).'/files/fakeAnnotationFile.php'],
117 117
         ];
118 118
 
119 119
         $this->assertInstanceOf('\Doctrine\ORM\EntityManager', EntityManagerBuilder::build($options));
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
                 'driver' => 'pdo_sqlite',
131 131
                 'memory' => true,
132 132
             ],
133
-            'yaml_paths' => [dirname(__DIR__) . '/files/fakeAnnotationFile.php'],
133
+            'yaml_paths' => [dirname(__DIR__).'/files/fakeAnnotationFile.php'],
134 134
         ];
135 135
 
136 136
         $this->assertInstanceOf('\Doctrine\ORM\EntityManager', EntityManagerBuilder::build($options));
Please login to merge, or discard this patch.