Completed
Push — master ( ce9d05...4a4f85 )
by Adam
102:44 queued 91:48
created
src/IPub/DoctrineBlameable/DI/DoctrineBlameableExtension.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * DoctrineBlameableExtension.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec <[email protected]>
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     DI
10
- * @since          1.0.0
11
- *
12
- * @date           01.01.16
13
- */
3
+	 * DoctrineBlameableExtension.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec <[email protected]>
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     DI
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           01.01.16
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\DI;
16 16
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/IEntityAuthor.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * IEntityAuthor.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec http://www.ipublikuj.eu
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     Entities
10
- * @since          1.0.0
11
- *
12
- * @date           10.11.15
13
- */
3
+	 * IEntityAuthor.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec http://www.ipublikuj.eu
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     Entities
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           10.11.15
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\Entities;
16 16
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/IEntityEditor.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * IEntityEditor.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec http://www.ipublikuj.eu
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     Entities
10
- * @since          1.0.0
11
- *
12
- * @date           11.11.15
13
- */
3
+	 * IEntityEditor.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec http://www.ipublikuj.eu
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     Entities
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           11.11.15
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\Entities;
16 16
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/TEntityAuthor.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TEntityAuthor.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec http://www.ipublikuj.eu
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     Entities
10
- * @since          1.0.0
11
- *
12
- * @date           29.01.14
13
- */
3
+	 * TEntityAuthor.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec http://www.ipublikuj.eu
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     Entities
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           29.01.14
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\Entities;
16 16
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Entities/TEntityEditor.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TEntityEditor.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec http://www.ipublikuj.eu
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     Entities
10
- * @since          1.0.0
11
- *
12
- * @date           29.01.14
13
- */
3
+	 * TEntityEditor.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec http://www.ipublikuj.eu
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     Entities
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           29.01.14
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\Entities;
16 16
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Events/BlameableListener.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * BlameableListener.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec http://www.ipublikuj.eu
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     Events
10
- * @since          1.0.0
11
- *
12
- * @date           01.01.16
13
- */
3
+	 * BlameableListener.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec http://www.ipublikuj.eu
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     Events
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           01.01.16
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\Events;
16 16
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
 		$user = $this->getUser();
319 319
 
320 320
 		if ($classMetadata->hasAssociation($field)) {
321
-			if ($user !== NULL && ! is_object($user)) {
321
+			if ($user !== NULL && !is_object($user)) {
322 322
 				throw new Exceptions\InvalidArgumentException("Blame is reference, user must be an object");
323 323
 			}
324 324
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Mapping/Driver/Blameable.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 	/**
304 304
 	 * Create default annotation reader for extensions
305 305
 	 *
306
-	 * @return Common\Annotations\AnnotationReader
306
+	 * @return Common\Annotations\CachedReader
307 307
 	 */
308 308
 	private function getDefaultAnnotationReader()
309 309
 	{
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
 	/**
322 322
 	 * Checks if $field type is valid
323 323
 	 *
324
-	 * @param object $meta
324
+	 * @param ORM\Mapping\ClassMetadata $meta
325 325
 	 * @param string $field
326 326
 	 *
327 327
 	 * @return boolean
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,9 @@
 block discarded – undo
15 15
 namespace IPub\DoctrineBlameable\Mapping\Driver;
16 16
 
17 17
 use Nette;
18
-
19 18
 use Doctrine;
20 19
 use Doctrine\Common;
21 20
 use Doctrine\ORM;
22
-
23 21
 use IPub;
24 22
 use IPub\DoctrineBlameable;
25 23
 use IPub\DoctrineBlameable\Exceptions;
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Blameable.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec http://www.ipublikuj.eu
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     Driver
10
- * @since          1.0.0
11
- *
12
- * @date           05.01.16
13
- */
3
+	 * Blameable.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec http://www.ipublikuj.eu
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     Driver
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           05.01.16
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\Mapping\Driver;
16 16
 
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Security/UserCallable.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * UserCallable.php
4
- *
5
- * @copyright      More in license.md
6
- * @license        http://www.ipublikuj.eu
7
- * @author         Adam Kadlec http://www.ipublikuj.eu
8
- * @package        iPublikuj:DoctrineBlameable!
9
- * @subpackage     Security
10
- * @since          1.0.0
11
- *
12
- * @date           05.01.16
13
- */
3
+	 * UserCallable.php
4
+	 *
5
+	 * @copyright      More in license.md
6
+	 * @license        http://www.ipublikuj.eu
7
+	 * @author         Adam Kadlec http://www.ipublikuj.eu
8
+	 * @package        iPublikuj:DoctrineBlameable!
9
+	 * @subpackage     Security
10
+	 * @since          1.0.0
11
+	 *
12
+	 * @date           05.01.16
13
+	 */
14 14
 
15 15
 namespace IPub\DoctrineBlameable\Security;
16 16
 
Please login to merge, or discard this patch.