GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 10-11 lines in 2 locations

Tests/Services/DoctrineListenerTest.php 2 locations

@@ 142-152 (lines=11) @@
139
		$this->em->flush();
140
	}
141
	
142
	public function testMockedNonIndexablePersist() {
143
		$this->registerSearchService(0, 0);
144
		$potato = new Potato();
145
		$potato->setTitle('Lisa');
146
		$this->em->persist($potato);
147
		$this->em->flush();
148
		
149
		$potato->setTitle('Erna');
150
		$this->em->persist($potato);
151
		$this->em->flush();
152
	}
153
	
154
	public function testMockedNonIndexableUpdate() {
155
		$this->registerSearchService(0, 0);
@@ 162-171 (lines=10) @@
159
		$this->em->flush();
160
	}
161
	
162
	public function testMockedNonIndexableDelete() {
163
		$this->registerSearchService(0, 0);
164
		$potato = new Potato();
165
		$potato->setTitle('Lisa');
166
		$this->em->persist($potato);
167
		$this->em->flush();
168
		
169
		$this->em->remove($potato);
170
		$this->em->flush();
171
	}
172
173
	protected function getUsedEntityFixtures() {
174
		return array(