Completed
Push — master ( cefc4c...542ee6 )
by Daniel
06:07 queued 01:38
created
src/Metadata/ClassMetadata.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@
 block discarded – undo
10 10
 {
11 11
     private $roles = [];
12 12
 
13
+    /**
14
+     * @param string $name
15
+     */
13 16
     public function __construct(
14 17
         $name
15 18
     ) {
Please login to merge, or discard this patch.
bridge/doctrine-phpcr-odm/src/CollectionIdentifierUpdater.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Util\ClassUtils;
6 6
 use Doctrine\ODM\PHPCR\DocumentManagerInterface;
7
-use Doctrine\ODM\PHPCR\Event;
8
-use Metadata\MetadataFactory;
9 7
 use Metadata\MetadataFactoryInterface;
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
bridge/doctrine-phpcr-odm/tests/Functional/CollectionType/ObjectTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\ODM\PHPCR\ChildrenCollection;
6 6
 use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\Article;
7 7
 use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\ArticleWithRestrictedChildren;
8
-use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\Image;
9 8
 use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\ImageNotAssignedGenerator;
10 9
 
11 10
 class ObjectTest extends PhpcrOdmTestCase
Please login to merge, or discard this patch.
bridge/doctrine-phpcr-odm/tests/Functional/Container.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     private function loadDoctrineDbal()
37 37
     {
38
-        $this['dbal.connection'] = function () {
38
+        $this['dbal.connection'] = function() {
39 39
             return DriverManager::getConnection([
40 40
                 'driver'    => 'pdo_sqlite',
41 41
                 'path' => $this['config']['db_path'],
@@ -45,25 +45,25 @@  discard block
 block discarded – undo
45 45
 
46 46
     private function loadPhpcrOdm()
47 47
     {
48
-        $this['psi_content_type.storage.doctrine.phpcr_odm.property_encoder'] = function ($container) {
48
+        $this['psi_content_type.storage.doctrine.phpcr_odm.property_encoder'] = function($container) {
49 49
             return new PropertyEncoder('psict', 'https://github.com/psiphp/content-type');
50 50
         };
51 51
 
52
-        $this['psi_content_type.storage.doctrine.phpcr_odm.field_mapper'] = function ($container) {
52
+        $this['psi_content_type.storage.doctrine.phpcr_odm.field_mapper'] = function($container) {
53 53
             return new FieldMapper(
54 54
                 $container['psi_content_type.storage.doctrine.phpcr_odm.property_encoder'],
55 55
                 $container['psi_content_type.field_loader']
56 56
             );
57 57
         };
58 58
 
59
-        $this['psi_content_type.storage.doctrine.phpcr_odm.collection_updater'] = function ($container) {
59
+        $this['psi_content_type.storage.doctrine.phpcr_odm.collection_updater'] = function($container) {
60 60
             return new CollectionIdentifierUpdater(
61 61
                 $container['psi_content_type.metadata.factory'],
62 62
                 $container['psi_content_type.storage.doctrine.phpcr_odm.property_encoder']
63 63
             );
64 64
         };
65 65
 
66
-        $this['doctrine_phpcr.document_manager'] = function ($container) {
66
+        $this['doctrine_phpcr.document_manager'] = function($container) {
67 67
             $registerNodeTypes = false;
68 68
 
69 69
             // automatically setup the schema if the db doesn't exist yet.
Please login to merge, or discard this patch.
bridge/doctrine-phpcr-odm/src/PropertyEncoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\ContentType\View;
6 6
 
Please login to merge, or discard this patch.
bridge/doctrine-phpcr-odm/src/NodeTypeRegistrator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\ContentType\View;
6 6
 
Please login to merge, or discard this patch.
bridge/doctrine-phpcr-odm/src/FieldMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\ContentType\View;
6 6
 
Please login to merge, or discard this patch.
src/Standard/Field/IntegerField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\ContentType\View;
6 6
 
Please login to merge, or discard this patch.
src/Standard/Field/TextField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\ContentType\View;
6 6
 
Please login to merge, or discard this patch.