(ci) initial ci implementation #12
ci.yml
on: pull_request
Automated fixes
/
php-cs-fixer and rector
30s
PHPStan (analyse)
/
phpstan
19s
Annotations
10 errors
PHPStan (analyse) / phpstan:
src/Controllers/ChimpleController.php#L131
Method NSWDPC\Chimple\Controllers\ChimpleController::XhrSubscribeForm() should return NSWDPC\Chimple\Forms\XhrSubscribeForm but returns null.
|
PHPStan (analyse) / phpstan:
src/Controllers/ChimpleController.php#L151
Method NSWDPC\Chimple\Controllers\ChimpleController::XhrSubscribeForm() should return NSWDPC\Chimple\Forms\XhrSubscribeForm but returns NSWDPC\Chimple\Forms\SubscribeForm.
|
PHPStan (analyse) / phpstan:
src/Controllers/ChimpleController.php#L338
Ternary operator condition is always true.
|
PHPStan (analyse) / phpstan:
src/Controllers/ChimpleController.php#L428
Parameter #2 $code of class NSWDPC\Chimple\Exceptions\RequestException constructor expects int, string given.
|
PHPStan (analyse) / phpstan:
src/Controllers/ChimpleController.php#L485
Parameter #2 $value of method SilverStripe\Control\HTTPResponse::addHeader() expects string, int given.
|
PHPStan (analyse) / phpstan:
src/Controllers/ChimpleController.php#L498
Parameter #2 $value of method SilverStripe\Control\HTTPResponse::addHeader() expects string, int given.
|
PHPStan (analyse) / phpstan:
src/Extensions/DisableSecurityTokenExtension.php#L5
Class SilverStripe\Core\Extension referenced with incorrect case: Silverstripe\Core\Extension.
|
PHPStan (analyse) / phpstan:
src/Extensions/DisableSecurityTokenExtension.php#L13
Class SilverStripe\Core\Extension referenced with incorrect case: Silverstripe\Core\Extension.
|
PHPStan (analyse) / phpstan:
src/Extensions/SiteConfigExtension.php#L7
Class SilverStripe\ORM\DataExtension referenced with incorrect case: Silverstripe\ORM\DataExtension.
|
PHPStan (analyse) / phpstan:
src/Extensions/SiteConfigExtension.php#L9
Class SilverStripe\Forms\FieldList referenced with incorrect case: Silverstripe\Forms\FieldList.
|