From b78f4a02b262382eef522ec56d3acae376590db4 Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 2 Mar 2026 20:51:23 +0100 Subject: [PATCH 1/7] feat(upgrade-dependencies): upgrade dependencies --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6a4ff86..b9ffa29 100644 --- a/composer.json +++ b/composer.json @@ -34,9 +34,9 @@ "description": "Codeception extension for Phiremock. Allows to stub remote services for HTTP requests.", "license": "GPL-3.0-or-later", "require": { - "php": "^8.0", + "php": "^8.2", "codeception/codeception": "^5.0", - "symfony/process": ">=5.0.0 <8.0.0" + "symfony/process": ">=6.0.0 <9.0.0" }, "require-dev": { "mcustiel/phiremock-server": "^1.0", From 4fabeadf116eafcba619aea462bdac1ec3301672 Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 2 Mar 2026 20:53:31 +0100 Subject: [PATCH 2/7] fix(upgrade-dependencies): scrutinizer config --- .scrutinizer.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index a4a3ffa..54a664d 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -14,14 +14,6 @@ build: - php-scrutinizer-run - ./vendor/bin/codecept run nodes: - php80: - environment: - php: - version: 8.0 - php81: - environment: - php: - version: 8.1 php82: environment: php: @@ -34,3 +26,7 @@ build: environment: php: version: 8.4 + php85: + environment: + php: + version: 8.5 From 625c85a23928de5fffbc1df16d226a1cc44cf427 Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 6 Apr 2026 10:42:28 +0200 Subject: [PATCH 3/7] chore(upgrade-dependencies): new pipeline approach --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ .scrutinizer.yml | 18 ------------------ 2 files changed, 26 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7b9679e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI +on: + - pull_request + +jobs: + acceptance_tests: + runs-on: ubuntu-latest + strategy: + matrix: + php-versions: ['8.2', '8.3', '8.4', '8.5' ] + steps: + - uses: actions/checkout@v2 + - name: Setup php + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-versions }} + extensions: mbstring, intl + ini-values: post_max_size=256M, max_execution_time=180 + coverage: xdebug + tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }} + - name: Validate composer.json + run: composer validate + - name: Install dependencies + run: composer install --prefer-dist --no-progress --no-interaction --no-suggest + - name: Codeception + run: php vendor/bin/codecept run diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 54a664d..92e774d 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,32 +1,14 @@ filter: paths: [src/*] excluded_paths: [vendor/*, test/*] -before_commands: - - "composer install --dev --prefer-source" build: environment: postgresql: false mysql: false redis: false - tests: - override: - - php-scrutinizer-run - - ./vendor/bin/codecept run nodes: php82: environment: php: version: 8.2 - php83: - environment: - php: - version: 8.3 - php84: - environment: - php: - version: 8.4 - php85: - environment: - php: - version: 8.5 From 9c1ae21fa9a8ff0991ea275ee1eb5119e5c02fdc Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 6 Apr 2026 10:42:53 +0200 Subject: [PATCH 4/7] chore(upgrade-dependencies): use phiremock-server v2 for tests --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b9ffa29..15f8d19 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "symfony/process": ">=6.0.0 <9.0.0" }, "require-dev": { - "mcustiel/phiremock-server": "^1.0", + "mcustiel/phiremock-server": "^2.0", "codeception/module-rest": "^3.0", "codeception/module-phpbrowser": "^3.0", "guzzlehttp/guzzle": "^7.0" From 7aef89bba0f67ec4803a2fc0965ce1d8ce6eac00 Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 6 Apr 2026 10:49:38 +0200 Subject: [PATCH 5/7] Update .github/workflows/ci.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b9679e..2a42ae0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: extensions: mbstring, intl ini-values: post_max_size=256M, max_execution_time=180 coverage: xdebug - tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }} + tools: php-cs-fixer - name: Validate composer.json run: composer validate - name: Install dependencies From 54a772bb89ab3d97f649678e7214f45924d26f0f Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 6 Apr 2026 10:50:03 +0200 Subject: [PATCH 6/7] Update .scrutinizer.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .scrutinizer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 92e774d..85a837c 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,6 +1,6 @@ filter: paths: [src/*] - excluded_paths: [vendor/*, test/*] + excluded_paths: [vendor/*, tests/*] build: environment: From cef29d82919465ab6d7db68e5689ecca5ce64bba Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 6 Apr 2026 10:50:51 +0200 Subject: [PATCH 7/7] chore(upgrade-dependencies): use latest checkout action --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a42ae0..2867130 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: matrix: php-versions: ['8.2', '8.3', '8.4', '8.5' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Setup php uses: shivammathur/setup-php@v2 with: