Skip to content

Merge branch '5.0' into 5.1 #38

Merge branch '5.0' into 5.1

Merge branch '5.0' into 5.1 #38

Triggered via push January 30, 2024 05:24
Status Failure
Total duration 36s
Artifacts

PHPStan.yml

on: push
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

30 errors
PHPStan - 8.3: app/src/Controller/Dashboard/DashboardAction.php#L161
Method UserFrosting\Sprinkle\Admin\Controller\Dashboard\DashboardAction::getDatabaseInfo() should return array{connection: string, name: string, type: string, version: string} but returns array{connection: string|null, name: string, type: string, version: string}.
PHPStan - 8.3: app/src/Controller/Group/GroupCreateAction.php#L95
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.3: app/src/Controller/Group/GroupCreateAction.php#L156
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.3: app/src/Controller/Group/GroupCreateModal.php#L85
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.3: app/src/Controller/Group/GroupEditAction.php#L96
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.3: app/src/Controller/Group/GroupEditAction.php#L167
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.3: app/src/Controller/Group/GroupEditModal.php#L96
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.3: app/src/Controller/Role/RoleCreateAction.php#L95
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.3: app/src/Controller/Role/RoleCreateAction.php#L156
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.3: app/src/Controller/Role/RoleCreateModal.php#L79
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.1: app/src/Controller/Dashboard/DashboardAction.php#L161
Method UserFrosting\Sprinkle\Admin\Controller\Dashboard\DashboardAction::getDatabaseInfo() should return array{connection: string, name: string, type: string, version: string} but returns array{connection: string|null, name: string, type: string, version: string}.
PHPStan - 8.1: app/src/Controller/Group/GroupCreateAction.php#L95
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.1: app/src/Controller/Group/GroupCreateAction.php#L156
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.1: app/src/Controller/Group/GroupCreateModal.php#L85
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.1: app/src/Controller/Group/GroupEditAction.php#L96
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.1: app/src/Controller/Group/GroupEditAction.php#L167
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.1: app/src/Controller/Group/GroupEditModal.php#L96
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.1: app/src/Controller/Role/RoleCreateAction.php#L95
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.1: app/src/Controller/Role/RoleCreateAction.php#L156
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.1: app/src/Controller/Role/RoleCreateModal.php#L79
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.2: app/src/Controller/Dashboard/DashboardAction.php#L161
Method UserFrosting\Sprinkle\Admin\Controller\Dashboard\DashboardAction::getDatabaseInfo() should return array{connection: string, name: string, type: string, version: string} but returns array{connection: string|null, name: string, type: string, version: string}.
PHPStan - 8.2: app/src/Controller/Group/GroupCreateAction.php#L95
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.2: app/src/Controller/Group/GroupCreateAction.php#L156
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.2: app/src/Controller/Group/GroupCreateModal.php#L85
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.2: app/src/Controller/Group/GroupEditAction.php#L96
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.2: app/src/Controller/Group/GroupEditAction.php#L167
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.2: app/src/Controller/Group/GroupEditModal.php#L96
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter
PHPStan - 8.2: app/src/Controller/Role/RoleCreateAction.php#L95
Instantiation of deprecated class UserFrosting\Fortress\RequestDataTransformer: 5.1 Use `\UserFrosting\Fortress\Transformer\RequestDataTransformer` instead
PHPStan - 8.2: app/src/Controller/Role/RoleCreateAction.php#L156
Instantiation of deprecated class UserFrosting\Fortress\ServerSideValidator: 5.1 Use `\UserFrosting\Fortress\Validator\ServerSideValidator` instead
PHPStan - 8.2: app/src/Controller/Role/RoleCreateModal.php#L79
Instantiation of deprecated class UserFrosting\Fortress\Adapter\JqueryValidationAdapter: Since 5.1 Instead use : - json, $stringEncode = true : JqueryValidationJsonAdapter - json, $stringEncode = false : JqueryValidationArrayAdapter