From bb299860859122177ee6902c74bbfe556ffbc78d Mon Sep 17 00:00:00 2001 From: Chuck Burgess Date: Sat, 16 Mar 2024 11:59:16 -0500 Subject: [PATCH] add older PHP5's since pear/composer allow back to 5.4 --- .github/workflows/build.yml | 4 +++- composer.json | 2 +- package.xml | 4 ++-- tests/setup.php.inc | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f509a62..fef9253 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: operating-system: [ ubuntu-latest ] - php: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ] + php: [ '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ] dependencies: [ 'locked' ] name: PHP ${{ matrix.php }} on ${{ matrix.operating-system }} with ${{ matrix.dependencies }} dependencies @@ -31,7 +31,9 @@ jobs: - name: Install PEAR run: | + sudo apt-get --fix-broken install sudo apt-get install php-pear + pear list - name: Run tests run: | diff --git a/composer.json b/composer.json index cca2e96..09c996b 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ } ], "require": { - "php": ">=5.2.0", + "php": ">=5.4.0", "pear/pear-core-minimal": "^1.10.0alpha2" }, "suggest": { diff --git a/package.xml b/package.xml index a997f41..c07d47d 100644 --- a/package.xml +++ b/package.xml @@ -71,10 +71,10 @@ Also Lzma2 compressed archives are supported with xz extension. - 5.2.0 + 5.4.0 - 1.9.0 + 1.10.0 diff --git a/tests/setup.php.inc b/tests/setup.php.inc index 0c7759b..f768403 100644 --- a/tests/setup.php.inc +++ b/tests/setup.php.inc @@ -1,5 +1,7 @@