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 = 12-13 lines in 2 locations

Tests/Services/Mapping/EntityToDocumentMapperTest.php 2 locations

@@ 73-85 (lines=13) @@
70
	/**
71
	 * @expectedException \InvalidArgumentException
72
	 */
73
	public function testFuckedUpConfigurationWithoutModel() {
74
		$searchService = $this->getMockBuilder(AbstractSearchService::class)->getMockForAbstractClass();
75
		new EntityToDocumentMapper($searchService, array(
76
			'beer' => array(
77
				'mappings' => array(
78
					'title' => array(
79
						'propertyPath' => false
80
					)
81
				),
82
				'persistence' => array() 
83
			) 
84
		));
85
	}
86
87
	/**
88
	 * @expectedException \InvalidArgumentException
@@ 90-101 (lines=12) @@
87
	/**
88
	 * @expectedException \InvalidArgumentException
89
	 */
90
	public function testFuckedUpConfigurationWithoutPersistance() {
91
		$searchService = $this->getMockBuilder(AbstractSearchService::class)->getMockForAbstractClass();
92
		new EntityToDocumentMapper($searchService, array(
93
			'beer' => array(
94
				'mappings' => array(
95
					'title' => array(
96
						'propertyPath' => false 
97
					) 
98
				) 
99
			) 
100
		));
101
	}
102
103
	public function testIsIndexable() {
104
		$eh = $this->getEntityToDocumentMapper();