Completed
Push — master ( e1bb9e...9b8b5d )
by Guilherme
12:19 queued 05:19
created
lib/Doctrine/ORM/Reflection/RuntimeReflectionService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function getParentClasses(string $className) : array
20 20
     {
21
-        if (! class_exists($className)) {
21
+        if ( ! class_exists($className)) {
22 22
             throw MappingException::nonExistingClass($className);
23 23
         }
24 24
 
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Repository/DefaultRepositoryFactory.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
     public function getRepository(EntityManagerInterface $entityManager, $entityName)
28 28
     {
29
-        $repositoryHash = $entityManager->getClassMetadata($entityName)->getClassName() . spl_object_id($entityManager);
29
+        $repositoryHash = $entityManager->getClassMetadata($entityName)->getClassName().spl_object_id($entityManager);
30 30
 
31 31
         return $this->repositoryList[$repositoryHash]
32 32
                 ?? $this->repositoryList[$repositoryHash] = $this->createRepository($entityManager, $entityName);
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Repository/Exception/InvalidMagicMethodCall.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
         string $method
15 15
     ) : self {
16 16
         return new self(
17
-            "Entity '" . $entityName . "' has no field '" . $fieldName . "'. " .
18
-            "You can therefore not call '" . $method . "' on the entities' repository."
17
+            "Entity '".$entityName."' has no field '".$fieldName."'. ".
18
+            "You can therefore not call '".$method."' on the entities' repository."
19 19
         );
20 20
     }
21 21
 
22 22
     public static function onMissingParameter(string $methodName) : self
23 23
     {
24
-        return new self("You need to pass a parameter to '" . $methodName . "'");
24
+        return new self("You need to pass a parameter to '".$methodName."'");
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Repository/Exception/InvalidFindByCall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         string $associationFieldName
14 14
     ) : self {
15 15
         return new self(
16
-            "You cannot search for the association field '" . $entityName . '#' . $associationFieldName . "', " .
16
+            "You cannot search for the association field '".$entityName.'#'.$associationFieldName."', ".
17 17
             'because it is the inverse side of an association. Find methods only work on owning side associations.'
18 18
         );
19 19
     }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/Expr/OrderBy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     public function add($sort, $order = null)
46 46
     {
47 47
         $order         = ! $order ? 'ASC' : $order;
48
-        $this->parts[] = $sort . ' ' . $order;
48
+        $this->parts[] = $sort.' '.$order;
49 49
     }
50 50
 
51 51
     /**
@@ -69,6 +69,6 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function __toString()
71 71
     {
72
-        return $this->preSeparator . implode($this->separator, $this->parts) . $this->postSeparator;
72
+        return $this->preSeparator.implode($this->separator, $this->parts).$this->postSeparator;
73 73
     }
74 74
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/ASTException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
      */
20 20
     public static function noDispatchForNode($node)
21 21
     {
22
-        return new self('Double-dispatch for node ' . get_class($node) . ' is not supported.');
22
+        return new self('Double-dispatch for node '.get_class($node).' is not supported.');
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/Functions/IdentityFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $tableAlias       = $sqlWalker->getSQLTableAlias($tableName, $dqlAlias);
69 69
         $quotedColumnName = $platform->quoteIdentifier($joinColumn->getColumnName());
70 70
 
71
-        return $tableAlias . '.' . $quotedColumnName;
71
+        return $tableAlias.'.'.$quotedColumnName;
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/Functions/SizeFunction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             $targetTableAlias = $sqlWalker->getSQLTableAlias($targetClass->getTableName());
45 45
             $sourceTableAlias = $sqlWalker->getSQLTableAlias($class->getTableName(), $dqlAlias);
46 46
 
47
-            $sql .= $targetTableName . ' ' . $targetTableAlias . ' WHERE ';
47
+            $sql .= $targetTableName.' '.$targetTableAlias.' WHERE ';
48 48
 
49 49
             $owningAssociation = $targetClass->getProperty($association->getMappedBy());
50 50
             $first             = true;
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             }
79 79
 
80 80
             // join to target table
81
-            $sql .= $joinTableName . ' ' . $joinTableAlias . ' WHERE ';
81
+            $sql .= $joinTableName.' '.$joinTableAlias.' WHERE ';
82 82
 
83 83
             $joinColumns = $association->isOwningSide()
84 84
                 ? $joinTable->getJoinColumns()
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
             }
105 105
         }
106 106
 
107
-        return '(' . $sql . ')';
107
+        return '('.$sql.')';
108 108
     }
109 109
 
110 110
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Query/AST/Functions/AbsFunction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
      */
24 24
     public function getSql(SqlWalker $sqlWalker)
25 25
     {
26
-        return 'ABS(' . $sqlWalker->walkSimpleArithmeticExpression(
26
+        return 'ABS('.$sqlWalker->walkSimpleArithmeticExpression(
27 27
             $this->simpleArithmeticExpression
28
-        ) . ')';
28
+        ).')';
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.