Skip to content
This repository was archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
Bump PHPUnit version (Close #45) (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Gorbachev authored and theofidry committed Jun 26, 2019
1 parent b5c0655 commit 6cbd194
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ dist
coverage.xml
bin
!bin/console
.phpunit.result.cache
var
.idea
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"symfony/framework-bundle": "^4.3"
},
"require-dev": {
"phpunit/phpunit": "^6.4",
"phpunit/phpunit": "^7.5",
"symfony/symfony": "^4.3"
},

Expand Down
9 changes: 3 additions & 6 deletions tests/Command/PsyshCommandIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PsyshCommandIntegrationTest extends KernelTestCase
/**
* {@inheritdoc}
*/
protected function setUp()
protected function setUp(): void
{
self::bootKernel();

Expand All @@ -47,7 +47,7 @@ protected function setUp()

public function testScopeVariables()
{
$this->assertEquals(
$this->assertEqualsCanonicalizing(
[
'container',
'kernel',
Expand All @@ -56,10 +56,7 @@ public function testScopeVariables()
'self',
],
array_keys($this->shell->getScopeVariables()),
'Expected shell service to have scope variables',
0.0,
10,
true
'Expected shell service to have scope variables'
);
}

Expand Down

0 comments on commit 6cbd194

Please sign in to comment.