From f967736d1b62cd24c955cb2f81f876e5faa8aa54 Mon Sep 17 00:00:00 2001 From: David Weichert Date: Tue, 19 Mar 2024 17:05:54 +0100 Subject: [PATCH] Add PHP 8.3 support (#20) * Add php 8.3 to build matrix * Add php 8.3 to required dependencies * Update phpspec * Drop support for php 8.1 * Drop support for php 8.0 --- .github/workflows/continuous-integration.yml | 3 +- composer.json | 4 +- composer.lock | 42 ++++++++++---------- 3 files changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c002300..950b395 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -19,9 +19,8 @@ jobs: - "highest" - "locked" php-version: - - "8.0" - - "8.1" - "8.2" + - "8.3" operating-system: - "ubuntu-latest" - "windows-latest" diff --git a/composer.json b/composer.json index a419717..46aaae9 100644 --- a/composer.json +++ b/composer.json @@ -10,13 +10,13 @@ } ], "require": { - "php": "8.0.*|8.1.*|8.2.*", + "php": "8.2.*|8.3.*", "psr/log": "^1.0|^2.0|^3.0", "regex-guard/regex-guard": "^1.1", "webmozart/assert": "^1.11" }, "require-dev": { - "phpspec/phpspec": "^7.3" + "phpspec/phpspec": "^7.5" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" diff --git a/composer.lock b/composer.lock index eabfbba..817a035 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fa3e448b0db673e9ec242ee04d3ac16e", + "content-hash": "d25b704bae5ec45b3c1e39346693fe8a", "packages": [ { "name": "psr/log", @@ -443,39 +443,39 @@ }, { "name": "phpspec/phpspec", - "version": "7.3.0", + "version": "7.5.0", "source": { "type": "git", "url": "https://github.com/phpspec/phpspec.git", - "reference": "7e44b188e8e01f9c9a8ca6cb0d7aceaabcea2133" + "reference": "3613651cd36306b5eb04c0e90d197feb68d5f351" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/phpspec/zipball/7e44b188e8e01f9c9a8ca6cb0d7aceaabcea2133", - "reference": "7e44b188e8e01f9c9a8ca6cb0d7aceaabcea2133", + "url": "https://api.github.com/repos/phpspec/phpspec/zipball/3613651cd36306b5eb04c0e90d197feb68d5f351", + "reference": "3613651cd36306b5eb04c0e90d197feb68d5f351", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.0.5", + "doctrine/instantiator": "^1.0.5 || ^2", "ext-tokenizer": "*", - "php": "^7.3 || 8.0.* || 8.1.* || 8.2.*", + "php": "^7.3 || 8.0.* || 8.1.* || 8.2.* || 8.3.*", "phpspec/php-diff": "^1.0.0", "phpspec/prophecy": "^1.9", - "sebastian/exporter": "^3.0 || ^4.0", - "symfony/console": "^3.4 || ^4.4 || ^5.0 || ^6.0", - "symfony/event-dispatcher": "^3.4 || ^4.4 || ^5.0 || ^6.0", - "symfony/finder": "^3.4 || ^4.4 || ^5.0 || ^6.0", - "symfony/process": "^3.4 || ^4.4 || ^5.0 || ^6.0", - "symfony/yaml": "^3.4 || ^4.4 || ^5.0 || ^6.0" + "sebastian/exporter": "^3.0 || ^4.0 || ^5.0", + "symfony/console": "^3.4 || ^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/event-dispatcher": "^3.4 || ^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/finder": "^3.4 || ^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/process": "^3.4 || ^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/yaml": "^3.4 || ^4.4 || ^5.0 || ^6.0 || ^7.0" }, "conflict": { "sebastian/comparator": "<1.2.4" }, "require-dev": { "behat/behat": "^3.3", - "phpunit/phpunit": "^8.0 || ^9.0", - "symfony/filesystem": "^3.4 || ^4.0 || ^5.0 || ^6.0", - "vimeo/psalm": "^4.3" + "phpunit/phpunit": "^8.0 || ^9.0 || ^10.0", + "symfony/filesystem": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0", + "vimeo/psalm": "^4.3 || ^5.2" }, "suggest": { "phpspec/nyan-formatters": "Adds Nyan formatters" @@ -486,7 +486,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "7.3.x-dev" + "dev-main": "7.5.x-dev" } }, "autoload": { @@ -526,9 +526,9 @@ ], "support": { "issues": "https://github.com/phpspec/phpspec/issues", - "source": "https://github.com/phpspec/phpspec/tree/7.3.0" + "source": "https://github.com/phpspec/phpspec/tree/7.5.0" }, - "time": "2022-12-14T16:15:59+00:00" + "time": "2024-01-19T14:20:56+00:00" }, { "name": "phpspec/prophecy", @@ -1937,8 +1937,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "8.0.*|8.1.*|8.2.*" + "php": "8.2.*|8.3.*" }, "platform-dev": [], - "plugin-api-version": "2.1.0" + "plugin-api-version": "2.6.0" }