Skip to content

Commit 5bae69b

Browse files
committed
L12
1 parent ddc4e50 commit 5bae69b

File tree

115 files changed

+251
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+251
-18
lines changed

.github/workflows/run-tests.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: run-tests
33
on:
44
push:
55
paths:
6-
- '**.php'
7-
- '.github/workflows/run-tests.yml'
8-
- 'phpunit.xml.dist'
9-
- 'composer.json'
10-
- 'composer.lock'
6+
- "**.php"
7+
- ".github/workflows/run-tests.yml"
8+
- "phpunit.xml.dist"
9+
- "composer.json"
10+
- "composer.lock"
1111

1212
jobs:
1313
test:
@@ -18,9 +18,12 @@ jobs:
1818
matrix:
1919
os: [ubuntu-latest, windows-latest]
2020
php: [8.3, 8.2]
21-
laravel: [11.*, 10.*]
21+
laravel: [12.*, 11.*, 10.*]
2222
stability: [prefer-lowest, prefer-stable]
2323
include:
24+
- laravel: 12.*
25+
testbench: 10.*
26+
carbon: ^3
2427
- laravel: 11.*
2528
testbench: 9.*
2629
carbon: ^2.63

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
},
2525
"require-dev": {
2626
"laravel/pint": "^1.14",
27-
"nunomaduro/collision": "^8.1.1||^7.10.0",
28-
"larastan/larastan": "^2.9",
29-
"orchestra/testbench": "^9.0.0||^8.22.0",
30-
"pestphp/pest": "^2.34",
31-
"pestphp/pest-plugin-arch": "^2.7",
32-
"pestphp/pest-plugin-laravel": "^2.3",
33-
"phpstan/extension-installer": "^1.3",
34-
"phpstan/phpstan-deprecation-rules": "^1.1",
35-
"phpstan/phpstan-phpunit": "^1.3"
27+
"nunomaduro/collision": "^7.10.0||^8.1.1",
28+
"larastan/larastan": "^3.0",
29+
"orchestra/testbench": "^8.22.0||^9.0.0||^10.0.0",
30+
"pestphp/pest": "^3.0",
31+
"pestphp/pest-plugin-arch": "^3.0",
32+
"pestphp/pest-plugin-laravel": "^3.0",
33+
"phpstan/extension-installer": "^1.3||^2.0",
34+
"phpstan/phpstan-deprecation-rules": "^1.1||^2.0",
35+
"phpstan/phpstan-phpunit": "^1.3||^2.0"
3636
},
3737
"autoload": {
3838
"psr-4": {

config/yousign.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
return [
46
/**
57
* The Yousign API key

database/factories/ModelFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Elegantly\Yousign\Database\Factories;
46

57
use Illuminate\Database\Eloquent\Factories\Factory;

phpstan.neon.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ parameters:
1010
tmpDir: build/phpstan
1111
checkOctaneCompatibility: true
1212
checkModelProperties: true
13+
checkModelAppends: false
14+
noEnvCallsOutsideOfConfig: false

pint.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"preset": "laravel",
3+
"rules": {
4+
"declare_strict_types": true
5+
}
6+
}

src/Commands/YousignCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Elegantly\Yousign\Commands;
46

57
use Illuminate\Console\Command;

src/Facades/Yousign.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Elegantly\Yousign\Facades;
46

57
use Elegantly\Yousign\Integration\YousignConnector;

src/Integration/Requests/Approver/DeleteSignatureRequestsSignatureRequestIdApproversApproverId.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Elegantly\Yousign\Integration\Requests\Approver;
46

57
use Saloon\Enums\Method;

src/Integration/Requests/Approver/GetSignatureRequestsSignatureRequestIdApproversApproverId.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Elegantly\Yousign\Integration\Requests\Approver;
46

57
use Saloon\Enums\Method;

0 commit comments

Comments
 (0)