Skip to content

Make static data providers that are not using dynamic calls#6696

Merged
kubawerlos merged 1 commit intoPHP-CS-Fixer:masterfrom
werlos:make_static_data_providers_that_are_not_using_dynamic_calls
Dec 5, 2022
Merged

Make static data providers that are not using dynamic calls#6696
kubawerlos merged 1 commit intoPHP-CS-Fixer:masterfrom
werlos:make_static_data_providers_that_are_not_using_dynamic_calls

Conversation

@kubawerlos
Copy link
Member

@kubawerlos kubawerlos commented Nov 27, 2022

Non-static data providers will be deprecated in PHPUnit 10 and removed in PHPUnit 11.

This PR makes static all data providers that are not using dynamic calls - basically, nothing to review here, this PR simply adds static 893 times.

Data providers using dynamic calls will need that call to be changed - will be done in separate PR as changes might be up for some discussion.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 3557808078

  • 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 92.971%

Totals Coverage Status
Change from base Build 3517396856: 0.0%
Covered Lines: 17116
Relevant Lines: 18410

💛 - Coveralls

@kubawerlos kubawerlos merged commit a2bdba3 into PHP-CS-Fixer:master Dec 5, 2022
@kubawerlos kubawerlos deleted the make_static_data_providers_that_are_not_using_dynamic_calls branch December 5, 2022 20:08
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

Comments