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 = 9-11 lines in 4 locations

src/ChildElementMatcher.php 1 location

@@ 33-43 (lines=11) @@
30
		$this->matcher = $matcher;
31
	}
32
33
	public function describeTo( Description $description ) {
34
		$description->appendText( 'having child ' );
35
		if ( $this->matcher ) {
36
			if ( $this->matcher instanceof Matcher ) {
37
				$description->appendDescriptionOf( $this->matcher );
38
			} else {
39
				$description->appendValue( $this->matcher );
40
			}
41
		}
42
	}
43
44
	/**
45
	 * @param \DOMDocument|\DOMNode $item
46
	 * @param Description $mismatchDescription

src/ClassMatcher.php 1 location

@@ 32-40 (lines=9) @@
29
		$this->classMatcher = $class;
30
	}
31
32
	public function describeTo( Description $description ) {
33
		$description->appendText( 'with class ' );
34
		if ( $this->classMatcher instanceof Matcher ) {
35
			$description->appendDescriptionOf( $this->classMatcher );
36
		} else {
37
			$description->appendValue( $this->classMatcher );
38
		}
39
	}
40
41
	/**
42
	 * @param \DOMElement $item
43
	 * @param Description $mismatchDescription

src/TagNameMatcher.php 1 location

@@ 32-40 (lines=9) @@
29
		$this->tagNameMatcher = $tagNameMatcher;
30
	}
31
32
	public function describeTo( Description $description ) {
33
		$description->appendText( 'with tag name ' );
34
		if ( $this->tagNameMatcher instanceof Matcher ) {
35
			$description->appendDescriptionOf( $this->tagNameMatcher );
36
		} else {
37
			$description->appendValue( $this->tagNameMatcher );
38
		}
39
	}
40
41
	/**
42
	 * @param \DOMElement $item
43
	 * @param Description $mismatchDescription

src/TextContentsMatcher.php 1 location

@@ 32-40 (lines=9) @@
29
		$this->matcher = $matcher;
30
	}
31
32
	public function describeTo( Description $description ) {
33
		$description->appendText( 'having text contents ' );
34
		if ( $this->matcher instanceof Matcher ) {
35
			$description->appendDescriptionOf( $this->matcher );
36
		} else {
37
			$description->appendValue( $this->matcher );
38
		}
39
	}
40
41
	/**
42
	 * @param \DOMElement $item
43
	 * @param Description $mismatchDescription