Skip to content

Commit 84482c8

Browse files
authored
Laravel 9 PHP 8 upgrade #major (#77)
* Laravel 9 PHP 8 upgrade #major * Fix tests * Fix tests * Memory limit * Fix
1 parent 353f10b commit 84482c8

File tree

6 files changed

+1751
-981
lines changed

6 files changed

+1751
-981
lines changed

.github/workflows/pull_request.yml

Lines changed: 7 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,9 @@ 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
50+
memory_limit: 256M

.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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"description": "Laravel support for custom fields",
44
"license": "MIT",
55
"require": {
6-
"php": "^7.4 || ^8.0",
7-
"laravel/framework": "^8.0",
8-
"asseco-voice/laravel-common": "^1.0"
6+
"php": "^8.0",
7+
"laravel/framework": "^9.0",
8+
"asseco-voice/laravel-common": "^2.0"
99
},
1010
"require-dev": {
11-
"phpunit/phpunit": "9.4",
12-
"mockery/mockery": "^1.3.1",
11+
"phpunit/phpunit": "^9.5",
12+
"mockery/mockery": "^1.4.4",
1313
"fakerphp/faker": "^1.9.1",
14-
"orchestra/testbench": "^6.0",
14+
"orchestra/testbench": "^7.4",
1515
"doctrine/dbal": "^2.10"
1616
},
1717
"autoload": {

0 commit comments

Comments
 (0)