Passed
Branch master (0cd10a)
by Vincent
09:26
created
src/Aop/TransactionalInterceptor.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
             // have been invoked.
104 104
             $this->logger->warning(
105 105
                 'Transactional interceptor was invoked, but no annotation was found for method \'' .
106
-                 $methodDefinition->getDeclaringClass()->getName() . '::' . $methodDefinition->getName() . '\''
106
+                    $methodDefinition->getDeclaringClass()->getName() . '::' . $methodDefinition->getName() . '\''
107 107
             );
108 108
         }
109 109
 
Please login to merge, or discard this patch.
src/Test/Aop/TransactionalInterceptorTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
         $this->entityManager->expects(static::exactly(2))->method('commit');
141 141
         $this->entityManager->expects(static::never())->method('rollback');
142 142
 
143
-        $nestedTransaction = function ($class, $instance)
143
+        $nestedTransaction = function($class, $instance)
144 144
         {
145 145
             $this->transactionalInterceptor->intercept(
146 146
                 new MethodInvocation($class->getMethod('aMethod'), $instance, array(), array()));
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
         $this->entityManager->expects(static::exactly(2))->method('commit');
181 181
         $this->entityManager->expects(static::never())->method('rollback');
182 182
 
183
-        $nestedTransaction = function ($class, $instance)
183
+        $nestedTransaction = function($class, $instance)
184 184
         {
185 185
             $this->transactionalInterceptor->intercept(
186 186
                 new MethodInvocation($class->getMethod('aMethod'), $instance, array(), array()));
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
         $this->reader->expects(static::once())->method('getMethodAnnotation')->willReturn(null);
249 249
         $this->reader->expects(static::once())->method('getClassAnnotation')->willReturn($annotation);
250 250
         $this->container->expects(static::exactly(2))->method('getParameter')->willReturnCallback(
251
-            function ($parameter) use($exceptionClassName)
251
+            function($parameter) use($exceptionClassName)
252 252
             {
253 253
                 if ($parameter === (Configuration::ROOT_NODE_NAME . '.' . Configuration::DEFAULT_POLICY)) {
254 254
                     $value = Transactional::REQUIRED;
Please login to merge, or discard this patch.