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

tests/class-text-parser-test.php 2 locations

@@ 568-575 (lines=8) @@
565
	 * @param int    $policy All caps policy.
566
	 * @param bool   $result Expected result.
567
	 */
568
	public function test_conforms_to_caps_policy( $value, $type, $policy, $result ) {
569
		$parser = $this->parser;
570
		$parser->load( $value ); // Ensure that encoding can be determined.
571
572
		$token  = new Token( $value, $type );
573
574
		$this->assertSame( $result, $this->invokeMethod( $parser, 'conforms_to_caps_policy', [ $token, $policy ] ) );
575
	}
576
577
	/**
578
	 * Providate data for testing conforms_to_compounds_policy.
@@ 616-623 (lines=8) @@
613
	 * @param int    $policy Compounds policy.
614
	 * @param bool   $result Expected result.
615
	 */
616
	public function test_conforms_to_compounds_policy( $value, $type, $policy, $result ) {
617
		$parser = $this->parser;
618
		$parser->load( $value ); // Ensure that encoding can be determined.
619
620
		$token  = new Token( $value, $type );
621
622
		$this->assertSame( $result, $this->invokeMethod( $parser, 'conforms_to_compounds_policy', [ $token, $policy ] ) );
623
	}
624
625
	/**
626
	 * Test get_words.