Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from lamoda/php8
Browse files Browse the repository at this point in the history
PHP 8 Support
  • Loading branch information
ehunov authored Aug 11, 2021
2 parents 1b0990d + 65774b5 commit ad2048a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ build:
file: build/clover.xml
format: clover

environment:
php:
version: 7.2
variables:
XDEBUG_MODE: 'coverage'
dependencies:
after:
- composer require --dev "squizlabs/php_codesniffer=^3.6.0"

filter:
excluded_paths:
- tests/*
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
# php8 is not supported yet
#- nightly
- 7.4
- 8.0

env:
matrix:
Expand All @@ -17,9 +16,6 @@ env:

matrix:
fast_finish: true
allow_failures:
- php: 7.4snapshot
#- php: nightly

install:
- if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS; fi
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.1 || ^8.0",
"lamoda/cleaner": "*",
"symfony/config": "^3.4 || ^4.0 || ^5.0",
"symfony/console": "^3.4 || ^4.0 || ^5.0",
Expand All @@ -22,7 +22,7 @@
"doctrine/dbal": "^2.6",
"doctrine/doctrine-bundle": "^1.7",
"friendsofphp/php-cs-fixer": "^2.14",
"phpunit/phpunit": "^7.5",
"phpunit/phpunit": "^7.5.20 || ^8.5.12 || ^9.0",
"symfony/framework-bundle": "^3.4 || ^4.0 || ^5.0",
"symfony/monolog-bridge": "^3.0 || ^4.0 || ^5.0",
"symfony/monolog-bundle": "^3.2 || ^5.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/Command/ClearCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ClearCommandTest extends KernelTestCase
/** @var TestHandler */
private $logHandler;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit ad2048a

Please sign in to comment.