Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #2452 Support PHPUnit 6 for testing extensions (hkdobrev)
This PR was merged into the 1.x branch. Discussion ---------- Support PHPUnit 6 for testing extensions When testing a Twig extension via the provided test cases [according to the documentation](https://twig.sensiolabs.org/doc/2.x/advanced.html#testing-an-extension), PHPUnit 6 is not supported. I think we should force people who haven't upgraded to upgrade to PHPUnit 6 instead of limiting the ones who did. Also, Twig 2.x runs only on PHP 7. People using Twig 2.x would most likely also test their code on PHP 7. Even though PHPUnit 5 supports PHP 7, I think most people who have updated PHP could update or would have already updated PHPUnit. Commits ------- 8ebaf8e Support PHPUnit 6 for testing extensions
- Loading branch information