Skip to content

Commit 530db81

Browse files
NorgulStyleCIBot
andauthored
Laravel 9 PHP 8 upgrade #major (#39)
* Laravel 9 PHP 8 upgrade #major * Apply fixes from StyleCI Co-authored-by: StyleCI Bot <bot@styleci.io>
1 parent 26c3a86 commit 530db81

File tree

4 files changed

+1041
-1000
lines changed

4 files changed

+1041
-1000
lines changed

.github/workflows/pull_request.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ on:
77
jobs:
88
build:
99

10-
runs-on: Ubuntu-20.04
10+
runs-on: ubuntu-20.04
1111

1212
steps:
1313
- uses: actions/checkout@v2
1414

1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '7.4'
18+
php-version: '8.0'
1919
extensions: mbstring, intl
2020
ini-values: post_max_size=256M, max_execution_time=180
2121
coverage: xdebug
@@ -42,7 +42,8 @@ jobs:
4242
vendor/phpunit/phpunit/phpunit
4343

4444
- name: PHP STatic ANalyser (phpstan)
45-
uses: chindit/actions-phpstan@1.0.1
45+
uses: php-actions/phpstan@v3
4646
with:
47-
# Arguments to add to PHPStan CLI
48-
arguments: --level 0 src
47+
path: 'src'
48+
php_version: '8.0'
49+
level: 0

.github/workflows/versioning.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
fetch-depth: '0'
1717
- name: Bump version and push tag
18-
uses: anothrNick/github-tag-action@1.34.0
18+
uses: anothrNick/github-tag-action@1.39.0
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
WITH_V: true

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
],
88
"license": "MIT",
99
"require": {
10-
"php": "^7.4 || ^8.0",
11-
"laravel/framework": "^8.0"
10+
"php": "^8.0",
11+
"laravel/framework": "^9.0"
1212
},
1313
"require-dev": {
14-
"phpunit/phpunit": "^9.0",
15-
"mockery/mockery": "^1.3.1",
14+
"phpunit/phpunit": "^9.5",
15+
"mockery/mockery": "^1.4.4",
1616
"fakerphp/faker": "^1.9.1",
17-
"orchestra/testbench": "^6.0"
17+
"orchestra/testbench": "^7.4"
1818
},
1919
"autoload": {
2020
"psr-4": {

0 commit comments

Comments
 (0)