minor #14999 [CI] Change outdated GitHub action (Rafikooo)

This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |  1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                      |
| New feature?    | no                                                      |
| BC breaks?      | no                                                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [CI] Change outdated GitHub action
  [ECS] Apply ecs fixes
This commit is contained in:
Jacob Tobiasz 2023-04-28 11:16:53 +02:00 committed by GitHub
commit eceed543a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,7 @@ jobs:
run: composer require --no-update --no-scripts --no-interaction "twig/twig:${{ matrix.twig }}"
- name: Build application
uses: jakubtobiasz/SyliusBuildTestAppAction@v2.0
uses: SyliusLabs/BuildTestAppAction@v2.1
with:
build_type: "sylius"
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-symfony-${{ matrix.symfony }}-api-platform-${{ matrix.api-platform }}"

View file

@ -79,7 +79,7 @@ final class ManagingProductTaxonsContext implements Context
ProductInterface $product,
): void {
$productTaxon = $productTaxonProduct->getProductTaxons()->filter(
fn (ProductTaxonInterface $productTaxon) => $productTaxonTaxon === $productTaxon->getTaxon()
fn (ProductTaxonInterface $productTaxon) => $productTaxonTaxon === $productTaxon->getTaxon(),
)->first();
$this->client->buildUpdateRequest(Resources::PRODUCTS, $product->getCode());