Code refactor and add tests #39
Annotations
17 errors and 1 warning
PHP 8.3 - Static Analysis:
src/Actions/RedeemsCoupon.php#L1
Ignored error pattern #^PHPDoc tag @param references unknown parameter\: \$customer$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Actions/RedeemsCoupon.php was not matched in reported errors.
|
PHP 8.3 - Static Analysis:
src/Actions/RedeemsCoupon.php#L1
Ignored error pattern #^PHPDoc tag @param references unknown parameter\: \$order$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Actions/RedeemsCoupon.php was not matched in reported errors.
|
PHP 8.3 - Static Analysis:
src/Models/CouponHistory.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Cart\\CartCondition\:\:getModel\(\)\.$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Models/CouponHistory.php was not matched in reported errors.
|
PHP 8.3 - Static Analysis:
src/Models/CouponHistory.php#L1
Ignored error pattern #^Call to an undefined static method Illuminate\\Support\\Facades\\Event\:\:fire\(\)\.$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Models/CouponHistory.php was not matched in reported errors.
|
PHP 8.3 - Static Analysis:
src/Models/CouponHistory.php#L105
Access to an undefined property Igniter\Coupons\Models\Coupon::$coupon_id.
|
PHP 8.3 - Static Analysis:
src/Models/CouponHistory.php#L106
Access to an undefined property Igniter\Coupons\Models\Coupon::$code.
|
PHP 8.3 - Static Analysis:
src/Models/CouponHistory.php#L108
Access to an undefined property Igniter\Coupons\Models\Coupon::$min_total.
|
PHP 8.3 - Static Analysis
Process completed with exit code 1.
|
PHP 8.2 - Static Analysis
The job was canceled because "_8_3" failed.
|
PHP 8.2 - Static Analysis:
src/Actions/RedeemsCoupon.php#L1
Ignored error pattern #^PHPDoc tag @param references unknown parameter\: \$customer$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Actions/RedeemsCoupon.php was not matched in reported errors.
|
PHP 8.2 - Static Analysis:
src/Actions/RedeemsCoupon.php#L1
Ignored error pattern #^PHPDoc tag @param references unknown parameter\: \$order$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Actions/RedeemsCoupon.php was not matched in reported errors.
|
PHP 8.2 - Static Analysis:
src/Models/CouponHistory.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Cart\\CartCondition\:\:getModel\(\)\.$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Models/CouponHistory.php was not matched in reported errors.
|
PHP 8.2 - Static Analysis:
src/Models/CouponHistory.php#L1
Ignored error pattern #^Call to an undefined static method Illuminate\\Support\\Facades\\Event\:\:fire\(\)\.$# in path /home/runner/work/ti-ext-coupons/ti-ext-coupons/src/Models/CouponHistory.php was not matched in reported errors.
|
PHP 8.2 - Static Analysis:
src/Models/CouponHistory.php#L105
Access to an undefined property Igniter\Coupons\Models\Coupon::$coupon_id.
|
PHP 8.2 - Static Analysis:
src/Models/CouponHistory.php#L106
Access to an undefined property Igniter\Coupons\Models\Coupon::$code.
|
PHP 8.2 - Static Analysis:
src/Models/CouponHistory.php#L108
Access to an undefined property Igniter\Coupons\Models\Coupon::$min_total.
|
PHP 8.2 - Static Analysis
Process completed with exit code 1.
|
PHP 8.3 - Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nick-fields/retry@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|