Skip to content

Commit

Permalink
update phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
miftahurrahmi committed Jun 28, 2024
1 parent 0e773fb commit 912d4be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [8.0]
laravel: ["8.*"]
laravel-require: [8.0]
php: [8.2]
laravel: ["11.*"]
laravel-require: [11.0]

name: "PHP ${{ matrix.php }} / Laravel ${{ matrix.laravel }}"

Expand All @@ -36,7 +36,7 @@ jobs:
extensions: mbstring, pdo_sqlite, fileinfo, gd, php_pgsql
coverage: none

# Install legacy factories for Laravel 8/9
# Install legacy factories for Laravel 11
- name: Install legacy factories for Laravel
run: composer create-project laravel/laravel:^${{matrix.laravel-require}} laravel

Expand All @@ -59,7 +59,7 @@ jobs:

# Badaso Core Test PHPStan
- name: Badaso core test PHPStan
run: cd laravel &&
run: cd laravel &&
./vendor/bin/phpstan analyse -c vendor/badaso/core/phpstan.neon.dist


2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
extensions: mbstring, pdo_sqlite, fileinfo, gd, php_pgsql, json, openssl, php_pcov
coverage: xdebug

# Install legacy factories for Laravel 8/9
# Install legacy factories for Laravel 11
- name: Install legacy factories for Laravel
run: composer create-project laravel/laravel:^${{matrix.laravel-require}} laravel

Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ image:
file: .gitpod.Dockerfile
tasks:
- name: Starting Project
init: composer create-project laravel/laravel:^8.0 laravel &&
init: composer create-project laravel/laravel:^11.0 laravel &&
mkdir -p laravel/packages/badaso/core &&
mv {,.}* laravel/packages/badaso/core 2>/dev/null; true &&
cd laravel &&
Expand Down

0 comments on commit 912d4be

Please sign in to comment.