Skip to content

Commit

Permalink
minor #26180 Fix undiscoverablility of SymfonyTestsListenerForV7 (ker…
Browse files Browse the repository at this point in the history
…adus)

This PR was merged into the 4.1-dev branch.

Discussion
----------

Fix undiscoverablility of SymfonyTestsListenerForV7

| Q             | A
| ------------- | ---
| Branch?       | `3.4@dev` (and `4@dev`)
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | n/a
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

As class is in wrong namespace, it's not discoverable by autoloader and during execution of aliasing we face following crash:
```
ker@dus:~/github/PHP-CS-Fixer λ vendor/bin/phpunit
Class 'Symfony\Bridge\PhpUnit\Legacy\SymfonyTestsListenerForV7' not found
```

Commits
-------

538b257 Fix undiscoverablility of SymfonyTestsListenerForV7
  • Loading branch information
nicolas-grekas committed Feb 15, 2018
2 parents 5cf0181 + 538b257 commit bf24341
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace Symfony\Bridge\PhpUnit;
namespace Symfony\Bridge\PhpUnit\Legacy;

use PHPUnit\Framework\Test;
use PHPUnit\Framework\TestListener;
Expand Down

0 comments on commit bf24341

Please sign in to comment.