Skip to content

Commit a31b822

Browse files
authored
Merge pull request #57 from offline-agency/feat-upgrade-laravel-11
Feat upgrade Laravel 11
2 parents ac53b25 + 6c2afb2 commit a31b822

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,27 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, macos-latest]
16-
php: [7.3, 7.4, 8.0, 8.1]
17-
laravel: [5.8, 6.*, 7.*, 8.*, 9.*]
16+
php: [7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
17+
laravel: [5.8, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*]
1818
exclude:
1919
- laravel: 9.*
2020
php: 7.4
2121
- laravel: 9.*
2222
php: 7.3
23+
- laravel: 10.*
24+
php: 7.4
25+
- laravel: 10.*
26+
php: 7.3
27+
- laravel: 10.*
28+
php: 8.0
29+
- laravel: 11.*
30+
php: 7.4
31+
- laravel: 11.*
32+
php: 7.3
33+
- laravel: 11.*
34+
php: 8.0
35+
- laravel: 11.*
36+
php: 8.1
2337

2438
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }}
2539

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"require": {
2020
"php": ">=7.3",
2121
"ext-json": "*",
22-
"illuminate/support": "^5.8|^6.0|^7.0|^8.0|^9.0",
22+
"illuminate/support": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
2323
"guzzlehttp/guzzle": "^5.8|^6.5|7.0.1|^7.2",
24-
"illuminate/container": "^5.8|^6.0|^7.0|^8.0|^9.0",
25-
"illuminate/http": "^5.8|^6.0|^7.0|^8.0|^9.0"
24+
"illuminate/container": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
25+
"illuminate/http": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
2626
},
2727
"require-dev": {
2828
"orchestra/testbench": "^3.1|^4.0|^5.0|^6.0|^7.0",
2929
"phpstan/phpstan": "^1.7",
30-
"phpunit/phpunit": "^5.8|^6.0|^7.0|^8.0|^9.0"
30+
"phpunit/phpunit": "^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
3131
},
3232
"autoload": {
3333
"psr-4": {

src/LaravelFattureInCloudV2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private function setCompanyId()
5555
private function setHeader()
5656
{
5757
$this->header = Http::withHeaders([
58-
'Accept' => 'application/json',
58+
'Accept' => 'application/json',
5959
'Authorization' => 'Bearer '.$this->getBearer(),
6060
]);
6161
}

tests/Fake/IssuedDocument/Document.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function getIssuedDocumentFakeDetail(
5353
'is_marked' => $this->value($params, 'is_marked', false),
5454
'created_at' => $this->value($params, 'created_at', date('Y-m-d H:i:s')),
5555
'updated_at' => $this->value($params, 'updated_at', date('Y-m-d H:i:s')),
56-
'entity' => (new Entity())->getEntityFake($params),
56+
'entity' => (new Entity())->getEntityFake($params),
5757
'date' => $this->value($params, 'date', date('Y-m-d')),
5858
'number' => $this->value($params, 'number', 1),
5959
'currency' => (new Currency())->getCurrencyFake($params),

0 commit comments

Comments
 (0)