Skip to content

Commit

Permalink
Drop support for php 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Aug 27, 2024
1 parent 796ae51 commit b345f0e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/runTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,15 @@ jobs:
fail-fast: false
matrix:
php-versions:
- '5.3'
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
- '8.4'
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
Expand Down Expand Up @@ -62,11 +59,11 @@ jobs:
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies for PHP < 8.0
if: matrix.php-versions != '8.0' && matrix.php-versions != '8.1' && matrix.php-versions != '8.2'
if: matrix.php-versions != '8.0' && matrix.php-versions != '8.1' && matrix.php-versions != '8.2' && matrix.php-versions != '8.3' && matrix.php-versions != '8.4'
run: composer install --prefer-dist --no-progress

- name: Install PHPUnit 8 for PHP 8
if: matrix.php-versions == '8.0' || matrix.php-versions == '8.1' || matrix.php-versions == '8.2'
if: matrix.php-versions == '8.0' || matrix.php-versions == '8.1' || matrix.php-versions == '8.2' || matrix.php-versions == '8.3' || matrix.php-versions == '8.4'
run: |
composer require --dev phpunit/phpunit:8.5.17 --ignore-platform-reqs
git apply --reject --whitespace=fix src/test/patches/php8-return-types.diff
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
1.6.?? (2022-??-??)
1.6.12 (2024-??-??)
-------------------

* Add support for PHP 8.2's `$content` property in `vfsStreamWrapper`

1.6.11 (2022-07-26)
-------------------

* Add support for PHP 8.2's `$content` property in `vfsStreamWrapper`
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"wiki": "https://github.com/bovigo/vfsStream/wiki"
},
"require": {
"php": ">=5.3.0"
"php": ">=7.1.0"
},
"require-dev": {
"phpunit/phpunit": "^4.5|^5.0"
Expand Down

0 comments on commit b345f0e

Please sign in to comment.