From 897bceedd4e9876b3737a8408a1dc692d197c870 Mon Sep 17 00:00:00 2001 From: Alexis Guyomar Date: Wed, 19 Jun 2024 08:01:45 +0200 Subject: [PATCH 1/3] fix: upgrade 2.1.1 file cause blank space before php tag can throw error then upgrading. --- upgrade/upgrade-2.1.1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade/upgrade-2.1.1.php b/upgrade/upgrade-2.1.1.php index 2a28d1e..d4ba6b7 100644 --- a/upgrade/upgrade-2.1.1.php +++ b/upgrade/upgrade-2.1.1.php @@ -1,5 +1,5 @@ - Date: Fri, 24 Oct 2025 16:50:29 +0100 Subject: [PATCH 2/3] Update CI files --- .github/workflows/php.yml | 26 +++---------------- .../{phpstan-latest.neon => phpstan-8.2.neon} | 0 2 files changed, 3 insertions(+), 23 deletions(-) rename tests/phpstan/{phpstan-latest.neon => phpstan-8.2.neon} (100%) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 6b7aa35..30f46d4 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -38,13 +38,7 @@ jobs: php-version: '7.4' - name: Checkout - uses: actions/checkout@v2.0.0 - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: vendor - key: php-${{ hashFiles('composer.lock') }} + uses: actions/checkout@v5 - name: Install dependencies run: composer install @@ -58,7 +52,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - presta-versions: ['1.7.6', '1.7.7', '1.7.8', 'latest'] + presta-versions: ['1.7.6', '1.7.7', '1.7.8', '8.2'] steps: - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -66,21 +60,7 @@ jobs: php-version: '7.4' - name: Checkout - uses: actions/checkout@v2.0.0 - - # Add vendor folder in cache to make next builds faster - - name: Cache vendor folder - uses: actions/cache@v1 - with: - path: vendor - key: php-${{ hashFiles('composer.lock') }} - - # Add composer local folder in cache to make next builds faster - - name: Cache composer folder - uses: actions/cache@v1 - with: - path: ~/.composer/cache - key: php-composer-cache + uses: actions/checkout@v5 - run: composer install diff --git a/tests/phpstan/phpstan-latest.neon b/tests/phpstan/phpstan-8.2.neon similarity index 100% rename from tests/phpstan/phpstan-latest.neon rename to tests/phpstan/phpstan-8.2.neon From 5bf6557fea124f22ceabfa5a46f650d525c7b1cb Mon Sep 17 00:00:00 2001 From: Thomas Nabord Date: Fri, 24 Oct 2025 09:25:44 +0100 Subject: [PATCH 3/3] Bump to v2.2.1 --- config.xml | 2 +- ps_wirepayment.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.xml b/config.xml index 2b9a337..db9ef90 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ ps_wirepayment - + diff --git a/ps_wirepayment.php b/ps_wirepayment.php index 8e3f575..cbcb99e 100644 --- a/ps_wirepayment.php +++ b/ps_wirepayment.php @@ -48,7 +48,7 @@ public function __construct() { $this->name = 'ps_wirepayment'; $this->tab = 'payments_gateways'; - $this->version = '2.2.0'; + $this->version = '2.2.1'; $this->ps_versions_compliancy = ['min' => '1.7.6.0', 'max' => _PS_VERSION_]; $this->author = 'PrestaShop'; $this->controllers = ['payment', 'validation'];