Skip to content

feat: add strict types declaration, improve property types #18

feat: add strict types declaration, improve property types

feat: add strict types declaration, improve property types #18

Triggered via push February 21, 2025 01:09
Status Cancelled
Total duration 1m 53s
Artifacts

pipeline.yml

on: push
php-lint  /  PHP Linting (Pint)
29s
php-lint / PHP Linting (Pint)
Matrix: php-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors
php-tests (8.2) / PHP Tests : src/ApiResources/Repositories/CouponsRepository.php#L10
Property Igniter\Coupons\ApiResources\Repositories\CouponsRepository::$modelClass overriding property Igniter\Api\Classes\AbstractRepository::$modelClass (string|null) should also have native type string|null.
php-tests (8.2) / PHP Tests : src/Models/CouponHistory.php#L1
Ignored error pattern #^Access to an undefined property Illuminate\\Database\\Eloquent\\Model\:\:\$coupon_history_id\.$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Models/CouponHistory.php was not matched in reported errors.
php-tests (8.2) / PHP Tests : src/Models/CouponHistory.php#L1
Ignored error pattern #^Call to an undefined method Illuminate\\Database\\Eloquent\\Model\:\:fireSystemEvent\(\)\.$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Models/CouponHistory.php was not matched in reported errors.
php-tests (8.2) / PHP Tests : src/Models/CouponHistory.php#L78
Call to an undefined method Illuminate\Database\Query\Builder::firstWhere().
php-tests (8.2) / PHP Tests
Process completed with exit code 1.
php-tests (8.3) / PHP Tests
FailFast: cancelling since parallel instance has failed
php-tests (8.3) / PHP Tests
The operation was canceled.