From dd55f3dc4f1703a26cc89c9d5f6104be129b158e Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Mon, 2 Mar 2026 20:12:56 +0100 Subject: [PATCH 1/4] feat(upgrade-dependencies): upgrade dependencies --- .scrutinizer.yml | 16 ++++++++++++---- composer.json | 4 ++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 1a946a2..0f5d4b3 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -14,11 +14,19 @@ build: - php-scrutinizer-run - ./vendor/bin/codecept run nodes: - php80: + php82: environment: php: - version: 8.0 - php81: + version: 8.2 + php83: environment: php: - version: 8.1 + version: 8.3 + php84: + environment: + php: + version: 8.4 + php85: + environment: + php: + version: 8.5 diff --git a/composer.json b/composer.json index 6639046..33324ac 100644 --- a/composer.json +++ b/composer.json @@ -33,10 +33,10 @@ "description" : "Codeception module for PhireMock. Allows to stub remote services for HTTP requests.", "license" : "GPL-3.0-or-later", "require" : { - "php" : "^8.0", + "php" : "^8.2", "mcustiel/phiremock-client": "^1.0", "codeception/codeception" : "^5.0", - "codeception/lib-asserts": "^2.0" + "codeception/lib-asserts": "^3.0" }, "require-dev" : { "mcustiel/phiremock-codeception-extension": "^3.0", From ca3c4e501950d0c82f8648887dd7a8efaa23da2c Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Tue, 7 Apr 2026 09:16:29 +0200 Subject: [PATCH 2/4] chore(issue-15): upgraded dependencies --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 33324ac..1f18cab 100644 --- a/composer.json +++ b/composer.json @@ -34,13 +34,13 @@ "license" : "GPL-3.0-or-later", "require" : { "php" : "^8.2", - "mcustiel/phiremock-client": "^1.0", + "mcustiel/phiremock-client": "^2.0", "codeception/codeception" : "^5.0", "codeception/lib-asserts": "^3.0" }, "require-dev" : { - "mcustiel/phiremock-codeception-extension": "^3.0", - "mcustiel/phiremock-server": "^1.0", + "mcustiel/phiremock-codeception-extension": "^4.0", + "mcustiel/phiremock-server": "^2.0", "guzzlehttp/guzzle" : "^7.0", "codeception/module-asserts": "^3.0" }, From f39d6d109a53be950ed1c410fd9cf685dc598ccf Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Tue, 7 Apr 2026 09:46:24 +0200 Subject: [PATCH 3/4] chore(issue-15): use github actions as pipeline --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ .scrutinizer.yml | 20 +------------------- 2 files changed, 29 insertions(+), 19 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..c7ffc1f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +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@v6 + - 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: PHPUnit + run: php vendor/bin/phpunit + - name: Codeception + run: php vendor/bin/codecept run diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 0f5d4b3..e16aa8a 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' + excluded_paths: [vendor/*, tests/*] 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 53c4cfb732b78e84f2b6ee0899bbfd9d86339ef5 Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Tue, 7 Apr 2026 09:49:48 +0200 Subject: [PATCH 4/4] fix(issue-15): github actions --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7ffc1f..429b1d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,5 @@ jobs: run: composer validate - name: Install dependencies run: composer install --prefer-dist --no-progress --no-interaction --no-suggest - - name: PHPUnit - run: php vendor/bin/phpunit - name: Codeception run: php vendor/bin/codecept run