Passed
Pull Request — master (#1269)
by René
03:33
created
tests/Unit/Db/CommentMapperTest.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@
 block discarded – undo
89 89
 	}
90 90
 
91 91
 	 /**
92
- 	 * Find the previously created entries from the database.
93
- 	 */
92
+	  * Find the previously created entries from the database.
93
+	  */
94 94
  	public function testFind() {
95 95
  		foreach ($this->commentsById as $id => $comment) {
96 96
  			$this->assertEquals($comment, $this->commentMapper->find($id));
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 		}
74 74
 
75 75
 		foreach ($this->pollsById as $id => $polls) {
76
-			for ($count=0; $count < 2; $count++) {
76
+			for ($count = 0; $count < 2; $count++) {
77 77
 				$comment = $this->fm->instance('OCA\Polls\Db\Comment');
78 78
 				$comment->setPollId($id);
79 79
 				array_push($this->comments, $comment);
Please login to merge, or discard this patch.
tests/Unit/Db/LogMapperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 			$this->pollsById[$entry->getId()] = $entry;
77 77
 		}
78 78
 		foreach ($this->pollsById as $id => $polls) {
79
-			for ($count=0; $count < 2; $count++) {
79
+			for ($count = 0; $count < 2; $count++) {
80 80
 				$log = $this->fm->instance('OCA\Polls\Db\Log');
81 81
 				$log->setPollId($id);
82 82
 				array_push($this->logs, $log);
Please login to merge, or discard this patch.
tests/Unit/Db/SubscriptionMapperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 			$this->pollMapper->insert($poll);
72 72
 
73 73
 			// insert 3 subscriptions per poll
74
-			for ($count=0; $count < 2; $count++) {
74
+			for ($count = 0; $count < 2; $count++) {
75 75
 				$subscription = $this->fm->instance('OCA\Polls\Db\Subscription');
76 76
 				$subscription->setPollId($poll->getId());
77 77
 				array_push($this->subscriptions, $subscription);
Please login to merge, or discard this patch.