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

@@ 299-306 (lines=8) @@
296
			$query_parts[] = '//*[@id=\'' . implode( '\' or @id=\'', $settings['ignoreIDs'] ) . '\']';
297
		}
298
299
		if ( ! empty( $query_parts ) ) {
300
			$ignore_query = implode( ' | ', $query_parts );
301
302
			$nodelist = $xpath->query( $ignore_query, $initial_node );
303
			if ( false !== $nodelist ) {
304
				$elements = DOM::nodelist_to_array( $nodelist );
305
			}
306
		}
307
308
		return $elements;
309
	}
@@ 333-342 (lines=10) @@
330
		if ( ! empty( $html_fragment ) ) {
331
			$imported_fragment = $node->ownerDocument->importNode( $html_fragment, true );
332
333
			if ( ! empty( $imported_fragment ) ) {
334
				// Save the children of the imported DOMDocumentFragment before replacement.
335
				$children = DOM::nodelist_to_array( $imported_fragment->childNodes );
336
337
				if ( false !== $parent->replaceChild( $imported_fragment, $node ) ) {
338
					// Success! We return the saved array of DOMNodes as
339
					// $imported_fragment is just an empty DOMDocumentFragment now.
340
					$result = $children;
341
				}
342
			}
343
		}
344
345
		restore_error_handler();