Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

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 = 8-10 lines in 2 locations

src/class-php-typography.php 2 locations

@@ 272-279 (lines=8) @@
269
			$query_parts[] = '//*[@id=\'' . implode( '\' or @id=\'', $settings['ignoreIDs'] ) . '\']';
270
		}
271
272
		if ( ! empty( $query_parts ) ) {
273
			$ignore_query = implode( ' | ', $query_parts );
274
275
			$nodelist = $xpath->query( $ignore_query, $initial_node );
276
			if ( false !== $nodelist ) {
277
				$elements = DOM::nodelist_to_array( $nodelist );
278
			}
279
		}
280
281
		return $elements;
282
	}
@@ 306-315 (lines=10) @@
303
		if ( ! empty( $html_fragment ) ) {
304
			$imported_fragment = $node->ownerDocument->importNode( $html_fragment, true );
305
306
			if ( ! empty( $imported_fragment ) ) {
307
				// Save the children of the imported DOMDocumentFragment before replacement.
308
				$children = DOM::nodelist_to_array( $imported_fragment->childNodes );
309
310
				if ( false !== $parent->replaceChild( $imported_fragment, $node ) ) {
311
					// Success! We return the saved array of DOMNodes as
312
					// $imported_fragment is just an empty DOMDocumentFragment now.
313
					$result = $children;
314
				}
315
			}
316
		}
317
318
		restore_error_handler();