Skip to content

(ci) initial ci implementation #12

(ci) initial ci implementation

(ci) initial ci implementation #12

Triggered via pull request August 7, 2024 04:55
@JamesDPCJamesDPC
synchronize #22
ci-tests
Status Failure
Total duration 1m 6s
Artifacts

ci.yml

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

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.