Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHAR of PHPUnit 9.3 is broken #4399

Closed
sebastianbergmann opened this issue Aug 7, 2020 · 1 comment
Closed

PHAR of PHPUnit 9.3 is broken #4399

sebastianbergmann opened this issue Aug 7, 2020 · 1 comment
Assignees
Labels

Comments

@sebastianbergmann
Copy link
Owner

sebastianbergmann commented Aug 7, 2020

Test.php

<?php declare(strict_types=1);
use PHPUnit\Framework\TestCase;

final class Test extends TestCase
{
    public function testOne(): void
    {
        $this->assertCount(1, []);
    }
}
$ php phpunit-9.3.phar Test.php
PHPUnit 9.3.0 by Sebastian Bergmann and contributors.

E                                                                   1 / 1 (100%)

Time: 00:00, Memory: 16.00 MB

There was 1 error:

1) Test::testOne
Error: Class 'PHPUnit\count' not found

/home/sb/Test.php:8

ERRORS!
Tests: 1, Assertions: 0, Errors: 1.
@sebastianbergmann
Copy link
Owner Author

Looks like this is related to #4382.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant