Skip to content

Commit 08424ce

Browse files
authored
Added is app and phpstan (#33)
* Added is app and phpstan * Run phpstan on 8.4 * Add composer lock and update
1 parent f6db0b0 commit 08424ce

File tree

7 files changed

+9314
-6
lines changed

7 files changed

+9314
-6
lines changed

.github/workflows/quality-assurance.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,15 @@ jobs:
2020
php-version: ${{ matrix.php-version }}
2121
- run: composer install
2222
- run: ./vendor/bin/php-cs-fixer fix --dry-run
23+
phpstan:
24+
runs-on: ubuntu-latest
25+
strategy:
26+
matrix:
27+
php-version: [8.2, 8.3, 8.4]
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: shivammathur/setup-php@v2
31+
with:
32+
php-version: ${{ matrix.php-version }}
33+
- run: composer install
34+
- run: ./vendor/bin/phpstan

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
.php_cs.cache
44
.DS_Store
55
*.cache
6-
composer.lock

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"ext-apcu": "*"
1717
},
1818
"require-dev": {
19-
"cego/php-cs-fixer": "2.0.0"
19+
"cego/php-cs-fixer": "2.0.0",
20+
"cego/phpstan": "^4",
21+
"laravel/framework": "^11.41"
2022
},
2123
"autoload": {
2224
"psr-4": {

0 commit comments

Comments
 (0)