Skip to content

Commit

Permalink
Merge pull request #4 from wallabag/upgrade-phpunit
Browse files Browse the repository at this point in the history
Upgrade PHPUnit
  • Loading branch information
yguedidi authored Dec 24, 2023
2 parents 570e501 + c6a14c5 commit 55b5e7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/composer.lock
/.phpunit.result.cache
/vendor
6 changes: 3 additions & 3 deletions Tests/DependencyInjection/KPhoenRulerZExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ class KPhoenRulerZExtensionTest extends AbstractExtensionTestCase
*/
protected $root;

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

$this->root = vfsStream::setup('rulerz_bundle');
$this->setParameter('kernel.debug', true);
}

protected function getContainerExtensions()
protected function getContainerExtensions(): array
{
return [new KPhoenRulerZExtension()];
}

protected function getMinimalConfiguration()
protected function getMinimalConfiguration(): array
{
return [
'cache' => $this->root->url().'/cache',
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"symfony/framework-bundle": "^4.4"
},
"require-dev": {
"phpunit/phpunit": "^7.1",
"phpunit/phpunit": "^8.5.16",
"symfony/phpunit-bridge": "^4.4",
"mikey179/vfsstream": "^1.6",
"matthiasnoback/symfony-dependency-injection-test": "^3.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"liip/rmt": "^1.2"
}
}

0 comments on commit 55b5e7c

Please sign in to comment.