Completed
Push — master ( e5d9c4...8f98c9 )
by Julián
02:10
created
src/EntityManagerBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @param array $options
62 62
      * @throws \InvalidArgumentException
63 63
      */
64
-    protected static function setupNamingStrategy(Configuration &$config, array $options = [])
64
+    protected static function setupNamingStrategy(Configuration&$config, array $options = [])
65 65
     {
66 66
         $namingStrategy = self::getOption($options, 'naming_strategy') ?: new UnderscoreNamingStrategy();
67 67
         if (!$namingStrategy instanceof NamingStrategy) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      *
107 107
      * @return bool
108 108
      */
109
-    protected static function setupMetadataDriver(Configuration &$config, array $options = [])
109
+    protected static function setupMetadataDriver(Configuration&$config, array $options = [])
110 110
     {
111 111
         $annotationPaths = self::getOption($options, 'annotation_paths');
112 112
         if ($annotationPaths) {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * @param \Doctrine\ORM\Configuration $config
133 133
      * @param array $options
134 134
      */
135
-    protected static function setupProxy(Configuration &$config, array $options = [])
135
+    protected static function setupProxy(Configuration&$config, array $options = [])
136 136
     {
137 137
         $proxiesNamespace = self::getOption($options, 'proxies_namespace');
138 138
         if ($proxiesNamespace) {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * @param \Doctrine\ORM\Configuration $config
151 151
      * @param array $options
152 152
      */
153
-    protected static function setupSQLLogger(Configuration &$config, array $options = [])
153
+    protected static function setupSQLLogger(Configuration&$config, array $options = [])
154 154
     {
155 155
         $sqlLogger = self::getOption($options, 'sql_logger');
156 156
         if ($sqlLogger) {
Please login to merge, or discard this patch.
tests/Doctrine/EntitytManagerBuilderTest.php 2 patches
Indentation   +5 added lines, -5 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
- * @license https://raw.githubusercontent.com/juliangut/slim-doctrine/master/LICENSE
7
- */
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
+     * @license https://raw.githubusercontent.com/juliangut/slim-doctrine/master/LICENSE
7
+     */
8 8
 
9 9
 namespace Jgut\Slim\Doctrine\Tests;
10 10
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,9 +52,9 @@  discard block
 block discarded – undo
52 52
     public function testNoMetadataDriver()
53 53
     {
54 54
         $options = [
55
-            'annotation_files' => [dirname(__DIR__) . '/files/fakeAnnotationFile.php'],
55
+            'annotation_files' => [dirname(__DIR__).'/files/fakeAnnotationFile.php'],
56 56
             'annotation_namespaces' => ['\Jgut\Slim\Doctrine'],
57
-            'annotation_autoloaders' => [function () {
57
+            'annotation_autoloaders' => [function() {
58 58
             }],
59 59
         ];
60 60
 
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
     {
71 71
         $options = [
72 72
             'annotation_paths' => sys_get_temp_dir(),
73
-            'xml_paths' => [dirname(__DIR__) . '/files/fakeAnnotationFile.php'],
74
-            'yaml_paths' => [dirname(__DIR__) . '/files/fakeAnnotationFile.php'],
73
+            'xml_paths' => [dirname(__DIR__).'/files/fakeAnnotationFile.php'],
74
+            'yaml_paths' => [dirname(__DIR__).'/files/fakeAnnotationFile.php'],
75 75
         ];
76 76
 
77 77
         EntityManagerBuilder::build($options);
Please login to merge, or discard this patch.
tests/bootstrap.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 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
- * @license https://raw.githubusercontent.com/juliangut/slim-doctrine/master/LICENSE
7
- */
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
+     * @license https://raw.githubusercontent.com/juliangut/slim-doctrine/master/LICENSE
7
+     */
8 8
 
9 9
 require_once __DIR__ . '/../vendor/autoload.php';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,4 +6,4 @@
 block discarded – undo
6 6
  * @license https://raw.githubusercontent.com/juliangut/slim-doctrine/master/LICENSE
7 7
  */
8 8
 
9
-require_once __DIR__ . '/../vendor/autoload.php';
9
+require_once __DIR__.'/../vendor/autoload.php';
Please login to merge, or discard this patch.