Skip to content

Commit 561f88d

Browse files
ngaspariStyleCIBot
andauthored
Composer update and handle failed json encode (#44)
* composer update - handle json_encode/decode, array_merge * phpstan, with version php-actions/phpstan#30 --------- Co-authored-by: StyleCI Bot <[email protected]>
1 parent 771f214 commit 561f88d

File tree

5 files changed

+1594
-1865
lines changed

5 files changed

+1594
-1865
lines changed

.github/workflows/pull_request.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '8.1'
18+
php-version: '8.2'
1919
extensions: mbstring, intl
2020
ini-values: post_max_size=256M, max_execution_time=180
2121
coverage: xdebug
@@ -34,7 +34,7 @@ jobs:
3434
${{ runner.os }}-php-
3535
3636
- name: Install dependencies
37-
if: steps.composer-cache.outputs.cache-hit != 'true'
37+
#if: steps.composer-cache.outputs.cache-hit != 'true'
3838
run: composer install --prefer-dist --no-progress --no-suggest
3939

4040
- name: Execute PHPUnit tests
@@ -44,6 +44,7 @@ jobs:
4444
- name: PHP STatic ANalyser (phpstan)
4545
uses: php-actions/phpstan@v3
4646
with:
47+
version: latest
4748
path: 'src'
48-
php_version: '8.1'
49+
php_version: '8.2'
4950
level: 0

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"license": "MIT",
1212
"require": {
13-
"php": "^8.1",
13+
"php": "^8.2",
1414
"laravel/framework": "^10.0",
1515
"stomp-php/stomp-php": "^5.0",
1616
"ext-json": "*"

0 commit comments

Comments
 (0)