Skip to content

Commit

Permalink
test: add arch test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed May 13, 2024
1 parent 015d3dc commit 27696f8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 26 deletions.
26 changes: 0 additions & 26 deletions phpunit.xml

This file was deleted.

3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Arch">
<directory>tests/Arch</directory>
</testsuite>
</testsuites>
<coverage>
<report>
Expand Down
8 changes: 8 additions & 0 deletions tests/Arch/DebugTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

declare(strict_types=1);

arch('Forgotten functions')
->expect(['dd', 'exit', 'die', 'var_dump', 'echo', 'print'])
->not
->toBeUsed();

0 comments on commit 27696f8

Please sign in to comment.