Test Failed
Push — master ( 269f87...2a7ff4 )
by Adam
01:43
created
src/IPub/DoctrineBlameable/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           02.01.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Events/BlameableSubscriber.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @date           01.01.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Events;
18 18
 
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 		$classMetadata = $em->getClassMetadata(get_class($entity));
234 234
 
235 235
 		if ($config = $this->driver->getObjectConfigurations($em, $classMetadata->getName())) {
236
-			foreach(['update', 'create'] as $event) {
236
+			foreach (['update', 'create'] as $event) {
237 237
 				if (isset($config[$event])) {
238 238
 					$this->updateFields($config[$event], $uow, $entity, $classMetadata);
239 239
 				}
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
 		$user = $this->getUser();
381 381
 
382 382
 		if ($classMetadata->hasAssociation($field)) {
383
-			if ($user !== NULL && ! is_object($user)) {
383
+			if ($user !== NULL && !is_object($user)) {
384 384
 				throw new Exceptions\InvalidArgumentException("Blame is reference, user must be an object");
385 385
 			}
386 386
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/TEntityRemover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           29.01.14
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Entities;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/IEntityCreator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           10.11.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Entities;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/IEntityRemover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           07.01.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Entities;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/IEntityEditor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           11.11.15
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Entities;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Security/UserCallable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           05.01.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Security;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Exceptions/IException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           01.01.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Exceptions;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Exceptions/UnexpectedValueException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  * @date           04.01.16
13 13
  */
14 14
 
15
-declare(strict_types = 1);
15
+declare(strict_types=1);
16 16
 
17 17
 namespace IPub\DoctrineBlameable\Exceptions;
18 18
 
Please login to merge, or discard this patch.