Completed
Push — master ( 699e44...588880 )
by Adam
02:44 queued 39s
created
src/IPub/DoctrineBlameable/Entities/TEntityCreator.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/TEntityEditor.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/Exceptions/InvalidMappingException.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/InvalidArgumentException.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/Events/BlameableSubscriber.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\Events;
18 18
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/DI/DoctrineBlameableExtension.php 2 patches
Spacing   +4 added lines, -4 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\DI;
18 18
 
@@ -137,12 +137,12 @@  discard block
 block discarded – undo
137 137
 			is_array($entity)
138 138
 			&& $entity[0] instanceof DI\Definitions\ServiceDefinition
139 139
 		) { // [ServiceDefinition, ...] -> [@serviceName, ...]
140
-			$entity[0] = '@' . current(array_keys($builder->getDefinitions(), $entity[0], TRUE));
140
+			$entity[0] = '@'.current(array_keys($builder->getDefinitions(), $entity[0], TRUE));
141 141
 
142 142
 		} elseif (
143 143
 			$entity instanceof DI\Definitions\ServiceDefinition
144 144
 		) { // ServiceDefinition -> @serviceName
145
-			$entity = '@' . current(array_keys($builder->getDefinitions(), $entity, TRUE));
145
+			$entity = '@'.current(array_keys($builder->getDefinitions(), $entity, TRUE));
146 146
 
147 147
 		} elseif (
148 148
 			is_array($entity)
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 		) { // [$builder, ...] -> [@container, ...]
151 151
 			trigger_error("Replace object ContainerBuilder in Statement entity with '@container'.", E_USER_DEPRECATED);
152 152
 
153
-			$entity[0] = '@' . md5($entity);
153
+			$entity[0] = '@'.md5($entity);
154 154
 		}
155 155
 
156 156
 		return $entity;
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,9 @@
 block discarded – undo
17 17
 namespace IPub\DoctrineBlameable\DI;
18 18
 
19 19
 use Doctrine;
20
-
21 20
 use Nette;
22 21
 use Nette\DI;
23 22
 use Nette\Schema;
24
-
25 23
 use IPub\DoctrineBlameable;
26 24
 use IPub\DoctrineBlameable\Events;
27 25
 use IPub\DoctrineBlameable\Mapping;
Please login to merge, or discard this patch.