From 94be69a30798547c5bfed028c73b01dd4e0f6fbf Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 4 May 2023 15:18:45 +0200 Subject: [PATCH] Add PHP 7.2 support (#5) --- .github/workflows/ci.yaml | 8 +++++++- CHANGELOG.md | 6 ++++++ composer.json | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 12c1ffd..90e69e2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,6 +29,7 @@ jobs: strategy: matrix: php-version: + - 7.2 - 7.3 - 7.4 - 8.0 @@ -64,7 +65,7 @@ jobs: COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install xmllint - run: sudo apt-get install libxml2-utils + run: sudo apt update && sudo apt install libxml2-utils - name: Install dependencies run: composer install --prefer-dist --no-progress @@ -99,6 +100,9 @@ jobs: strategy: matrix: include: + - db-version: '5.7' + php-version: '7.2' + typo3-version: '^10.4' - db-version: '5.7' php-version: '7.3' typo3-version: '^10.4' @@ -159,6 +163,8 @@ jobs: strategy: matrix: include: + - php-version: '7.2' + typo3-version: '^10.4' - php-version: '7.3' typo3-version: '^10.4' - php-version: '7.4' diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3c279..52e7bc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.2.0 - 2023-05-04 + +### Added + +- Add PHP 7.2 support. + ## v1.1.0 - 2023-04-12 ### Added diff --git a/composer.json b/composer.json index 61da55d..69b7d8b 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "bin/typo3-php-datasets" ], "require": { - "php": "^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2", + "php": "^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2", "composer-runtime-api": "^2.2", "doctrine/dbal": "^2.13", "symfony/console": "^5.4", @@ -33,7 +33,7 @@ "friendsofphp/php-cs-fixer": "^3.4", "phpstan/phpstan": "^1.10", "phpstan/phpstan-phpunit": "^1.3", - "phpunit/phpunit": "^9.6", + "phpunit/phpunit": "^8.5 || ^9.6", "typo3/testing-framework": "^6.16" }, "extra": {