Skip to content

Commit c852434

Browse files
committed
build(ci): update
1 parent dfa551c commit c852434

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ jobs:
8686
- name: Install dependencies
8787
run: composer install --prefer-dist --no-interaction
8888

89-
- name: Install Laravel Pint
90-
run: composer require laravel/pint --dev --no-interaction
91-
9289
- name: Run Laravel Pint
9390
run: vendor/bin/pint --test
9491

@@ -117,8 +114,5 @@ jobs:
117114
- name: Install dependencies
118115
run: composer install --prefer-dist --no-interaction
119116

120-
- name: Install PHPStan
121-
run: composer require phpstan/phpstan --dev --no-interaction
122-
123117
- name: Run PHPStan
124118
run: vendor/bin/phpstan analyse --memory-limit=2G

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
],
1111
"require-dev": {
1212
"orchestra/testbench": "^8.0|^9.0|^10.0",
13-
"pestphp/pest": "^4.1.0",
13+
"pestphp/pest": "^2.0|^3.0",
1414
"laravel/pint": "^1.0",
15-
"phpstan/phpstan": "^2.1"
15+
"phpstan/phpstan": "^1.0|^2.0"
1616
},
1717
"autoload": {
1818
"psr-4": {
@@ -29,7 +29,7 @@
2929
"test-coverage": "XDEBUG_MODE=coverage vendor/bin/pest --coverage --min=80",
3030
"test-coverage-html": "XDEBUG_MODE=coverage vendor/bin/pest --coverage --coverage-html=coverage-html",
3131
"style": "vendor/bin/pint",
32-
"analyse": "vendor/bin/phpstan analyse"
32+
"analyse": "vendor/bin/phpstan analyse --memory-limit=2G"
3333
},
3434
"minimum-stability": "dev",
3535
"prefer-stable" : true,

0 commit comments

Comments
 (0)