Skip to content

Commit 527a48c

Browse files
authored
Merge pull request #5 from m50/upgrade-to-php8
Update to php8.
2 parents 65a0e08 + e8570a1 commit 527a48c

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/code-validation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Code Validation
2-
on: [push, pull_request]
2+
on: [push]
33

44
jobs:
55
psalm:
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup PHP
1313
uses: shivammathur/setup-php@v2
1414
with:
15-
php-version: '7.4'
15+
php-version: '8.0'
1616
coverage: pcov
1717
tools: composer:v2
1818

@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup PHP
5151
uses: shivammathur/setup-php@v2
5252
with:
53-
php-version: '7.4'
53+
php-version: '8.0'
5454
coverage: pcov
5555
tools: composer:v2
5656

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup PHP
3434
uses: shivammathur/setup-php@v2
3535
with:
36-
php-version: '7.4'
36+
php-version: '8.0'
3737
tools: composer:v2
3838
ini-values: phar.readonly=Off
3939

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-cli-alpine
1+
FROM php:8.0-cli-alpine
22

33
MAINTAINER Marisa Clardy <marisa@clardy.eu>
44

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.4",
14+
"php": "^8.0",
1515
"symfony/console": "^5.0",
1616
"symfony/finder": "^5.0",
1717
"symfony/yaml": "^5.0"

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Config/ReportConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function output(): string
3535
/**
3636
* @psalm-mutation-free
3737
*
38-
* @return string[]|null
38+
* @return string[]
3939
*
4040
* @psalm-return array{format: string, output: string}
4141
*/

0 commit comments

Comments
 (0)