-
-
Notifications
You must be signed in to change notification settings - Fork 379
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
(Refactor) Code Quality and Style #1412
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add pre-slash to short named functions to improve performance by almost 30% - @see https://stackoverflow.com/questions/55419673/php7-adding-a-slash-to-all-standard-php-functions-php-cs-fixer-rule
[ci skip] [skip ci]
Codecov Report
@@ Coverage Diff @@
## master #1412 +/- ##
============================================
- Coverage 27.21% 25.95% -1.27%
- Complexity 4280 4283 +3
============================================
Files 306 306
Lines 13471 13479 +8
============================================
- Hits 3666 3498 -168
- Misses 9805 9981 +176
Continue to review full report at Codecov.
|
[ci skip] [skip ci]
[ci skip] [skip ci]
[ci skip] [skip ci]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactors Performed In This Pull Request
Use Identical Over Equal With Same Type Refactor
Use ===/!== over ==/!=, it values have the same type
Callable This Array To Anonymous Function Refactor
Convert [$this, "method"] to proper anonymous function
Rename Property To Match Type Refactor
Rename property and method param to match its type
Preslash Simple Functions Refactor
Add pre-slash to short named functions to improve performance
Recasting Removal Refactor
Removes recasting of the same type