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

Minor config improvements in getWebsiteConfig() #4592

Merged
merged 2 commits into from
Jul 2, 2019
Merged

Minor config improvements in getWebsiteConfig() #4592

merged 2 commits into from
Jul 2, 2019

Conversation

NiklasBr
Copy link
Contributor

@NiklasBr NiklasBr commented Jul 1, 2019

Removes duplicate if().
Does stricter comparison for site ids (which should always be integers).
Fetches $key later, after some continue's to avoid unnecessary execution.

Changes in this pull request

Resolves #

Additional info

Removes duplicate if().
Does stricter comparison for site ids (which should always be integers).
Fetches $key later, after some continue's to avoid unnecessary execution.
@NiklasBr
Copy link
Contributor Author

NiklasBr commented Jul 2, 2019

It is unclear to me why some tests which appear to be unrelated failed here,

@fashxp
Copy link
Member

fashxp commented Jul 2, 2019

please rebase to master ... its related to new version of guzzle, see #4595

* Switches order on `!` and `isset()` for a miniscule performance win (according to [PHPStorm](https://github.com/kalessil/phpinspectionsea/blob/master/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/ifs/utils/ExpressionCostEstimateUtil.java#L36))
* Move `$s` into switch statements with a default case.
@brusch brusch added this to the 6.0.1 ("Flanders Red Ale") milestone Jul 2, 2019
@brusch brusch added the Task label Jul 2, 2019
@brusch brusch self-assigned this Jul 2, 2019
@brusch brusch merged commit 76b6872 into pimcore:master Jul 2, 2019
@NiklasBr NiklasBr deleted the patch-12 branch July 2, 2019 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants