From 15dbc69e3435aeb1db51d592190e791f379e4509 Mon Sep 17 00:00:00 2001 From: Jisse Reitsma Date: Fri, 23 Aug 2024 11:59:36 +0200 Subject: [PATCH] Pending changes --- .../extdn-integration-tests-post-install.sh | 0 .../extdn-integration-tests-pre-install-m23.sh | 0 .../extdn-integration-tests-pre-install-m24.sh | 0 .../extdn-integration-tests-pre-install.sh | 0 .github/workflows/extdn-phpstan-pre-install.sh | 13 +++++++++++++ .github/workflows/extdn-phpstan.yml | 2 +- 6 files changed, 14 insertions(+), 1 deletion(-) mode change 100644 => 100755 .github/workflows/extdn-integration-tests-post-install.sh mode change 100644 => 100755 .github/workflows/extdn-integration-tests-pre-install-m23.sh mode change 100644 => 100755 .github/workflows/extdn-integration-tests-pre-install-m24.sh mode change 100644 => 100755 .github/workflows/extdn-integration-tests-pre-install.sh create mode 100755 .github/workflows/extdn-phpstan-pre-install.sh diff --git a/.github/workflows/extdn-integration-tests-post-install.sh b/.github/workflows/extdn-integration-tests-post-install.sh old mode 100644 new mode 100755 diff --git a/.github/workflows/extdn-integration-tests-pre-install-m23.sh b/.github/workflows/extdn-integration-tests-pre-install-m23.sh old mode 100644 new mode 100755 diff --git a/.github/workflows/extdn-integration-tests-pre-install-m24.sh b/.github/workflows/extdn-integration-tests-pre-install-m24.sh old mode 100644 new mode 100755 diff --git a/.github/workflows/extdn-integration-tests-pre-install.sh b/.github/workflows/extdn-integration-tests-pre-install.sh old mode 100644 new mode 100755 diff --git a/.github/workflows/extdn-phpstan-pre-install.sh b/.github/workflows/extdn-phpstan-pre-install.sh new file mode 100755 index 0000000..9b54766 --- /dev/null +++ b/.github/workflows/extdn-phpstan-pre-install.sh @@ -0,0 +1,13 @@ +#!/bin/bash +composer config minimum-stability dev +composer config prefer-stable false + +composer require --dev yireo/magento2-integration-test-helper --no-update + +composer config --no-plugins allow-plugins true +composer require --dev phpstan/extension-installer --no-update +composer require --dev bitexpert/phpstan-magento --no-update + +composer require yireo/magento2-replace-bundled:^4.0 --no-update +composer require yireo/magento2-replace-inventory:^4.0 --no-update +composer require yireo/magento2-replace-pagebuilder:^4.0 --no-update diff --git a/.github/workflows/extdn-phpstan.yml b/.github/workflows/extdn-phpstan.yml index 4a93b08..5c0e8e0 100644 --- a/.github/workflows/extdn-phpstan.yml +++ b/.github/workflows/extdn-phpstan.yml @@ -24,4 +24,4 @@ jobs: composer_name: yireo/magento2-webp2 composer_version: 2 phpstan_level: 2 - magento_pre_install_script: .github/workflows/extdn-integration-tests-pre-install.sh + magento_pre_install_script: .github/workflows/extdn-phpstan-pre-install.sh