Skip to content

Commit

Permalink
Build PHP 8.3, drop support for PHP 8.0 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Namoshek authored Nov 5, 2024
1 parent e8ece28 commit fab6802
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['8.0', '8.1', '8.2']
php-version: ['8.1', '8.2', '8.3']
include:
- operating-system: 'ubuntu-latest'
php-version: '8.2'
php-version: '8.3'
run-sonarqube-analysis: true

services:
redis:
image: bitnami/redis:6.2.4-debian-10-r35
image: bitnami/redis:7.4-debian-12
ports:
- 6379:6379
env:
Expand All @@ -36,7 +36,7 @@ jobs:
--health-timeout 5s
--health-retries 5
redis-sentinel:
image: bitnami/redis-sentinel:6.2.4-debian-10-r39
image: bitnami/redis-sentinel:7.4-debian-12
ports:
- 26379:26379
env:
Expand All @@ -60,7 +60,6 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
extensions: redis
tools: phpunit:9.5.0
coverage: pcov

- name: Setup problem matchers for PHP
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-redis": "*",
"illuminate/contracts": "^8.0|^9.0|^10.0|^11.0",
"illuminate/redis": "^8.0|^9.0|^10.0|^11.0",
Expand Down
3 changes: 1 addition & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
bootstrap="vendor/autoload.php"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
shortenArraysForExportThreshold="10"
requireCoverageMetadata="false"
beStrictAboutCoverageMetadata="true"
beStrictAboutOutputDuringTests="true"
Expand All @@ -23,7 +22,7 @@
<directory>tests</directory>
</testsuite>
</testsuites>
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
<source restrictNotices="true" restrictWarnings="true">
<include>
<directory>src</directory>
</include>
Expand Down

0 comments on commit fab6802

Please sign in to comment.