René's URL Explorer Experiment


Title: Fix #13963 with unit tests. by niconoe- · Pull Request #4786 · phpstan/phpstan-src · GitHub

Open Graph Title: Fix #13963 with unit tests. by niconoe- · Pull Request #4786 · phpstan/phpstan-src

X Title: Fix #13963 with unit tests. by niconoe- · Pull Request #4786 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Fix #13963 with unit tests. by niconoe- · Pull Request #4786 · phpstan/phpstan-src

Open Graph Description: Fixes phpstan/phpstan#13963

X Description: Fixes phpstan/phpstan#13963

Opengraph URL: https://github.com/phpstan/phpstan-src/pull/4786

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f4e1dfcb-a300-9435-fd05-c1befbd1ad5a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCFC6:2F9718:2A56B8:3A3CAB:6B00C480
html-safe-nonce1427ecf721858304bb14e5f81fdf1b48d9419b0d172b9dcffd118de366bec24a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkM2OjJGOTcxODoyQTU2Qjg6M0EzQ0FCOjZCMDBDNDgwIiwidmlzaXRvcl9pZCI6IjIwNTU1NjIxNTg0MzA3OTg5NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5b325bb43de30664df6d5ab4a8bd614028735d8dbfc16e6583a0230da37ad143
hovercard-subject-tagpull_request:3187786269
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/phpstan/phpstan-src/4786/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c31aa0b6ccd3987a2ea3dfa83004d421a8da0d34b51faa6ef671891ae4b129b2/phpstan/phpstan-src/pull/4786
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c31aa0b6ccd3987a2ea3dfa83004d421a8da0d34b51faa6ef671891ae4b129b2/phpstan/phpstan-src/pull/4786
og:image:altFixes phpstan/phpstan#13963
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameniconoe-
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
turbo-cache-controlno-cache
go-importgithub.com/phpstan/phpstan-src git https://github.com/phpstan/phpstan-src.git
octolytics-dimension-user_id16435710
octolytics-dimension-user_loginphpstan
octolytics-dimension-repository_id219334214
octolytics-dimension-repository_nwophpstan/phpstan-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id219334214
octolytics-dimension-repository_network_root_nwophpstan/phpstan-src
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/4786#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4786
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4786
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=phpstan%2Fphpstan-src
Reloadhttps://github.com/phpstan/phpstan-src/pull/4786
Reloadhttps://github.com/phpstan/phpstan-src/pull/4786
Reloadhttps://github.com/phpstan/phpstan-src/pull/4786
phpstanhttps://github.com/phpstan
phpstan-srchttps://github.com/phpstan/phpstan-src
Codehttps://github.com/phpstan/phpstan-src
Pull requests186 (186)https://github.com/phpstan/phpstan-src/pulls
Actionshttps://github.com/phpstan/phpstan-src/actions
Security and qualityhttps://github.com/phpstan/phpstan-src/security
Insightshttps://github.com/phpstan/phpstan-src/insights
https://github.com/phpstan/phpstan-src
niconoe-https://github.com/niconoe-
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
niconoe-:fix-13963https://github.com/niconoe-/phpstan-src/tree/fix-13963
Conversationhttps://github.com/phpstan/phpstan-src/pull/4786
Commits16 (16)https://github.com/phpstan/phpstan-src/pull/4786/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/4786/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/4786/files
Fix #13963 with unit tests.https://github.com/phpstan/phpstan-src/pull/4786#top
niconoe-https://github.com/niconoe-
phpstan:2.3.xhttps://github.com/phpstan/phpstan-src/tree/2.3.x
niconoe-:fix-13963https://github.com/niconoe-/phpstan-src/tree/fix-13963
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 19, 2026https://github.com/phpstan/phpstan-src/pull/4786#issue-3829692018
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
phpstan/phpstan#13963https://github.com/phpstan/phpstan/issues/13963
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 19, 2026 https://github.com/phpstan/phpstan-src/pull/4786#ref-issue-3814695093
filter_var with option FILTER_FLAG_EMPTY_STRING_NULL is not returning the expected type phpstan/phpstan#13963 https://github.com/phpstan/phpstan/issues/13963
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 19, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3768760954
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 19, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3769432518
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 19, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3770184550
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 19, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3770287833
https://github.com/phpstan/phpstan-src/compare/2.1.x...VincentLanglet:phpstan-src:fix/filter_var?expand=1https://github.com/phpstan/phpstan-src/compare/2.1.x...VincentLanglet:phpstan-src:fix/filter_var?expand=1
@niconoe-https://github.com/niconoe-
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 20, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3771702642
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 20, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3771797656
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 20, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3771838695
https://github.com/phpstan/phpstan-src/compare/2.1.x...VincentLanglet:phpstan-src:fix/filter_var_2?expand=1https://github.com/phpstan/phpstan-src/compare/2.1.x...VincentLanglet:phpstan-src:fix/filter_var_2?expand=1
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 20, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3772019023
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 20, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3772155905
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 20, 2026 https://github.com/phpstan/phpstan-src/pull/4786#pullrequestreview-3681631472
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4786/files
src/Type/Php/FilterFunctionReturnTypeHelper.phphttps://github.com/phpstan/phpstan-src/pull/4786/files#diff-2a5c9d852453b85758c726b765029202aaaa09c814f3469044112c83bde2908c
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 20, 2026 https://github.com/phpstan/phpstan-src/pull/4786#pullrequestreview-3681676903
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4786/files
src/Type/Php/FilterFunctionReturnTypeHelper.phphttps://github.com/phpstan/phpstan-src/pull/4786/files#diff-2a5c9d852453b85758c726b765029202aaaa09c814f3469044112c83bde2908c
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 20, 2026 https://github.com/phpstan/phpstan-src/pull/4786#pullrequestreview-3682185665
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4786/files
tests/PHPStan/Analyser/nsrt/filter-var-returns-non-empty-string.phphttps://github.com/phpstan/phpstan-src/pull/4786/files#diff-b3181d01b6df0494465783078b77ba40355df67325d7807ca601ef9ca3b01919
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 20, 2026 https://github.com/phpstan/phpstan-src/pull/4786#pullrequestreview-3682188931
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4786/files
tests/PHPStan/Analyser/nsrt/filter-var-returns-non-empty-string.phphttps://github.com/phpstan/phpstan-src/pull/4786/files#diff-b3181d01b6df0494465783078b77ba40355df67325d7807ca601ef9ca3b01919
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 21, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3777488810
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 21, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3777590596
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 26, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3798961748
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Jan 27, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3805123142
@VincentLanglethttps://github.com/VincentLanglet
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/VincentLanglet
VincentLanglethttps://github.com/VincentLanglet
Jan 27, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3805166875
@staabmhttps://github.com/staabm
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Feb 2, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3833991988
@staabmhttps://github.com/staabm
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/staabm
staabmhttps://github.com/staabm
Feb 10, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3875789113
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
#4524https://github.com/phpstan/phpstan-src/pull/4524
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Feb 10, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3876679444
#4524https://github.com/phpstan/phpstan-src/pull/4524
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Feb 10, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3876695233
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Feb 10, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3876825205
https://private-user-images.githubusercontent.com/9560327/547638479-c03783a9-f47d-4863-b0c0-d964816f75a8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyMTI3MTcsIm5iZiI6MTc5NTIxMjQxNywicGF0aCI6Ii85NTYwMzI3LzU0NzYzODQ3OS1jMDM3ODNhOS1mNDdkLTQ4NjMtYjBjMC1kOTY0ODE2Zjc1YTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjBUMjIwNjU3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Nzc0YjA0ZDdmMDNiYTljYmRjYWZhNmJkOWVhOTRmNjdlZGFhZWY1YjY3MmM3NWZiZDM4ZDRlYmI0Mzk3MzQ5ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.HbiPbzP6db3hVn1PiCAlv98ygXarnTEXItXalvwAH6I
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Feb 10, 2026https://github.com/phpstan/phpstan-src/pull/4786#issuecomment-3876880651
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
force-pushedhttps://github.com/phpstan/phpstan-src/compare/ecc34abd632b285862e493fd3ad5de0d08eebfdf..7c44caad47db5fd8c3bb9a6290d1d52c04c1f8dc
ecc34abhttps://github.com/phpstan/phpstan-src/commit/ecc34abd632b285862e493fd3ad5de0d08eebfdf
7c44caahttps://github.com/phpstan/phpstan-src/commit/7c44caad47db5fd8c3bb9a6290d1d52c04c1f8dc
Compare https://github.com/phpstan/phpstan-src/compare/ecc34abd632b285862e493fd3ad5de0d08eebfdf..7c44caad47db5fd8c3bb9a6290d1d52c04c1f8dc
February 10, 2026 15:35https://github.com/phpstan/phpstan-src/pull/4786#event-22678082691
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Feb 10, 2026 https://github.com/phpstan/phpstan-src/pull/4786#pullrequestreview-3780936876
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4786/files
src/Type/Php/FilterFunctionReturnTypeHelper.phphttps://github.com/phpstan/phpstan-src/pull/4786/files#diff-2a5c9d852453b85758c726b765029202aaaa09c814f3469044112c83bde2908c
niconoe-https://github.com/niconoe-
Feb 10, 2026https://github.com/phpstan/phpstan-src/pull/4786#discussion_r2789707359
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
ondrejmirteshttps://github.com/ondrejmirtes
Feb 11, 2026https://github.com/phpstan/phpstan-src/pull/4786#discussion_r2791992351
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
niconoe-https://github.com/niconoe-
Feb 11, 2026https://github.com/phpstan/phpstan-src/pull/4786#discussion_r2793346103
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
niconoe-https://github.com/niconoe-
Feb 11, 2026 https://github.com/phpstan/phpstan-src/pull/4786#pullrequestreview-3784859807
View reviewed changes https://github.com/phpstan/phpstan-src/pull/4786/files
src/Type/Php/FilterFunctionReturnTypeHelper.phphttps://github.com/phpstan/phpstan-src/pull/4786/files#diff-2a5c9d852453b85758c726b765029202aaaa09c814f3469044112c83bde2908c
niconoe-https://github.com/niconoe-
Feb 11, 2026https://github.com/phpstan/phpstan-src/pull/4786#discussion_r2793329724
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
niconoe-https://github.com/niconoe-
October 31, 2026 13:49https://github.com/phpstan/phpstan-src/pull/4786#commits-pushed-6a4f2b6
https://github.com/niconoe-
https://github.com/ondrejmirtes
Fix #13963 with unit tests.https://github.com/phpstan/phpstan-src/pull/4786/commits/6a4f2b64f628b85032c3d52735b1a2d9e5e0de9f
6a4f2b6https://github.com/phpstan/phpstan-src/pull/4786/commits/6a4f2b64f628b85032c3d52735b1a2d9e5e0de9f
https://github.com/niconoe-
https://github.com/ondrejmirtes
Improve handling of input type for filter_var with option FILTER_FLAG…https://github.com/phpstan/phpstan-src/pull/4786/commits/23152619d9d8e52c89e9d1dd894fb438984070aa
2315261https://github.com/phpstan/phpstan-src/pull/4786/commits/23152619d9d8e52c89e9d1dd894fb438984070aa
niconoe-https://github.com/niconoe-
October 31, 2026 13:49https://github.com/phpstan/phpstan-src/pull/4786#commits-pushed-affdbd8
https://github.com/niconoe-
https://github.com/ondrejmirtes
Fix forgotten import of function.https://github.com/phpstan/phpstan-src/pull/4786/commits/affdbd86a4e153b33784a6e792983e63f02996d4
affdbd8https://github.com/phpstan/phpstan-src/pull/4786/commits/affdbd86a4e153b33784a6e792983e63f02996d4
https://github.com/niconoe-
https://github.com/ondrejmirtes
Better usage of PHPStan API.https://github.com/phpstan/phpstan-src/pull/4786/commits/3c63be522fefd3e272124ce65195a8a721338b18
3c63be5https://github.com/phpstan/phpstan-src/pull/4786/commits/3c63be522fefd3e272124ce65195a8a721338b18
https://github.com/niconoe-
https://github.com/ondrejmirtes
Code clean up.https://github.com/phpstan/phpstan-src/pull/4786/commits/1ea85c084e0ffe1297aa0bfe4905661671cc3205
1ea85c0https://github.com/phpstan/phpstan-src/pull/4786/commits/1ea85c084e0ffe1297aa0bfe4905661671cc3205
https://github.com/niconoe-
https://github.com/ondrejmirtes
Refactor thanks tohttps://github.com/phpstan/phpstan-src/pull/4786/commits/b7040988cc7552f6871c0fa5f740108ae10381b9
@VincentLanglethttps://github.com/VincentLanglet
+ add new test cases.https://github.com/phpstan/phpstan-src/pull/4786/commits/b7040988cc7552f6871c0fa5f740108ae10381b9
b704098https://github.com/phpstan/phpstan-src/pull/4786/commits/b7040988cc7552f6871c0fa5f740108ae10381b9
https://github.com/niconoe-
https://github.com/ondrejmirtes
Make unit tests complient with PHP 7.4.https://github.com/phpstan/phpstan-src/pull/4786/commits/88f1856f7969a1000aeb7945a8fb49b8c869955c
88f1856https://github.com/phpstan/phpstan-src/pull/4786/commits/88f1856f7969a1000aeb7945a8fb49b8c869955c
https://github.com/niconoe-
https://github.com/ondrejmirtes
Apply comments.https://github.com/phpstan/phpstan-src/pull/4786/commits/14c405445cc93f8e1ac7f5730d2b9156326d539f
14c4054https://github.com/phpstan/phpstan-src/pull/4786/commits/14c405445cc93f8e1ac7f5730d2b9156326d539f
https://github.com/niconoe-
https://github.com/ondrejmirtes
Try to make unit test OK with PHP 7.4.https://github.com/phpstan/phpstan-src/pull/4786/commits/57d13bfdbba12654574ca3cdec750f37e9d10a25
57d13bfhttps://github.com/phpstan/phpstan-src/pull/4786/commits/57d13bfdbba12654574ca3cdec750f37e9d10a25
https://github.com/niconoe-
https://github.com/ondrejmirtes
Try to make unit test OK with PHP 7.4.https://github.com/phpstan/phpstan-src/pull/4786/commits/dc1fce7f4dee7377f5daada1e4eac15503e406e3
dc1fce7https://github.com/phpstan/phpstan-src/pull/4786/commits/dc1fce7f4dee7377f5daada1e4eac15503e406e3
https://github.com/niconoe-
https://github.com/ondrejmirtes
Add lots of unit tests and combinations to cover all kinds of types.https://github.com/phpstan/phpstan-src/pull/4786/commits/0fee410a962afa15830fe5388c370ea158cfb743
0fee410https://github.com/phpstan/phpstan-src/pull/4786/commits/0fee410a962afa15830fe5388c370ea158cfb743
https://github.com/niconoe-
https://github.com/ondrejmirtes
Remove forced type mixed on PHPUnit test to be compliant with PHP 7.4.https://github.com/phpstan/phpstan-src/pull/4786/commits/5214b2492910b78c3c4c3f858b4b6659e05e9e43
5214b24https://github.com/phpstan/phpstan-src/pull/4786/commits/5214b2492910b78c3c4c3f858b4b6659e05e9e43
https://github.com/niconoe-
https://github.com/ondrejmirtes
Simplify some type detection.https://github.com/phpstan/phpstan-src/pull/4786/commits/df064bf60954186b47f3b7f96d2baf7986301ee7
df064bfhttps://github.com/phpstan/phpstan-src/pull/4786/commits/df064bf60954186b47f3b7f96d2baf7986301ee7
https://github.com/niconoe-
https://github.com/ondrejmirtes
Simplify comparisions.https://github.com/phpstan/phpstan-src/pull/4786/commits/4d919621d49a6cab5fed1e7d52d8ccf8ce9628eb
4d91962https://github.com/phpstan/phpstan-src/pull/4786/commits/4d919621d49a6cab5fed1e7d52d8ccf8ce9628eb
https://github.com/niconoe-
https://github.com/ondrejmirtes
Removing mutants.https://github.com/phpstan/phpstan-src/pull/4786/commits/e4a777d81c8262f6bf38a4881583c068441666fd
e4a777dhttps://github.com/phpstan/phpstan-src/pull/4786/commits/e4a777d81c8262f6bf38a4881583c068441666fd
https://github.com/niconoe-
https://github.com/ondrejmirtes
Simplify method canStringBeSanitized.https://github.com/phpstan/phpstan-src/pull/4786/commits/2ff80baf75e83569d78d44932b89fc0b5fe64b1a
2ff80bahttps://github.com/phpstan/phpstan-src/pull/4786/commits/2ff80baf75e83569d78d44932b89fc0b5fe64b1a
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
force-pushedhttps://github.com/phpstan/phpstan-src/compare/aa4d70a2c8e5d3ca811d39c365a7c9443362ca84..2ff80baf75e83569d78d44932b89fc0b5fe64b1a
aa4d70ahttps://github.com/phpstan/phpstan-src/commit/aa4d70a2c8e5d3ca811d39c365a7c9443362ca84
2ff80bahttps://github.com/phpstan/phpstan-src/commit/2ff80baf75e83569d78d44932b89fc0b5fe64b1a
Compare https://github.com/phpstan/phpstan-src/compare/aa4d70a2c8e5d3ca811d39c365a7c9443362ca84..2ff80baf75e83569d78d44932b89fc0b5fe64b1a
October 31, 2026 13:54https://github.com/phpstan/phpstan-src/pull/4786#event-34774583530
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
October 31, 2026 13:54https://github.com/phpstan/phpstan-src/pull/4786#event-34774585056
https://github.co/hiddenchars
https://github.com/phpstan/phpstan-src/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F4786
https://github.com/ondrejmirtes
ondrejmirtes https://github.com/ondrejmirtes
https://github.com/phpstan/phpstan-src/pull/4786/files/48b0b464871291cfe3e9e9e1d87c7cc9e39596ed
https://github.com/VincentLanglet
VincentLanglet https://github.com/VincentLanglet
https://github.com/phpstan/phpstan-src/pull/4786/files/331e01ffbf922c0613b05e7e5151d3da99900ca7
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
filter_var with option FILTER_FLAG_EMPTY_STRING_NULL is not returning the expected type https://github.com/phpstan/phpstan/issues/13963
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/4786
https://github.com/niconoe-
https://github.com/VincentLanglet
https://github.com/staabm
https://github.com/ondrejmirtes
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.