Skip to content

Commit 16a7019

Browse files
committed
feat: update dependencies
1 parent a208657 commit 16a7019

File tree

11 files changed

+31
-88
lines changed

11 files changed

+31
-88
lines changed

.github/CONTRIBUTING.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/static.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ jobs:
1111
steps:
1212

1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: 8.1
19+
php-version: 8.2
2020
extensions: zip
21-
tools: composer
2221
coverage: none
2322

2423
- name: Install PHP dependencies
@@ -33,25 +32,20 @@ jobs:
3332
phpstan:
3433
runs-on: ubuntu-latest
3534

36-
strategy:
37-
matrix:
38-
dependency-version: [prefer-lowest, prefer-stable]
39-
40-
name: PHPStan (${{ matrix.dependency-version }})
35+
name: PHPStan
4136

4237
steps:
4338
- name: Checkout
44-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4540

4641
- name: Setup PHP
4742
uses: shivammathur/setup-php@v2
4843
with:
49-
php-version: 8.1
50-
tools: composer
44+
php-version: 8.2
5145
coverage: none
5246

5347
- name: Install Dependencies
54-
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist --no-progress --ansi
48+
run: composer update --no-interaction --prefer-dist --no-progress --ansi
5549

5650
- name: Run PHPStan
5751
run: vendor/bin/phpstan analyse --no-progress --ansi

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, macos-latest, windows-latest]
11-
php: ['8.1']
11+
php: ['8.2', '8.3', '8.4']
1212
dependency-version: [prefer-lowest, prefer-stable]
1313

1414
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
1515

1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919

2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2
2222
with:
2323
php-version: ${{ matrix.php }}
24-
tools: composer
2524
extensions: fileinfo
2625
coverage: none
2726

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
"parceltrap-driver"
88
],
99
"require": {
10-
"php": "^8.1",
10+
"php": "^8.2",
1111
"graham-campbell/guzzle-factory": "^5.0",
12-
"parceltrap/parceltrap": "^1.0"
12+
"parceltrap/parceltrap": "^1.4"
1313
},
1414
"require-dev": {
15-
"laravel/pint": "^1.2",
16-
"orchestra/testbench": "^7.9",
17-
"pestphp/pest": "^1.21.1",
18-
"phpstan/phpstan": "^1.4.5",
19-
"symfony/var-dumper": "^6.0"
15+
"laravel/pint": "^1.21",
16+
"orchestra/testbench": "^9.0|^10.0",
17+
"pestphp/pest": "^3.7",
18+
"phpstan/phpstan": "^2.1.6",
19+
"symfony/var-dumper": "^7.2"
2020
},
2121
"autoload": {
2222
"psr-4": {

phpstan.neon.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@ parameters:
22
level: max
33
paths:
44
- src/
5-
6-
checkMissingIterableValueType: false
7-
reportUnmatchedIgnoredErrors: true

phpunit.xml.dist

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
verbose="true">
5+
colors="true">
76
<testsuites>
87
<testsuite name="Test Suite">
98
<directory suffix="Test.php">tests</directory>
109
</testsuite>
1110
</testsuites>
12-
<coverage processUncoveredFiles="true">
11+
<source>
1312
<include>
1413
<directory suffix=".php">src</directory>
1514
</include>
16-
</coverage>
15+
</source>
1716
</phpunit>

pint.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"preset": "laravel",
3+
"rules": {
4+
"declare_strict_types": true,
5+
"nullable_type_declaration": {
6+
"syntax": "union"
7+
},
8+
"ordered_types": {
9+
"null_adjustment": "always_last"
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)