File tree Expand file tree Collapse file tree 6 files changed +18
-7
lines changed Expand file tree Collapse file tree 6 files changed +18
-7
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Tests
22
33on :
44 push :
5- branches : [ main, develop ]
5+ branches : [ main, develop, 4.x ]
66 pull_request :
7- branches : [ main, develop ]
7+ branches : [ main, develop, 4.x ]
88
99jobs :
1010 build :
Original file line number Diff line number Diff line change @@ -5,13 +5,25 @@ All notable changes to this project will be documented in this file. This projec
55
66## Unreleased
77
8+ ## [ 5.0.1] - 2024-11-30
9+
10+ ### Fixed
11+
12+ - Removed more PHP 8.4 deprecation notices.
13+
814## [ 5.0.0] - 2024-11-29
915
1016### Added
1117
1218- ** BREAKING** : [ #21 ] ( https://github.com/laravel-json-api/core/pull/21 ) The ` Authorizer ` contract now allows all methods
1319 to return a ` bool ` or an Illuminate authorization response.
1420
21+ ## [ 4.3.2] - 2024-11-30
22+
23+ ### Fixed
24+
25+ - Remove more PHP 8.4 deprecation notices.
26+
1527## [ 4.3.1] - 2024-11-29
1628
1729### Fixed
Original file line number Diff line number Diff line change 2525 "require" : {
2626 "php" : " ^8.2" ,
2727 "ext-json" : " *" ,
28- "illuminate/auth" : " ^11.33 " ,
28+ "illuminate/auth" : " ^11.0 " ,
2929 "illuminate/contracts" : " ^11.0" ,
3030 "illuminate/http" : " ^11.0" ,
3131 "illuminate/support" : " ^11.0"
Original file line number Diff line number Diff line change 1919
2020class ErrorSource implements Serializable
2121{
22-
2322 use Concerns \Serializable;
2423
2524 /**
@@ -71,7 +70,7 @@ public static function fromArray(array $source): self
7170 * @param string|null $pointer
7271 * @param string|null $parameter
7372 */
74- public function __construct (string $ pointer = null , string $ parameter = null )
73+ public function __construct (? string $ pointer = null , ? string $ parameter = null )
7574 {
7675 $ this ->pointer = $ pointer ;
7776 $ this ->parameter = $ parameter ;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function route(): Route
6363 * @param string|null $name
6464 * @return Server
6565 */
66- public function server (string $ name = null ): Server
66+ public function server (? string $ name = null ): Server
6767 {
6868 if (is_string ($ name )) {
6969 return $ this ->servers ()->server ($ name );
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ public function uriType(): string
223223 /**
224224 * @inheritDoc
225225 */
226- public function url ($ extra = [], bool $ secure = null ): string
226+ public function url ($ extra = [], ? bool $ secure = null ): string
227227 {
228228 $ extra = Arr::wrap ($ extra );
229229
You can’t perform that action at this time.
0 commit comments