diff --git a/Tests/Asm/Ansible/Command/AnsiblePlaybookTest.php b/Tests/Asm/Ansible/Command/AnsiblePlaybookTest.php index 4f8b7dc..629a175 100644 --- a/Tests/Asm/Ansible/Command/AnsiblePlaybookTest.php +++ b/Tests/Asm/Ansible/Command/AnsiblePlaybookTest.php @@ -603,7 +603,13 @@ public function testExecuteWithCallback(): void public function textExecuteWithTextOutput(): void { + $command = $this->testCreateInstance(); $result = $command + ->play($this->getPlayUri()) + ->user('maschmann') + ->extraVars(['project_release=' . (new DateTime())->getTimestamp()]) + ->limit('test') + ->check() ->execute(null); $this->assertTrue(is_string($result)); diff --git a/composer.json b/composer.json index 18bb8fc..80e4f5c 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ }, "require-dev": { "phpunit/phpunit": "^10.0|^11.0", - "mikey179/vfsstream": "^1.6" + "mikey179/vfsstream": "^1.6", + "phpstan/phpstan": "^1.12" }, "autoload": { "psr-4": {