-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Fix implicit to and from bool type juggling #60890
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
Open
Girgias
wants to merge
30
commits into
symfony:7.4
Choose a base branch
from
Girgias:bool-type-juggling
base: 7.4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d7109ac
Pull fixes from Nicolas
Girgias 4212ed9
Pull ignores/suppressed tests from Nicolas
Girgias 90c0a98
Use false instead of 0
Girgias d0834ee
IntlTestHelper::requireFullIntl() use null as second arg instead of f…
Girgias d387c49
Check return value of getenv()
Girgias ad4fd82
Symfony\Component\Validator\Constraints\Isbn does not take a bool as …
Girgias 2ee80c5
intl false instead of null
Girgias 6190e42
Cast result of preg_match to bool
Girgias 9997d96
Use bool as param type
Girgias 78f4f10
Cast bitwise op result to bool
Girgias de4c7d5
ErrorHandler::handleError() cast bitwise op to bool and use false ins…
Girgias 17ab127
Yield empty string when no doc comment exists
Girgias f677c74
Set value to null if parse_url() fails badly and returns false
Girgias 90401c0
Fix deprecation with PHPUnit's assertTrue
Girgias 85de1ec
Remove ZPP test
Girgias 72b9650
file_get_contents() does not take a fopen mode parameter
Girgias aa67b63
Symfony\Component\String\LazyString::resolve() add explicit string cast
Girgias 2317f30
Fix string to true type juggling in test
Girgias 4edbb43
Remove ZPP test
Girgias 2017a7b
Use empty string instead of false
Girgias e816540
Explicit cast to bool from string
Girgias 8afc277
Definition::addMethodCall() arg 3 must be a bool v2
Girgias 4d883cc
Fix test passing false to ?string type
Girgias 218a4f8
Remove ZPP tests testing false to string coercion
Girgias 5397577
NumberFormatter::setAttribute() takes values of type int|float
Girgias dfcef56
Default non-existing environment variable to empty string
Girgias a828919
Split grapheme extraction and check if one is found
Girgias 52dec0e
Fix substr with bool?
Girgias f3286e3
Use '1' instead of true
Girgias fa063a6
cookie_httponly key does not support values of auto
Girgias 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
Pull ignores/suppressed tests from Nicolas
- Loading branch information
commit 4212ed9331fac5b09895bfe94e31f259fe0723a7
There are no files selected for viewing
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
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
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
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.
why skipping this test ?
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.
I stole this from @nicolas-grekas WIP commit: nicolas-grekas@02e3881
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.
🙈