You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% git status
On branch [branch]
Your branch is up to date with '[branch]'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
[4 changed files]
% pre-commit run --verbose --all-files
…
PHP Unit.................................................................Failed
- hook id: php-unit
- duration: 0.81s
- exit code: 1
Begin PHP Unit Task Runner
Running command vendor/bin/phpunit
────────────────────────────────────────────────────────────────────────────────
Failures detected in unit tests...
────────────────────────────────────────────────────────────────────────────────
PHPUnit 9.5.10 by Sebastian Bergmann and contributors.
Runtime: PHP 7.3.11
Configuration: /…/phpunit.xml
Warning: No code coverage driver available
F 1 / 1 (100%)
Time: 00:00.515, Memory: 6.00 MB
There was 1 failure:
1) dummyTest::test_Dummy
Failed asserting that 1 matches expected 0.
/…/tests/dummyTest.php:6
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
Begin PHP Unit Task Runner
Running command vendor/bin/phpunit
────────────────────────────────────────────────────────────────────────────────
Failures detected in unit tests...
────────────────────────────────────────────────────────────────────────────────
PHPUnit 9.5.10 by Sebastian Bergmann and contributors.
Runtime: PHP 7.3.11
Configuration: /…/phpunit.xml
Warning: No code coverage driver available
F 1 / 1 (100%)
Time: 00:00.516, Memory: 6.00 MB
There was 1 failure:
1) dummyTest::test_Dummy
Failed asserting that 1 matches expected 0.
/…/tests/dummyTest.php:6
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
Begin PHP Unit Task Runner
Running command vendor/bin/phpunit
────────────────────────────────────────────────────────────────────────────────
Failures detected in unit tests...
────────────────────────────────────────────────────────────────────────────────
PHPUnit 9.5.10 by Sebastian Bergmann and contributors.
Runtime: PHP 7.3.11
Configuration: /…/phpunit.xml
Warning: No code coverage driver available
F 1 / 1 (100%)
Time: 00:00.514, Memory: 6.00 MB
There was 1 failure:
1) dummyTest::test_Dummy
Failed asserting that 1 matches expected 0.
/…/tests/dummyTest.php:6
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
Begin PHP Unit Task Runner
Running command vendor/bin/phpunit
────────────────────────────────────────────────────────────────────────────────
Failures detected in unit tests...
────────────────────────────────────────────────────────────────────────────────
PHPUnit 9.5.10 by Sebastian Bergmann and contributors.
Runtime: PHP 7.3.11
Configuration: /…/phpunit.xml
Warning: No code coverage driver available
F 1 / 1 (100%)
Time: 00:00.516, Memory: 6.00 MB
There was 1 failure:
1) dummyTest::test_Dummy
Failed asserting that 1 matches expected 0.
/…/tests/dummyTest.php:6
FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
The text was updated successfully, but these errors were encountered:
posita
changed the title
pre-commit run --verbose --all-files results in multiple, redundant runs of php-unit
pre-commit run --verbose --all-files results in multiple, redundant runs of php-unit, php-cs, etc.
Sep 30, 2021
The text was updated successfully, but these errors were encountered: