Skip to content

Add Stripe product link type for link custom fields #91

Add Stripe product link type for link custom fields

Add Stripe product link type for link custom fields #91

Triggered via pull request September 19, 2024 16:13
Status Failure
Total duration 32s
Artifacts

ci.yml

on: pull_request
ci  /  ...  /  ECS
12s
ci / Code Quality / ECS / ECS
ci  /  ...  /  PHPStan
21s
ci / Code Quality / PHPStan / PHPStan
ci  /  ...  /  check
17s
ci / Code Quality / Prettier / check
Matrix: ci / Tests / tests
Waiting for pending jobs
ci  /  ...  /  on cancelled
ci / Notify Slack / on cancelled
ci  /  ...  /  on failure
ci / Notify Slack / on failure
ci  /  ...  /  on success
ci / Notify Slack / on success
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 5 warnings
ci / Code Quality / Prettier / check
Process completed with exit code 1.
ci / Code Quality / PHPStan / PHPStan: src/elements/Product.php#L603
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),craft\base\ElementInterface>::filter() expects (callable(craft\base\ElementInterface, int|string): bool)|null, Closure(craft\stripe\elements\Price): bool given.
ci / Code Quality / PHPStan / PHPStan: src/elements/Product.php#L610
Property craft\stripe\elements\Product::$_defaultPrice (craft\stripe\elements\Price|null) does not accept craft\base\ElementInterface.
ci / Code Quality / PHPStan / PHPStan: src/elements/Product.php#L613
Method craft\stripe\elements\Product::getDefaultPrice() should return craft\stripe\elements\Price|null but returns craft\base\ElementInterface.
ci / Code Quality / PHPStan / PHPStan: src/elements/Product.php#L629
Property craft\stripe\elements\Product::$_prices (craft\elements\ElementCollection&iterable<craft\stripe\elements\Price>) does not accept craft\elements\ElementCollection<(int|string), craft\base\ElementInterface>.
ci / Code Quality / PHPStan / PHPStan: src/elements/Product.php#L632
Method craft\stripe\elements\Product::getPrices() should return craft\elements\ElementCollection&iterable<craft\stripe\elements\Price> but returns (craft\elements\ElementCollection&iterable<craft\stripe\elements\Price>)|craft\elements\ElementCollection<(int|string), craft\base\ElementInterface>.
ci / Code Quality / PHPStan / PHPStan
Process completed with exit code 1.
ci / Code Quality / ECS / ECS
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ci / Code Quality / Prettier / check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ci / Code Quality / PHPStan / PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci / Code Quality / PHPStan / PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, andstor/file-existence-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ci / Code Quality / PHPStan / PHPStan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/