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.
Passed
Push — master ( d6ed85...1d3946 )
by
unknown
06:08 queued 18s
created
src/TextContentsMatcher.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,17 +18,17 @@  discard block
 block discarded – undo
18 18
 	 *
19 19
 	 * @return self
20 20
 	 */
21
-	public static function havingTextContents( $text ) {
22
-		return new static( Util::wrapValueWithIsEqual( $text ) );
21
+	public static function havingTextContents($text) {
22
+		return new static(Util::wrapValueWithIsEqual($text));
23 23
 	}
24 24
 
25
-	public function __construct( Matcher $matcher ) {
25
+	public function __construct(Matcher $matcher) {
26 26
 		parent::__construct();
27 27
 		$this->matcher = $matcher;
28 28
 	}
29 29
 
30
-	public function describeTo( Description $description ) {
31
-		$description->appendText( 'having text contents ' )->appendDescriptionOf( $this->matcher );
30
+	public function describeTo(Description $description) {
31
+		$description->appendText('having text contents ')->appendDescriptionOf($this->matcher);
32 32
 	}
33 33
 
34 34
 	/**
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	protected function matchesSafelyWithDiagnosticDescription(
41 41
 		$item, Description $mismatchDescription
42 42
 	) {
43
-		return $this->matcher->matches( $item->textContent );
43
+		return $this->matcher->matches($item->textContent);
44 44
 	}
45 45
 
46 46
 }
Please login to merge, or discard this patch.
src/ChildElementMatcher.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -15,19 +15,19 @@  discard block
 block discarded – undo
15 15
 	 */
16 16
 	private $matcher;
17 17
 
18
-	public static function havingChild( ?Matcher $elementMatcher = null ) {
19
-		return new static( $elementMatcher );
18
+	public static function havingChild(?Matcher $elementMatcher = null) {
19
+		return new static($elementMatcher);
20 20
 	}
21 21
 
22
-	public function __construct( ?Matcher $matcher = null ) {
23
-		parent::__construct( DOMNode::class );
22
+	public function __construct(?Matcher $matcher = null) {
23
+		parent::__construct(DOMNode::class);
24 24
 		$this->matcher = $matcher;
25 25
 	}
26 26
 
27
-	public function describeTo( Description $description ) {
28
-		$description->appendText( 'having child ' );
29
-		if ( $this->matcher ) {
30
-			$description->appendDescriptionOf( $this->matcher );
27
+	public function describeTo(Description $description) {
28
+		$description->appendText('having child ');
29
+		if ($this->matcher) {
30
+			$description->appendDescriptionOf($this->matcher);
31 31
 		}
32 32
 	}
33 33
 
@@ -40,28 +40,28 @@  discard block
 block discarded – undo
40 40
 	protected function matchesSafelyWithDiagnosticDescription(
41 41
 		$item, Description $mismatchDescription
42 42
 	) {
43
-		if ( $item instanceof DOMDocument ) {
44
-			$directChildren = $item->documentElement->childNodes->item( 0 )->childNodes;
43
+		if ($item instanceof DOMDocument) {
44
+			$directChildren = $item->documentElement->childNodes->item(0)->childNodes;
45 45
 		} else {
46 46
 			$directChildren = $item->childNodes;
47 47
 		}
48 48
 
49
-		if ( $directChildren->length === 0 ) {
50
-			$mismatchDescription->appendText( 'having no children' );
49
+		if ($directChildren->length === 0) {
50
+			$mismatchDescription->appendText('having no children');
51 51
 			return false;
52 52
 		}
53 53
 
54
-		if ( !$this->matcher ) {
54
+		if (!$this->matcher) {
55 55
 			return $directChildren->length > 0;
56 56
 		}
57 57
 
58
-		foreach ( new XmlNodeRecursiveIterator( $directChildren ) as $child ) {
59
-			if ( $this->matcher->matches( $child ) ) {
58
+		foreach (new XmlNodeRecursiveIterator($directChildren) as $child) {
59
+			if ($this->matcher->matches($child)) {
60 60
 				return true;
61 61
 			}
62 62
 		}
63 63
 
64
-		$mismatchDescription->appendText( 'having no children ' )->appendDescriptionOf( $this->matcher );
64
+		$mismatchDescription->appendText('having no children ')->appendDescriptionOf($this->matcher);
65 65
 		return false;
66 66
 	}
67 67
 
Please login to merge, or discard this patch.