Skip to content

Commit

Permalink
Php82 83 support (#3)
Browse files Browse the repository at this point in the history
Drops support for PHP <8.1, adds support for 8.2 & 8.3
  • Loading branch information
garethellis36 committed Jun 21, 2024
1 parent 0bd58bf commit d108c0f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
36 changes: 23 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,30 @@ name: CI
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

run:
runs-on: 'ubuntu-latest'
strategy:
matrix:
php-versions:
- '8.1'
- '8.2'
- '8.3'
dependencies:
- "lowest"
- "highest"
steps:
- uses: actions/checkout@v1

- name: Composer install
run: composer install --prefer-dist
- uses: actions/checkout@v2

- name: Run PHPUnit (7.4)
run: php7.4 vendor/bin/phpunit
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: intl

- name: Run PHPUnit (8.0)
run: php8.0 vendor/bin/phpunit
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.dependencies }}"

- name: Run PHPUnit (8.1)
run: php8.1 vendor/bin/phpunit
- name: Run PHPUnit
run: vendor/bin/phpunit
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## [1.2.0] - 2024-06-21
* Support for PHP versions below `8.1` has been dropped.
* PHP `8.1`, `8.2`, and `8.3` are now supported and tested.

## [1.1.0] - 2021-02-26
* Updates `beberlei/assert` version

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": "7.3.* | 7.4.* | 8.0.* | 8.1.*",
"php": "8.1.* | 8.2.* | 8.3.*",
"ext-intl": "*",
"beberlei/assert": "^3.3"
},
Expand Down

0 comments on commit d108c0f

Please sign in to comment.