-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Implement coding-standard 2.0.0 #36580
Conversation
Codecov Report
@@ Coverage Diff @@
## master #36580 +/- ##
=========================================
Coverage 64.66% 64.66%
Complexity 19049 19049
=========================================
Files 1269 1269
Lines 74498 74498
Branches 1311 1311
=========================================
Hits 48171 48171
Misses 25941 25941
Partials 386 386
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #36580 +/- ##
=========================================
Coverage 64.66% 64.66%
Complexity 19049 19049
=========================================
Files 1269 1269
Lines 74498 74498
Branches 1311 1311
=========================================
Hits 48171 48171
Misses 25941 25941
Partials 386 386
Continue to review full report at Codecov.
|
Description
owncloud/coding-standard
2.0.0
adds fixers for things that are deprecated and being removed in future releases ofphpunit
- see owncloud/coding-standard#20 and a core PR that recently applied these refactorings #36501 for details.Implement this in core CI so it will now be enforced.
Do
make test-php-style-fix
to refactor recent additions of@expectedException
annotations.Developers, whose unit test code now fails code style checks, can simply
make test-php-style-fix
to automatically apply the fixes.Also see https://thephp.cc/news/2016/02/questioning-phpunit-best-practices for information/reasoning.
Motivation and Context
Be ready when we need to move forward to phpunit8.
How Has This Been Tested?
make test-php-style-fix
Types of changes
Checklist: