Skip to content

Commit

Permalink
Merge pull request #5 from m50/upgrade-to-php8
Browse files Browse the repository at this point in the history
Update to php8.
  • Loading branch information
m50 authored Jan 18, 2021
2 parents 65a0e08 + e8570a1 commit 527a48c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/code-validation.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Code Validation
on: [push, pull_request]
on: [push]

jobs:
psalm:
Expand All @@ -12,7 +12,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
coverage: pcov
tools: composer:v2

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
coverage: pcov
tools: composer:v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
tools: composer:v2
ini-values: phar.readonly=Off

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-cli-alpine
FROM php:8.0-cli-alpine

MAINTAINER Marisa Clardy <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
],
"require": {
"php": "^7.4",
"php": "^8.0",
"symfony/console": "^5.0",
"symfony/finder": "^5.0",
"symfony/yaml": "^5.0"
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Config/ReportConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function output(): string
/**
* @psalm-mutation-free
*
* @return string[]|null
* @return string[]
*
* @psalm-return array{format: string, output: string}
*/
Expand Down

0 comments on commit 527a48c

Please sign in to comment.