Skip to content

Commit fe4c0ef

Browse files
authored
Merge pull request #18 from pauci/feature/php-8.2
feat: Allow and test for php 8.2
2 parents b1d44c4 + 13caaf7 commit fe4c0ef

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/continuous-integration.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup PHP
1818
uses: shivammathur/setup-php@v2
1919
with:
20-
php-version: 8.1
20+
php-version: 8.2
2121
coverage: none
2222

2323
- name: Get composer cache directory
@@ -52,7 +52,7 @@ jobs:
5252
uses: shivammathur/setup-php@v2
5353
with:
5454
coverage: none
55-
php-version: 8.1
55+
php-version: 8.2
5656

5757
- name: Get composer cache directory
5858
id: composer-cache
@@ -77,7 +77,7 @@ jobs:
7777

7878
strategy:
7979
matrix:
80-
php-versions: ['8.0', '8.1']
80+
php-versions: ['8.0', '8.1', '8.2']
8181

8282
steps:
8383
- name: Checkout code

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@
2222
"issues": "https://github.com/pauci/datetime/issues"
2323
},
2424
"require": {
25-
"php": "~8.0.0||~8.1.0",
25+
"php": "^8.0 || ^8.1 || ^8.2",
2626
"ext-json": "*",
2727
"psr/clock": "^1.0"
2828
},
2929
"require-dev": {
30-
"php-parallel-lint/php-parallel-lint": "^1.2",
31-
"phpstan/extension-installer": "^1.0",
32-
"phpstan/phpstan": "^1.2",
33-
"phpstan/phpstan-phpunit": "^1.0",
30+
"php-parallel-lint/php-parallel-lint": "^1.3",
31+
"phpstan/extension-installer": "^1.2",
32+
"phpstan/phpstan": "^1.9",
33+
"phpstan/phpstan-phpunit": "^1.3",
3434
"phpunit/phpunit": "^9.5",
35-
"squizlabs/php_codesniffer": "^3.5"
35+
"squizlabs/php_codesniffer": "^3.7"
3636
},
3737
"suggest": {
3838
"pauci/datetime-doctrine": "Allows the use of pauci/datetime value objects as Doctrine field types."

0 commit comments

Comments
 (0)