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

Tests: minor modernization #147

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Tests: minor modernization #147

merged 1 commit into from
Sep 29, 2023

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Sep 29, 2023

As of PHPUnit 4.8.36 and PHPUnit 5.7.21, PHPUnit contains a forward compatibility layer for the most commonly used PHPUnit classes to make handling the change to namespaced classes in PHPUnit 6.0 more straight-forward.

As support for PHP 5.2 has been dropped from this plugin, we can now use this forward-compatibility layer and no longer need to create a class alias for the PHPUnit TestCase ourselves.

As of PHPUnit 4.8.36 and PHPUnit 5.7.21, PHPUnit contains a _forward_ compatibility layer for the most commonly used PHPUnit classes to make handling the change to namespaced classes in PHPUnit 6.0 more straight-forward.

As support for PHP 5.2 has been dropped from this plugin, we can now use this forward-compatibility layer and no longer need to create a class alias for the PHPUnit `TestCase` ourselves.
@jrfnl jrfnl added this to the 1.x Next Release milestone Sep 29, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6348565927

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 27.5%

Totals Coverage Status
Change from base Build 6312631530: 0.0%
Covered Lines: 66
Relevant Lines: 240

💛 - Coveralls

@jrfnl jrfnl merged commit 0b30c05 into main Sep 29, 2023
16 checks passed
@jrfnl jrfnl deleted the JRF/modernize-test-setup branch September 29, 2023 07:50
@enricobattocchi enricobattocchi modified the milestones: 1.x Next Release, 2.0 Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants