Drop support for PHP <8.1

This commit is contained in:
Jérôme Gamez
2022-11-05 00:03:47 +01:00
parent 201ed087ca
commit 317ed729ce
3 changed files with 13 additions and 11 deletions
+1 -2
View File
@@ -15,9 +15,8 @@ jobs:
strategy: strategy:
matrix: matrix:
php: php:
- "7.4"
- "8.0"
- "8.1" - "8.1"
- "8.2"
dependencies: dependencies:
- "lowest" - "lowest"
- "highest" - "highest"
+3
View File
@@ -1,5 +1,8 @@
# CHANGELOG # CHANGELOG
## Unreleased
This release drops support for PHP <8.1.
## 2.1.0 - 2022-04-22 ## 2.1.0 - 2022-04-22
Adds the `WrappingClock` which allows using an object with a `now()` method returning a `DateTimeImmutable` object Adds the `WrappingClock` which allows using an object with a `now()` method returning a `DateTimeImmutable` object
as a "real" clock. as a "real" clock.
+9 -9
View File
@@ -11,17 +11,17 @@
} }
], ],
"require": { "require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0", "php": "~8.1.0 || ~8.2.0",
"stella-maris/clock": "^0.1.4" "stella-maris/clock": "^0.1.6"
}, },
"require-dev": { "require-dev": {
"phpstan/extension-installer": "^1.1", "phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.0", "phpstan/phpstan": "^1.9.1",
"phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-phpunit": "^1.2.2",
"phpstan/phpstan-strict-rules": "^1.0", "phpstan/phpstan-strict-rules": "^1.4.4",
"phpunit/phpunit": "^9.5.10", "phpunit/phpunit": "^9.5.26",
"psalm/plugin-phpunit": "^0.16.0", "psalm/plugin-phpunit": "^0.16.1",
"vimeo/psalm": "^4.15" "vimeo/psalm": "^4.29"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {