-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Performance 4 (plugins) #12228
Merged
Merged
Performance 4 (plugins) #12228
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
d020e05
Use Elvis instead of full ternary
frankmayer f8d247c
Use prefixed increment instead of assignment
frankmayer bcd8841
Use single quotes instead of doublequotes
frankmayer e1288c3
Remove unnecessary parentheses
frankmayer fdd996c
Replace alias function with original
frankmayer dfc5b98
Remove useless return
frankmayer aac1916
Removed unnecessary ternary operators
frankmayer 90ffc54
Fixed callable call in loop termination condition
frankmayer a9d98bd
Replace is_null() with ... === null
frankmayer 33ba088
Shortened syntax for applied operations
frankmayer 5c7afbf
Don't use strlen() to check if string is empty.
frankmayer 9a1a4b6
Replace strstr() with strpos()
frankmayer a8f2a36
Replace substr() with strpos()
frankmayer a158cae
Merge unset()
frankmayer b3da6e9
Inline one-time use variables
frankmayer 58b8fbb
Type safe string comparison
frankmayer 8f28982
Remove unused variable
frankmayer 776666b
Merge if statements into parents
frankmayer 7b70c06
Optimize non-optimal if conditions.
frankmayer af3e78b
More type-safe comparisons
frankmayer f5fc398
Fix another non-optimal if condition
frankmayer ac4921a
Merged another str_replace() case
frankmayer 6f79ff1
Fix own typo
frankmayer 943f500
Fix formatting
frankmayer ac0ebb4
Further optimize an if condition
frankmayer b9adbc5
Fix codesniffer
frankmayer 42a5a54
Fixes...
frankmayer 9e8063e
Changes, based on discussions with @csthomas
frankmayer 492fb9e
One more change, based on previous discussion.
frankmayer 475b880
Merge branch 'staging' into Performance_4
frankmayer 7edf386
A few more minor fixes
frankmayer 5e7202b
Fix slipped through merge conflict
frankmayer 9581e65
Correction in comparison
frankmayer d0d9261
Correction in comparison with trim result
frankmayer bea9c0b
Merge branch 'staging' of https://github.com/joomla/joomla-cms into P…
frankmayer bf361ca
Merge branch 'staging' into Performance_4
frankmayer b7636dc
Reverted this one to not clash with @laoneo's refactoring efforts
frankmayer 755c648
Merge branch 'staging' into Performance_4
frankmayer 8afee4f
Merge branch 'staging' into Performance_4
frankmayer 5f011db
Some changes according to reviewer's comments
frankmayer 76fe7a9
Some changes according to reviewer's comments
frankmayer 33d7bd2
Additional changes according to reviewer's comments
frankmayer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted this one to its prior state, so it won't raise conflicts with @laoneo 's efforts.