Skip to content

Commit

Permalink
Allow plugins (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkreft authored Mar 1, 2024
1 parent 4de53f0 commit 888abac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,12 @@
"fix": [
"vendor/bin/pk-tests --cache-dir=. fix"
]
},
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"ocramius/package-versions": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
2 changes: 1 addition & 1 deletion tests/Console/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function testShouldFindAll(): void
$commands = $this->application->all();

// then
$this->assertEquals(3, count($commands));
$this->assertGreaterThan(0, count($commands));
}

private function mockLoader(Command $command): void
Expand Down

0 comments on commit 888abac

Please sign in to comment.