Skip to content
This repository was archived by the owner on Nov 1, 2025. It is now read-only.

Commit 544f334

Browse files
committed
WIP
1 parent 3789a6e commit 544f334

File tree

8 files changed

+27
-33
lines changed

8 files changed

+27
-33
lines changed

composer.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,34 @@
1111
"license": "MIT",
1212
"authors": [
1313
{
14-
"name": "Sebastian Fix",
15-
"email": "sebastian.fix@codebar.ch",
14+
"name": "Sebastian Bürgin-Fix",
15+
"email": "sebastian.buergin@buergin.ch",
1616
"homepage": "https://www.codebar.ch",
17-
"role": "Developer"
17+
"role": "Sofware-Engineer"
18+
},
19+
{
20+
"name": "Rhys Lees",
21+
"role": "Software-Engineer"
1822
}
1923
],
2024
"require": {
21-
"php": ">=8.2",
25+
"php": "8.2.*|8.3.*|8.4.*",
2226
"guzzlehttp/guzzle": "^7.8",
23-
"illuminate/contracts": "^11.0",
24-
"saloonphp/laravel-plugin": "^3.2",
25-
"saloonphp/saloon": "^3.4",
27+
"illuminate/contracts": "^12.0",
2628
"saloonphp/cache-plugin": "^3.0",
27-
"spatie/laravel-package-tools": "^1.16"
29+
"saloonphp/laravel-plugin": "^3.5",
30+
"saloonphp/saloon": "^3.10.1",
31+
"spatie/laravel-package-tools": "^1.19"
2832
},
2933
"require-dev": {
30-
"laravel/pint": "^1.13",
31-
"nunomaduro/collision": "^8.1",
32-
"larastan/larastan": "^2.8",
33-
"pestphp/pest": "^2.31",
34-
"orchestra/testbench": "^9.0",
35-
"pestphp/pest-plugin-laravel": "^2.2",
36-
"pestphp/pest-plugin-arch": "^2.6",
37-
"phpstan/extension-installer": "^1.3",
38-
"phpstan/phpstan-deprecation-rules": "^1.1",
39-
"phpstan/phpstan-phpunit": "^1.3",
40-
"spatie/laravel-ray": "^1.33"
34+
"laravel/pint": "^1.21",
35+
"larastan/larastan": "^v3.1",
36+
"orchestra/testbench": "^10.0",
37+
"pestphp/pest": "^3.7",
38+
"phpstan/extension-installer": "^1.4",
39+
"phpstan/phpstan-deprecation-rules": "^2.0",
40+
"phpstan/phpstan-phpunit": "^2.0",
41+
"spatie/laravel-ray": "^1.39"
4142
},
4243
"autoload": {
4344
"psr-4": {

src/DTO/Agency.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ public function __construct(
1515
public ?string $country,
1616
public ?string $logo_url,
1717
public ?string $logo_url_org_logo_m,
18-
) {
19-
}
18+
) {}
2019

2120
public static function fromJson(array $data): self
2221
{

src/DTO/Attribute.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ class Attribute
88
{
99
public function __construct(
1010
public ?string $name,
11-
) {
12-
}
11+
) {}
1312

1413
public static function fromJson(array $data): self
1514
{

src/DTO/Document.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ public function __construct(
1111
public ?string $url,
1212
public ?int $ordering,
1313
public ?string $caption,
14-
) {
15-
}
14+
) {}
1615

1716
public static function fromJson(array $data): self
1817
{

src/DTO/Image.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ public function __construct(
1616
public ?int $ordering,
1717
public ?int $width,
1818
public ?int $height,
19-
) {
20-
}
19+
) {}
2120

2221
public static function fromJson(array $data): self
2322
{

src/DTO/Listing.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ public function __construct(
7070
public ?int $livingspace,
7171
public ?Carbon $published,
7272
public ?Carbon $created,
73-
) {
74-
}
73+
) {}
7574

7675
public static function fromJson(array $data): self
7776
{

src/Requests/GetPublicListing.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ public function resolveEndpoint(): string
3434
public function __construct(
3535
protected string $identifier,
3636
protected array $expand = [],
37-
) {
38-
}
37+
) {}
3938

4039
protected function defaultHeaders(): array
4140
{

src/Response/PublicListing.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ public function __construct(
1414
public ?string $next,
1515
public ?string $previous,
1616
public ?Collection $results,
17-
) {
18-
}
17+
) {}
1918

2019
public static function fromResponse(Response $response): self
2120
{

0 commit comments

Comments
 (0)