mirror of
https://github.com/Cacti/cacti.git
synced 2026-10-28 07:37:11 +09:00
* feat(cli): add unified command frontend and normalize legacy failures Add the Symfony-backed bin/cacti entry point while preserving legacy argument, terminal, signal, and exit-status behavior. Fold in the focused legacy CLI correctness fixes from #7906 without adding its unused parser abstraction. Keep path containment and the PHP 8.3 floor out of this review; the latter remains in #7939. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * fix(cli): enforce PHP floor and deny web dispatch --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
18 lines
588 B
XML
18 lines
588 B
XML
<phpunit bootstrap="tests/bootstrap-unit.php" beStrictAboutOutputDuringTests="false">
|
|
<php>
|
|
<ini name="error_reporting" value="-1"/>
|
|
<env name="CACTI_TEST_BOOTSTRAP" value="1"/>
|
|
</php>
|
|
<source>
|
|
<include>
|
|
<directory suffix=".php">lib/Console</directory>
|
|
</include>
|
|
</source>
|
|
<testsuites>
|
|
<testsuite name="CLI coverage">
|
|
<file>tests/Unit/Core/Cli/CactiApplicationTest.php</file>
|
|
<file>tests/Unit/Core/Cli/CactiEntrypointSecurityTest.php</file>
|
|
</testsuite>
|
|
</testsuites>
|
|
</phpunit>
|