Completed
Push — master ( 881e5b...2852bd )
by Paweł
01:55
created
src/PDODbAdapter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     /**
18 18
      * {@inheritdoc}
19
-    */
19
+     */
20 20
     public function executeCommand(string $command, array $parameters = array())
21 21
     {
22 22
         $this->executeParameterisedQuery($command, $parameters);
Please login to merge, or discard this patch.
src/FieldNameMapperInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
  */
8 8
 interface FieldNameMapperInterface
9 9
 {
10
-	public function map(string $getterName) : string;
10
+    public function map(string $getterName) : string;
11 11
 }
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
src/QueryAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     {
31 31
         $queryResult = $this->dbAdapter->executeQuery($query, $parameters);
32 32
         $entities = [];
33
-        foreach($queryResult as $resultItem) {
33
+        foreach ($queryResult as $resultItem) {
34 34
             $entities[] = $this->entityMapper->map($resultItem, $entityDefinition);
35 35
         }
36 36
 
Please login to merge, or discard this patch.
src/FieldNameMappers/StripGet.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
 
9 9
 final class StripGet implements FieldNameMapperInterface
10 10
 {
11
-	public function map(string $getterName) : string
12
-	{
13
-		return lcfirst(substr($getterName, 3));
14
-	}
11
+    public function map(string $getterName) : string
12
+    {
13
+        return lcfirst(substr($getterName, 3));
14
+    }
15 15
 }
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Agares\MicroORM\FieldNameMappers;
6 6
 
Please login to merge, or discard this patch.
src/FieldNameMappers/ToUnderscores.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -8,14 +8,14 @@
 block discarded – undo
8 8
 
9 9
 final class ToUnderscores implements FieldNameMapperInterface
10 10
 {
11
-	public function map(string $getterName) : string
12
-	{
13
-		return preg_replace_callback(
14
-			'/[A-Z]/',
15
-			function($x) {
16
-				return '_'.strtolower($x[0]);
17
-			},
18
-			lcfirst(substr($getterName, 3))
19
-		);
20
-	}
11
+    public function map(string $getterName) : string
12
+    {
13
+        return preg_replace_callback(
14
+            '/[A-Z]/',
15
+            function($x) {
16
+                return '_'.strtolower($x[0]);
17
+            },
18
+            lcfirst(substr($getterName, 3))
19
+        );
20
+    }
21 21
 }
22 22
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Agares\MicroORM\FieldNameMappers;
6 6
 
Please login to merge, or discard this patch.