Failed Conditions
Pull Request — develop (#6935)
by Michael
65:23
created
tests/Doctrine/Tests/ORM/Functional/Ticket/GH6362Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/GH5887Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC513Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC837Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC371Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1719Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC192Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2943Test.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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC719Test.php 2 patches
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 Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.
Indentation   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -54,65 +54,65 @@
 block discarded – undo
54 54
     /** @ORM\Column(type="string", nullable=false) */
55 55
     protected $name;
56 56
 
57
-	/** @ORM\Column(type="string", nullable=true) */
58
-	protected $description;
59
-
60
-	/**
61
-	 * @ORM\ManyToMany(targetEntity="DDC719Group", inversedBy="parents")
62
-	 * @ORM\JoinTable(name="groups_groups",
63
-	 * 		joinColumns={@ORM\JoinColumn(name="parent_id", referencedColumnName="id")},
64
-	 * 		inverseJoinColumns={@ORM\JoinColumn(name="child_id", referencedColumnName="id")}
65
-	 * )
66
-	 */
67
-	protected $children;
68
-
69
-	/**
70
-	 * @ORM\ManyToMany(targetEntity="DDC719Group", mappedBy="children")
71
-	 */
72
-	protected $parents;
73
-
74
-	/**
75
-	 * construct
76
-	 */
77
-	public function __construct() {
78
-		parent::__construct();
79
-
80
-		$this->channels = new ArrayCollection();
81
-		$this->children = new ArrayCollection();
82
-		$this->parents = new ArrayCollection();
83
-	}
84
-
85
-	/**
86
-	 * adds group as new child
87
-	 *
88
-	 * @param Group $child
89
-	 */
90
-	public function addGroup(Group $child) {
57
+    /** @ORM\Column(type="string", nullable=true) */
58
+    protected $description;
59
+
60
+    /**
61
+     * @ORM\ManyToMany(targetEntity="DDC719Group", inversedBy="parents")
62
+     * @ORM\JoinTable(name="groups_groups",
63
+     * 		joinColumns={@ORM\JoinColumn(name="parent_id", referencedColumnName="id")},
64
+     * 		inverseJoinColumns={@ORM\JoinColumn(name="child_id", referencedColumnName="id")}
65
+     * )
66
+     */
67
+    protected $children;
68
+
69
+    /**
70
+     * @ORM\ManyToMany(targetEntity="DDC719Group", mappedBy="children")
71
+     */
72
+    protected $parents;
73
+
74
+    /**
75
+     * construct
76
+     */
77
+    public function __construct() {
78
+        parent::__construct();
79
+
80
+        $this->channels = new ArrayCollection();
81
+        $this->children = new ArrayCollection();
82
+        $this->parents = new ArrayCollection();
83
+    }
84
+
85
+    /**
86
+     * adds group as new child
87
+     *
88
+     * @param Group $child
89
+     */
90
+    public function addGroup(Group $child) {
91 91
         if ( ! $this->children->contains($child)) {
92 92
             $this->children->add($child);
93 93
             $child->addGroup($this);
94 94
         }
95
-	}
96
-
97
-	/**
98
-	 * adds channel as new child
99
-	 *
100
-	 * @param Channel $child
101
-	 */
102
-	public function addChannel(Channel $child) {
95
+    }
96
+
97
+    /**
98
+     * adds channel as new child
99
+     *
100
+     * @param Channel $child
101
+     */
102
+    public function addChannel(Channel $child) {
103 103
         if ( ! $this->channels->contains($child)) {
104 104
             $this->channels->add($child);
105 105
         }
106
-	}
107
-
108
-	/**
109
-	 * getter & setter
110
-	 */
111
-	public function getName() { return $this->name; }
112
-	public function setName($name) { $this->name = $name; }
113
-	public function getDescription() { return $this->description; }
114
-	public function setDescription($description) { $this->description = $description; }
115
-	public function getChildren() { return $this->children; }
116
-	public function getParents() { return $this->parents; }
117
-	public function getChannels() { return $this->channels; }
106
+    }
107
+
108
+    /**
109
+     * getter & setter
110
+     */
111
+    public function getName() { return $this->name; }
112
+    public function setName($name) { $this->name = $name; }
113
+    public function getDescription() { return $this->description; }
114
+    public function setDescription($description) { $this->description = $description; }
115
+    public function getChildren() { return $this->children; }
116
+    public function getParents() { return $this->parents; }
117
+    public function getChannels() { return $this->channels; }
118 118
 }
Please login to merge, or discard this patch.