diff --git a/tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php b/tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php index 13be10e5f6..52845ac72c 100644 --- a/tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php +++ b/tests/Core/Tokenizer/NamedFunctionCallArgumentsTest.php @@ -38,7 +38,7 @@ public function testNamedFunctionCallArguments($testMarker, $parameters) $this->assertSame( T_PARAM_NAME, $tokens[$label]['code'], - 'Token tokenized as '.$tokens[$label]['code'].', not T_PARAM_NAME (code)' + 'Token tokenized as '.$tokens[$label]['type'].', not T_PARAM_NAME (code)' ); $this->assertSame( 'T_PARAM_NAME', @@ -278,7 +278,7 @@ public function testOtherTstringInFunctionCall($testMarker, $content) $this->assertSame( T_STRING, $tokens[$label]['code'], - 'Token tokenized as '.$tokens[$label]['code'].', not T_STRING (code)' + 'Token tokenized as '.$tokens[$label]['type'].', not T_STRING (code)' ); $this->assertSame( 'T_STRING', @@ -709,7 +709,7 @@ public function testReservedKeywordsAsName($testMarker, $tokenTypes, $tokenConte $this->assertSame( T_PARAM_NAME, $tokens[$label]['code'], - 'Token tokenized as '.$tokens[$label]['code'].', not T_PARAM_NAME (code)' + 'Token tokenized as '.$tokens[$label]['type'].', not T_PARAM_NAME (code)' ); $this->assertSame( 'T_PARAM_NAME',