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 4 locations

Tests/Services/DoctrineListenerTest.php 4 locations

@@ 73-83 (lines=11) @@
70
		$this->em->flush();
71
	}
72
73
	public function testMockedUpdate() {
74
		$this->registerDoctrineListener(2, 0);
75
		$beer = new Beer();
76
		$beer->setTitle('Haake Bäck');
77
		$this->em->persist($beer);
78
		$this->em->flush();
79
		
80
		$beer->setTitle('Haake Beck');
81
		$this->em->persist($beer);
82
		$this->em->flush();
83
	}
84
85
	public function testMockedDelete() {
86
		$this->registerDoctrineListener(1, 1);
@@ 85-94 (lines=10) @@
82
		$this->em->flush();
83
	}
84
85
	public function testMockedDelete() {
86
		$this->registerDoctrineListener(1, 1);
87
		$beer = new Beer();
88
		$beer->setTitle('Haake Beck');
89
		$this->em->persist($beer);
90
		$this->em->flush();
91
		
92
		$this->em->remove($beer);
93
		$this->em->flush();
94
	}
95
	
96
	public function testPersist() {
97
		$this->registerSearchService(1, 0);
@@ 104-114 (lines=11) @@
101
		$this->em->flush();
102
	}
103
	
104
	public function testUpdate() {
105
		$this->registerSearchService(2, 0);
106
		$beer = new Beer();
107
		$beer->setTitle('Haake Bäck');
108
		$this->em->persist($beer);
109
		$this->em->flush();
110
	
111
		$beer->setTitle('Haake Beck');
112
		$this->em->persist($beer);
113
		$this->em->flush();
114
	}
115
	
116
	public function testReturnFalse() {
117
		
@@ 131-140 (lines=10) @@
128
		Beer::$index = true;
129
	}
130
	
131
	public function testDelete() {
132
		$this->registerSearchService(1, 1);
133
		$beer = new Beer();
134
		$beer->setTitle('Haake Beck');
135
		$this->em->persist($beer);
136
		$this->em->flush();
137
	
138
		$this->em->remove($beer);
139
		$this->em->flush();
140
	}
141
	
142
	public function testMockedNonIndexablePersist() {
143
		$this->registerSearchService(0, 0);