https://github.com/evertharmeling/symfony-phpunit-8
Symfony project reproducer for validating support phpunit by symfony/test-pack (symfony/framework)
https://github.com/evertharmeling/symfony-phpunit-8
Last synced: 3 months ago
JSON representation
Symfony project reproducer for validating support phpunit by symfony/test-pack (symfony/framework)
- Host: GitHub
- URL: https://github.com/evertharmeling/symfony-phpunit-8
- Owner: evertharmeling
- Created: 2019-02-04T09:19:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T10:20:49.000Z (over 6 years ago)
- Last Synced: 2025-01-22T19:47:41.428Z (5 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Symfony project reproducer for PHPUnit 8 support bug
**Issue**: https://github.com/symfony/symfony/issues/30071
Using the `symfony/testpack`, `symfony/phpunit-bridge` and setting the `phpunit` version on `8.0`.
When creating a test which extends `Symfony\Bundle\FrameworkBundle\Test\KernelTestCase` it will throw the following error:```
PHP Fatal error: Declaration of Symfony\Bundle\FrameworkBundle\Test\KernelTestCase::tearDown() must be compatible with PHPUnit\Framework\TestCase::tearDown(): void in /projects/phpunit-8/vendor/symfony/framework-bundle/Test/KernelTestCase.php on line 24
```#### Steps to reproduce
* Run `composer install` in project root.
* Run `vendor/bin/simple-phpunit` in project root.