Skip to content

Commit

Permalink
Laravel 9 PHP 8 upgrade #major (#39)
Browse files Browse the repository at this point in the history
* Laravel 9 PHP 8 upgrade #major

* Apply fixes from StyleCI

Co-authored-by: StyleCI Bot <bot@styleci.io>
  • Loading branch information
Norgul and StyleCIBot committed Apr 27, 2022
1 parent 26c3a86 commit 530db81
Show file tree
Hide file tree
Showing 4 changed files with 1,041 additions and 1,000 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ on:
jobs:
build:

runs-on: Ubuntu-20.04
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
extensions: mbstring, intl
ini-values: post_max_size=256M, max_execution_time=180
coverage: xdebug
Expand All @@ -42,7 +42,8 @@ jobs:
vendor/phpunit/phpunit/phpunit

- name: PHP STatic ANalyser (phpstan)
uses: chindit/actions-phpstan@1.0.1
uses: php-actions/phpstan@v3
with:
# Arguments to add to PHPStan CLI
arguments: --level 0 src
path: 'src'
php_version: '8.0'
level: 0
2 changes: 1 addition & 1 deletion .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.34.0
uses: anothrNick/github-tag-action@1.39.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
],
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
"laravel/framework": "^8.0"
"php": "^8.0",
"laravel/framework": "^9.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"mockery/mockery": "^1.3.1",
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.4.4",
"fakerphp/faker": "^1.9.1",
"orchestra/testbench": "^6.0"
"orchestra/testbench": "^7.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 530db81

Please sign in to comment.