Skip to content

Commit 11e7076

Browse files
author
Aidan Casey
committed
Bumps dependencies for Laravel 9
1 parent 3366b23 commit 11e7076

File tree

4 files changed

+20
-10
lines changed

4 files changed

+20
-10
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Run PHP CS Fixer
1616
uses: docker://oskarstark/php-cs-fixer-ga
1717
with:
18-
args: --config=.php_cs.dist.php --allow-risky=yes
18+
args: --config=.php-cs-fixer.dist.php --allow-risky=yes
1919

2020
- name: Commit changes
2121
uses: stefanzweifel/git-auto-commit-action@v4

.github/workflows/run-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [8.0,8.1]
17-
laravel: [8.*]
16+
php: [8.0, 8.1]
17+
laravel: [8.*, 9.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 8.*
2121
testbench: ^6.6
22+
- laravel: 9.*
23+
testbench: 7.*
2224

2325
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2426

File renamed without changes.

composer.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,27 @@
1515
"role": "Developer"
1616
}
1717
],
18+
"repositories": [
19+
{
20+
"type": "vcs",
21+
"url": "https://github.com/aidan-casey/laravel-typescript-transformer"
22+
}
23+
],
1824
"require": {
1925
"php": "^8.0",
20-
"illuminate/contracts": "^8.71",
26+
"illuminate/contracts": "^8.71|^9.0",
2127
"phpdocumentor/type-resolver": "^1.5",
2228
"spatie/laravel-package-tools": "^1.9.0"
2329
},
2430
"require-dev": {
2531
"brianium/paratest": "^6.2",
2632
"fakerphp/faker": "^1.14",
33+
"friendsofphp/php-cs-fixer": "^3.0",
2734
"nette/php-generator": "^3.5",
28-
"nunomaduro/collision": "^5.3",
29-
"orchestra/testbench": "^6.23",
35+
"nunomaduro/collision": "^5.3|^6.0",
36+
"orchestra/testbench": "^6.23|^7.0",
3037
"phpunit/phpunit": "^9.3",
31-
"spatie/laravel-typescript-transformer": "^2.0",
38+
"spatie/laravel-typescript-transformer": "^2.0|dev-laravel-9.x",
3239
"spatie/phpunit-snapshot-assertions": "^4.2",
3340
"spatie/test-time": "^1.2",
3441
"vimeo/psalm": "^4.4"
@@ -45,9 +52,10 @@
4552
}
4653
},
4754
"scripts": {
48-
"psalm": "vendor/bin/psalm --no-cache --php-version=8.1",
49-
"test": "./vendor/bin/testbench package:test --parallel --no-coverage",
50-
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
55+
"psalm": "vendor/bin/psalm --no-cache --php-version=8.0",
56+
"test": "./vendor/bin/paratest --no-coverage",
57+
"test-coverage": "vendor/bin/phpunit --coverage-html coverage",
58+
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
5159
},
5260
"config": {
5361
"sort-packages": true

0 commit comments

Comments
 (0)