Automated updates via GH actions #20
ci.yml
on: pull_request
Automated fixes
/
php-cs-fixer and rector
31s
PHPStan (analyse)
/
phpstan
20s
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.
|