Skip to content

Commit

Permalink
Merge pull request #15 from AnthonyPorthouse/feature/update-symfony
Browse files Browse the repository at this point in the history
Update to symfony console 4|5
  • Loading branch information
AnthonyPorthouse authored Feb 10, 2020
2 parents c75e984 + 99aff85 commit 817549f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
build:
environment:
php:
version: "7.1.2"
version: "7.1.3"
tests:
override:
-
Expand Down
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: php
php:
- '7.1'
- 'nightly'
- '7.2'
- '7.3'
- '7.4'

install:
- composer install
Expand Down
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"email": "[email protected]"
}
],
"config": {
"sort-packages": true
},
"bin": [
"bin/dicebag"
],
Expand All @@ -26,10 +29,11 @@
}
},
"require": {
"php": ">= 7.1",
"symfony/console": "^3.2"
"php": "^7.1.3",
"symfony/console": "^4.0|^5.0"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
"roave/security-advisories": "dev-master",
"phpunit/phpunit": "^7.0"
}
}
1 change: 0 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true"
>
<testsuites>
Expand Down
2 changes: 1 addition & 1 deletion tests/Dice/DiceFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DiceFactoryTest extends TestCase
/** @var DiceFactory $factory */
private $factory;

public function setUp()
public function setUp(): void
{
$this->factory = new DiceFactory(new MersenneTwister());
}
Expand Down

0 comments on commit 817549f

Please sign in to comment.