Skip to content

Commit

Permalink
Add support to PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquemoody committed Dec 11, 2024
1 parent bba39a4 commit ab2ddd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"

steps:
- name: Checkout
Expand Down Expand Up @@ -96,7 +97,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
coverage: none

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
},
"require": {
"php": "^8.1 || ^8.2",
"php": ">=8.1",
"respect/stringifier": "^2.0.0",
"symfony/polyfill-mbstring": "^1.28"
},
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/rules/dateTimeDiff.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ The number of years between %d/%d/%d and 09/12/1988 must be less than 8

With input in incorrect $format
⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺⎺
For comparison with %d-%d-%d, "1 year ago" must be a valid datetime in the format 2024-12-09
- For comparison with %d-%d-%d, "1 year ago" must be a valid datetime in the format 2024-12-09
For comparison with %d-%d-%d, "1 year ago" must be a valid datetime in the format %d-%d-%d
- For comparison with %d-%d-%d, "1 year ago" must be a valid datetime in the format %d-%d-%d
[
'dateTimeDiffEquals' => 'For comparison with %d-%d-%d, "1 year ago" must be a valid datetime in the format 2024-12-09',
'dateTimeDiffEquals' => 'For comparison with %d-%d-%d, "1 year ago" must be a valid datetime in the format %d-%d-%d',
]

With custom $now
Expand Down

0 comments on commit ab2ddd0

Please sign in to comment.