diff --git a/composer.json b/composer.json index ad2538d..6c8d693 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "nuvoleweb/robo-config", "description": "CI/developer-friendly configuration processor for Robo.", "type": "robo-tasks", - "license": "GPL-2.0", + "license": "GPL-2.0-or-later", "authors": [ { "name": "Antonio De Marco", @@ -10,17 +10,17 @@ } ], "require": { - "consolidation/robo": "^2.1" + "consolidation/robo": "^3.0" }, "require-dev": { "drupal/coder": "^8", - "phpunit/phpunit": "^7", - "phpro/grumphp": "0.14.0" + "phpunit/phpunit": "^9.4", + "phpro/grumphp": "^1.2" }, "autoload": { "psr-4": { - "NuvoleWeb\\Robo\\Task\\Config\\": "src", - "NuvoleWeb\\Robo\\Tests\\": "tests" + "NuvoleWeb\\Robo\\Task\\Config\\": "./src/", + "NuvoleWeb\\Robo\\Tests\\": "./tests/" } } } diff --git a/grumphp.yml.dist b/grumphp.yml.dist index c6af0cb..17802ad 100644 --- a/grumphp.yml.dist +++ b/grumphp.yml.dist @@ -1,4 +1,4 @@ -parameters: +grumphp: ascii: failed: ~ succeeded: ~ diff --git a/phpunit.xml.dist b/phpunit.xml.dist index fd3838e..a8b195d 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -7,10 +7,9 @@ convertNoticesToExceptions = "true" convertWarningsToExceptions = "true" stopOnFailure = "false" - syntaxCheck = "false" bootstrap = "vendor/autoload.php"> - + tests/ diff --git a/tests/TaskTest.php b/tests/TaskTest.php index a675e60..702a39a 100644 --- a/tests/TaskTest.php +++ b/tests/TaskTest.php @@ -32,7 +32,7 @@ class TaskTest extends TestCase implements ContainerAwareInterface { /** * {@inheritdoc} */ - function setup(): void { + protected function setUp(): void { $container = Robo::createDefaultContainer(null, new NullOutput()); $this->setContainer($container); }