Repository navigation
Add some validations when resolving language - #2650
Merged
Merged
Conversation
cicnavi
marked this pull request as draft
July 2, 2026 15:28
Contributor
Author
|
I'll fix tests... |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2650 +/- ##
============================================
+ Coverage 46.76% 46.83% +0.07%
- Complexity 4290 4294 +4
============================================
Files 184 184
Lines 13830 13843 +13
============================================
+ Hits 6467 6483 +16
+ Misses 7363 7360 -3 🚀 New features to boost your workflow:
|
Contributor
Author
|
This is now updated so it takes into account the scenario when the default language and the custom language function use a value not listed in language.available.... |
cicnavi
marked this pull request as ready for review
July 3, 2026 07:59
tvdijen
approved these changes
Jul 3, 2026
Contributor
|
This stood on the toes of the test case of #2649 a little bit. As they didn't really conflict I did a simple keep both merge and a tiny, tiny frame update for the patch to get it going. That seems to have run into issues with whitespace in the web editor but I should be able to update for that now. |
monkeyiq
approved these changes
Jul 5, 2026
lordelph
pushed a commit
to liblynx-llc/simplesamlphp
that referenced
this pull request
Aug 9, 2026
* Add some validations when resolving language * Validate against known languages instead of available languages * php code sniffer --------- Co-authored-by: monkeyiq <monkeyiq@gmail.com>
This file contains hidden or 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
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.
Add some validations against
availableLanguageswhen setting a language.