Skip to content

Automated updates via GH actions #20

Automated updates via GH actions

Automated updates via GH actions #20

Triggered via pull request August 7, 2024 07:52
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

on: pull_request
Automated fixes  /  php-cs-fixer and rector
31s
Automated fixes / php-cs-fixer and rector
PHPStan (analyse)  /  phpstan
20s
PHPStan (analyse) / phpstan
Fit to window
Zoom out
Zoom in

Annotations

9 errors
PHPStan (analyse) / phpstan: src/Controllers/ChimpleController.php#L155
Method NSWDPC\Chimple\Controllers\ChimpleController::XhrSubscribeForm() should return NSWDPC\Chimple\Forms\XhrSubscribeForm|null but returns NSWDPC\Chimple\Forms\SubscribeForm.
PHPStan (analyse) / phpstan: src/Controllers/ChimpleController.php#L340
Ternary operator condition is always true.
PHPStan (analyse) / phpstan: src/Models/Elements/ElementChimpleSubscribe.php#L164
Method NSWDPC\Chimple\Models\Elements\ElementChimpleSubscribe::getSubscribeForm() should return SilverStripe\Forms\Form|null but returns NSWDPC\Chimple\Models\SubscribeForm|null.
PHPStan (analyse) / phpstan: src/Models/MailchimpConfig.php#L385
Method NSWDPC\Chimple\Models\MailchimpConfig::SubscribeForm() has invalid return type NSWDPC\Chimple\Models\SubscribeForm.
PHPStan (analyse) / phpstan: src/Models/MailchimpConfig.php#L489
Class NSWDPC\Chimple\Models\SubscribeForm not found.
PHPStan (analyse) / phpstan: tests/ChimpleConfigTest.php#L180
Strict comparison using === between bool and 0 will always evaluate to false.
PHPStan (analyse) / phpstan: tests/ChimpleConfigTest.php#L194
Strict comparison using === between bool and 0 will always evaluate to false.
PHPStan (analyse) / phpstan: tests/ChimpleConfigTest.php#L204
Strict comparison using === between bool and 0 will always evaluate to false.
PHPStan (analyse) / phpstan
Process completed with exit code 1.