Skip to content

Commit

Permalink
Merge pull request #38 from lcobucci/update-requirements
Browse files Browse the repository at this point in the history
Update requirements
  • Loading branch information
lcobucci authored Jan 14, 2020
2 parents 9295ab0 + 5d340fd commit f53f2b9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build:
rabbitmq: false
mongodb: false
php:
version: 7.3
version: 7.4
cache:
disabled: false
directories:
Expand Down
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ sudo: false
language: php

php:
- 7.3
- 7.4snapshot
- 7.4
- nightly

cache:
Expand All @@ -22,7 +21,6 @@ script:

jobs:
allow_failures:
- php: 7.4snapshot
- php: nightly

include:
Expand Down Expand Up @@ -59,7 +57,7 @@ jobs:
- mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{.disabled,}
- if [[ ! $(php -m | grep -si xdebug) ]]; then echo "xdebug required for mutation"; exit 1; fi
script:
- ./vendor/bin/infection -s --min-msi=100 --min-covered-msi=100 --threads=$(nproc)
- ./vendor/bin/infection -s --min-msi=98 --min-covered-msi=98 --threads=$(nproc)

- stage: Quality
env: STATIC_ANALYSIS=1
Expand Down
26 changes: 13 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@
"BSD-3-Clause"
],
"require": {
"php": "^7.3 || ^8.0",
"symfony/config": "^4.3",
"symfony/dependency-injection": "^4.3",
"symfony/expression-language": "^4.3"
"php": "^7.4 || ^8.0",
"symfony/config": "^5.0",
"symfony/dependency-injection": "^5.0",
"symfony/expression-language": "^5.0"
},
"require-dev": {
"infection/infection": "^0.14",
"infection/infection": "^0.15",
"lcobucci/coding-standard": "^3.1",
"mikey179/vfsstream": "^1.6",
"phpstan/phpstan": "^0.11",
"phpstan/phpstan-deprecation-rules": "^0.11",
"phpstan/phpstan-phpunit": "^0.11",
"phpstan/phpstan-strict-rules": "^0.11",
"mikey179/vfsstream": "^1.6.7",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.4",
"symfony/proxy-manager-bridge": "^4.3",
"symfony/yaml": "^4.3"
"squizlabs/php_codesniffer": "^3.5",
"symfony/proxy-manager-bridge": "^5.0",
"symfony/yaml": "^5.0"
},
"suggest": {
"symfony/proxy-manager-bridge": "Allows the creation of lazy services"
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ parameters:
paths:
- src
- test
checkMissingIterableValueType: false
2 changes: 1 addition & 1 deletion test/GeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function generateShouldCompileAndLoadTheContainer(): void
$dump = new ConfigCache(vfsStream::url('tests/container.php'), false);

$this->generator->method('getLoader')->willReturnCallback(
static function (SymfonyBuilder $container, array $paths) {
static function (SymfonyBuilder $container, array $paths): YamlFileLoader {
return new YamlFileLoader(
$container,
new FileLocator($paths)
Expand Down

0 comments on commit f53f2b9

Please sign in to comment.