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

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