-
Notifications
You must be signed in to change notification settings - Fork 515
Improve preg_split()
function ReturnType
#3757
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
Merged
ondrejmirtes
merged 36 commits into
phpstan:2.1.x
from
malsuke:feature/improve-preg-split-type
May 16, 2025
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
5784175
feat improve preg_split type Extension
malsuke e595e1e
feat add test for varibles
malsuke 0f52c61
feat add benevolent type to preg_split
malsuke 4c3681d
feat new feat for flag
malsuke c4e76c9
feat improve for flag & non-empty-string
malsuke 68379ac
add test for PREG_SPLIT_DELIM_CAPTURE flag
malsuke 2031d06
add test case for nonEmptySubject
malsuke 82e4ce6
feat add if state for nonEmptySubject
malsuke fd496c2
feat cleanup
malsuke 96896ca
feat cleanup
malsuke 6ff7b8c
feat cleanup
malsuke c9852d5
feat add is_int assertion
malsuke 6d1d6e9
feat fix test
malsuke 6549506
feat fix test
malsuke 3d51233
fix cleanup
malsuke 540e1b2
fix cleanup
malsuke d48a512
fix cleanup
malsuke d020927
fix cleanup loop
malsuke 13937b8
fix __benevolent usage
malsuke 99b2d4d
fix test
malsuke bd4b7d2
fix test
malsuke eb3e9f4
fix test
malsuke daa3072
fix test
malsuke 4672297
fix coding style
malsuke b809edc
fix: use utils function, return point, allow numeric-string
malsuke c96736b
feat: add test for Error
malsuke de4c495
feat: migrate validation to private method
malsuke a305dab
fix: coding style
malsuke 3f7bdcc
fix: coding style
malsuke 658826a
feat: change variable name, fix: check type of limit/flag
malsuke ca78451
add: add test for scaler value
malsuke c896b1b
fix: lint
malsuke 5949c79
feat: return union false
malsuke a54bd80
feat: Handle case when preg_split returns false
malsuke 1ee1a79
fix: for using ConstantArrayTypeBuilder and UnionType
malsuke 798fa23
fix: cleanup
malsuke 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
feat improve for flag & non-empty-string
- Loading branch information
commit c4e76c901063978bdae497292941117641b20ca0
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
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.