Skip to content

feat: improve CI workflow with cache composer jobs and php stan #45

feat: improve CI workflow with cache composer jobs and php stan

feat: improve CI workflow with cache composer jobs and php stan #45

Triggered via pull request May 20, 2025 09:02
Status Failure
Total duration 34s
Artifacts

php.yml

on: pull_request
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

54 errors
PHPUnit - PHP 8.2 - lowest: src/GoogleTranslate.php#L311
Call to function is_string() with non-empty-array will always evaluate to false.
PHPUnit - PHP 8.2 - lowest: src/GoogleTranslate.php#L329
PHPDoc tag @example has invalid value ((e.g. "Hello :name" will extract "name")): Unexpected token ".g.", expected ')' at offset 167 on line 5
PHPUnit - PHP 8.2 - lowest: src/GoogleTranslate.php#L543
Call to an undefined method DOMNode::getAttribute().
PHPUnit - PHP 8.2 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Left side of && is always false.
PHPUnit - PHP 8.2 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Result of && is always false.
PHPUnit - PHP 8.2 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Strict comparison using === between 64512 and 55296 will always evaluate to false.
PHPUnit - PHP 8.2 - lowest: src/Tokens/SampleTokenGenerator.php#L20
Method Stichoza\GoogleTranslate\Tokens\SampleTokenGenerator::generateToken() should return string but returns float.
PHPUnit - PHP 8.2 - lowest
Process completed with exit code 1.
PHPUnit - PHP 8.2 - lowest
Process completed with exit code 1.
PHPUnit - PHP 8.1 - lowest
Process completed with exit code 1.
PHPUnit - PHP 8.1 - lowest: src/GoogleTranslate.php#L311
Call to function is_string() with non-empty-array will always evaluate to false.
PHPUnit - PHP 8.1 - lowest: src/GoogleTranslate.php#L329
PHPDoc tag @example has invalid value ((e.g. "Hello :name" will extract "name")): Unexpected token ".g.", expected ')' at offset 167 on line 5
PHPUnit - PHP 8.1 - lowest: src/GoogleTranslate.php#L543
Call to an undefined method DOMNode::getAttribute().
PHPUnit - PHP 8.1 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Left side of && is always false.
PHPUnit - PHP 8.1 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Result of && is always false.
PHPUnit - PHP 8.2 - highest
Process completed with exit code 1.
PHPUnit - PHP 8.1 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Strict comparison using === between 64512 and 55296 will always evaluate to false.
PHPUnit - PHP 8.2 - highest: src/GoogleTranslate.php#L311
Call to function is_string() with non-empty-array will always evaluate to false.
PHPUnit - PHP 8.1 - lowest: src/Tokens/SampleTokenGenerator.php#L20
Method Stichoza\GoogleTranslate\Tokens\SampleTokenGenerator::generateToken() should return string but returns float.
PHPUnit - PHP 8.2 - highest: src/GoogleTranslate.php#L329
PHPDoc tag @example has invalid value ((e.g. "Hello :name" will extract "name")): Unexpected token ".g.", expected ')' at offset 167 on line 5
PHPUnit - PHP 8.1 - lowest
Process completed with exit code 1.
PHPUnit - PHP 8.2 - highest: src/GoogleTranslate.php#L543
Call to an undefined method DOMNode::getAttribute().
PHPUnit - PHP 8.2 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Left side of && is always false.
PHPUnit - PHP 8.2 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Result of && is always false.
PHPUnit - PHP 8.2 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Strict comparison using === between 64512 and 55296 will always evaluate to false.
PHPUnit - PHP 8.2 - highest: src/Tokens/SampleTokenGenerator.php#L20
Method Stichoza\GoogleTranslate\Tokens\SampleTokenGenerator::generateToken() should return string but returns float.
PHPUnit - PHP 8.2 - highest
Process completed with exit code 1.
PHPUnit - PHP 8.3 - highest: src/GoogleTranslate.php#L311
Call to function is_string() with non-empty-array will always evaluate to false.
PHPUnit - PHP 8.3 - highest: src/GoogleTranslate.php#L329
PHPDoc tag @example has invalid value ((e.g. "Hello :name" will extract "name")): Unexpected token ".g.", expected ')' at offset 167 on line 5
PHPUnit - PHP 8.3 - highest: src/GoogleTranslate.php#L543
Call to an undefined method DOMNode::getAttribute().
PHPUnit - PHP 8.3 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Left side of && is always false.
PHPUnit - PHP 8.3 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Result of && is always false.
PHPUnit - PHP 8.3 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Strict comparison using === between 64512 and 55296 will always evaluate to false.
PHPUnit - PHP 8.3 - highest: src/Tokens/SampleTokenGenerator.php#L20
Method Stichoza\GoogleTranslate\Tokens\SampleTokenGenerator::generateToken() should return string but returns float.
PHPUnit - PHP 8.3 - highest
Process completed with exit code 1.
PHPUnit - PHP 8.3 - highest
Process completed with exit code 1.
PHPUnit - PHP 8.1 - highest
Process completed with exit code 1.
PHPUnit - PHP 8.1 - highest: src/GoogleTranslate.php#L311
Call to function is_string() with non-empty-array will always evaluate to false.
PHPUnit - PHP 8.1 - highest: src/GoogleTranslate.php#L329
PHPDoc tag @example has invalid value ((e.g. "Hello :name" will extract "name")): Unexpected token ".g.", expected ')' at offset 167 on line 5
PHPUnit - PHP 8.1 - highest: src/GoogleTranslate.php#L543
Call to an undefined method DOMNode::getAttribute().
PHPUnit - PHP 8.1 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Left side of && is always false.
PHPUnit - PHP 8.1 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Result of && is always false.
PHPUnit - PHP 8.1 - highest: src/Tokens/GoogleTokenGenerator.php#L33
Strict comparison using === between 64512 and 55296 will always evaluate to false.
PHPUnit - PHP 8.1 - highest: src/Tokens/SampleTokenGenerator.php#L20
Method Stichoza\GoogleTranslate\Tokens\SampleTokenGenerator::generateToken() should return string but returns float.
PHPUnit - PHP 8.1 - highest
Process completed with exit code 1.
PHPUnit - PHP 8.3 - lowest
Process completed with exit code 1.
PHPUnit - PHP 8.3 - lowest: src/GoogleTranslate.php#L311
Call to function is_string() with non-empty-array will always evaluate to false.
PHPUnit - PHP 8.3 - lowest: src/GoogleTranslate.php#L329
PHPDoc tag @example has invalid value ((e.g. "Hello :name" will extract "name")): Unexpected token ".g.", expected ')' at offset 167 on line 5
PHPUnit - PHP 8.3 - lowest: src/GoogleTranslate.php#L543
Call to an undefined method DOMNode::getAttribute().
PHPUnit - PHP 8.3 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Left side of && is always false.
PHPUnit - PHP 8.3 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Result of && is always false.
PHPUnit - PHP 8.3 - lowest: src/Tokens/GoogleTokenGenerator.php#L33
Strict comparison using === between 64512 and 55296 will always evaluate to false.
PHPUnit - PHP 8.3 - lowest: src/Tokens/SampleTokenGenerator.php#L20
Method Stichoza\GoogleTranslate\Tokens\SampleTokenGenerator::generateToken() should return string but returns float.
PHPUnit - PHP 8.3 - lowest
Process completed with exit code 1.