Skip to content

Commit

Permalink
Merge pull request #51 from creative-commoners/pulls/1/sapphire-test-…
Browse files Browse the repository at this point in the history
…nine

[WIP] API phpunit 9 support
  • Loading branch information
Maxime Rainville authored Oct 27, 2021
2 parents ae9a737 + 3a4c9d6 commit 046b7ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
"symfony/yaml": "^2.8 || ^3.2 || ^4",
"marcj/topsort": "^1 || ^2",
"psr/simple-cache": "^1.0",
"php": "^7.1 || ^8"
"php": "^7.3 || ^8.0"
},
"require-dev": {
"sminnee/phpunit": "^5.7.29",
"silverstripe/framework": "^4.10",
"phpunit/phpunit": "^9.5",
"mikey179/vfsstream": "^1.6"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Transformer/PrivateStaticTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function testInvalidClass()

public function testInvalidConfigError()
{
$this->expectException(LogicException::class);
$this->expectException(\LogicException::class);
$this->expectExceptionMessage(
ClassL::class . '::option is not private but overrides a private static '
. 'config in parent class ' . ClassK::class
Expand Down
2 changes: 1 addition & 1 deletion tests/Transformer/YamlTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class YamlTransformerTest extends TestCase
*/
protected $root;

protected function setUp()
protected function setUp(): void
{
$this->root = vfsStream::setup();
}
Expand Down

0 comments on commit 046b7ac

Please sign in to comment.