Skip to content

Commit 13e8950

Browse files
committed
feat: remove php 8.4 deprecation messages
1 parent 1d0fc96 commit 13e8950

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: [8.2, 8.3]
18-
laravel: [11]
17+
php: [8.2, 8.3, 8.4]
18+
core: ['4.3.2', '5.0.1']
1919

2020
steps:
2121
- name: Checkout Code
@@ -30,8 +30,8 @@ jobs:
3030
coverage: none
3131
ini-values: error_reporting=E_ALL
3232

33-
- name: Set Laravel Version
34-
run: composer require "laravel/framework:^${{ matrix.laravel }}" --no-update
33+
- name: Set Laravel JSON:API Core Version
34+
run: composer require "laravel-json-api/core:^${{ matrix.core }}" --no-update
3535

3636
- name: Install dependencies
3737
uses: nick-fields/retry@v3

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. This projec
55

66
## Unreleased
77

8+
### Added
9+
10+
- Support `laravel-json-api/core` v4 and v5.
11+
- Remove deprecation messages in PHP 8.4.
12+
813
## [3.0.0] - 2024-03-28
914

1015
### Changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
],
2525
"require": {
2626
"php": "^8.2",
27-
"laravel-json-api/core": "^4.0|^5.0",
28-
"laravel-json-api/eloquent": "^4.0",
27+
"laravel-json-api/core": "^4.3.2|^5.0.1",
28+
"laravel-json-api/eloquent": "^4.4",
2929
"vinkla/hashids": "^12.0"
3030
},
3131
"require-dev": {

src/HashId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static function withDefaultConnection(?string $connection): void
6464
*
6565
* @param string|null $column
6666
*/
67-
public function __construct(string $column = null)
67+
public function __construct(?string $column = null)
6868
{
6969
parent::__construct($column);
7070
$this->matchAs('[a-zA-Z0-9]+');

0 commit comments

Comments
 (0)