Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 1a31329

Browse files
authored
chore: upgrade to use latest version of phpstan (#20)
1 parent 68d28ca commit 1a31329

24 files changed

+1482
-890
lines changed

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
- name: Setup PHP
1919
uses: shivammathur/setup-php@v2
2020
with:
21-
php-version: "7.4"
21+
php-version: "8.0"
2222
extensions: mbstring, dom, fileinfo, intl, gd, imagick, bcmath, soap, zip, sqlite, pcov
2323
coverage: pcov
2424

2525
- name: Install
26-
run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist --optimize-autoloader
26+
run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist --optimize-autoloader --ignore-platform-reqs
2727

2828
- name: Run php-cs-fixer
2929
run: composer format

.github/workflows/static.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup PHP
2020
uses: shivammathur/setup-php@v2
2121
with:
22-
php-version: "7.4"
22+
php-version: "8.0"
2323
extensions: mbstring, dom, fileinfo, intl, gd, imagick, bcmath, soap, zip, sqlite, pcov
2424
coverage: pcov
2525

@@ -30,7 +30,7 @@ jobs:
3030
key: dependencies-composer-${{ hashFiles('composer.json') }}
3131

3232
- name: Install Composer dependencies
33-
run: composer install --no-ansi --no-interaction --no-suggest --no-progress --prefer-dist --optimize-autoloader
33+
run: composer install --no-ansi --no-interaction --no-suggest --no-progress --prefer-dist --optimize-autoloader --ignore-platform-reqs
3434

3535
- name: Run PHPStan
3636
run: ./vendor/bin/phpstan analyse --memory-limit=2G

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup PHP
2020
uses: shivammathur/setup-php@v2
2121
with:
22-
php-version: "7.4"
22+
php-version: "8.0"
2323
extensions: mbstring, dom, fileinfo, intl, gd, imagick, bcmath, soap, zip, sqlite, pcov
2424
coverage: pcov
2525

@@ -30,7 +30,7 @@ jobs:
3030
key: dependencies-composer-${{ hashFiles('composer.json') }}
3131

3232
- name: Install Composer dependencies
33-
run: composer install --no-ansi --no-interaction --no-suggest --no-progress --prefer-dist --optimize-autoloader
33+
run: composer install --no-ansi --no-interaction --no-suggest --no-progress --prefer-dist --optimize-autoloader --ignore-platform-reqs
3434

3535
- name: Run Tests
3636
run: composer test

composer.json

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,15 @@
1010
"require": {
1111
"illuminate/support": "^8.28",
1212
"graham-campbell/markdown": "^13.1",
13-
"spatie/regex": "^1.4",
13+
"spatie/regex": "^2.0",
1414
"league/commonmark": "^1.5",
1515
"calebporzio/sushi": "^2.1",
1616
"spatie/yaml-front-matter": "^2.0",
1717
"unicorn-fail/emoji": "1.0.x-dev",
18-
"arkecosystem/ui": "^3.0"
18+
"arkecosystem/ui": "^4.0"
1919
},
2020
"require-dev": {
21-
"friendsofphp/php-cs-fixer": "^2.18",
22-
"graham-campbell/analyzer": "^3.0",
23-
"mockery/mockery": "^1.4",
24-
"nunomaduro/larastan": "^0.7.0",
25-
"nunomaduro/laravel-mojito": "^0.2.7",
26-
"pestphp/pest": "^1.0.0",
27-
"pestphp/pest-plugin-faker": "^1.0.0",
28-
"pestphp/pest-plugin-laravel": "^1.0.0",
29-
"pestphp/pest-plugin-livewire": "^1.0.0",
30-
"phpunit/phpunit": "^9.5",
31-
"orchestra/testbench": "^6.2",
32-
"spatie/pest-plugin-snapshots": "^1.0",
21+
"arkecosystem/stan": "^3.3",
3322
"guzzlehttp/guzzle": "^7.3"
3423
},
3524
"autoload": {

0 commit comments

Comments
 (0)