René's URL Explorer Experiment


Title: Fix several issues with nullsafe type specification by schlndh · Pull Request #2577 · phpstan/phpstan-src · GitHub

Open Graph Title: Fix several issues with nullsafe type specification by schlndh · Pull Request #2577 · phpstan/phpstan-src

X Title: Fix several issues with nullsafe type specification by schlndh · Pull Request #2577 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - Fix several issues with nullsafe type specification by schlndh · Pull Request #2577 · phpstan/phpstan-src

Open Graph Description: The goal of this PR is to fix https://phpstan.org/r/c17b503c-a789-4d90-87a7-31f3436f1b68 . These issues were also fixed: nullable lost outside guarding if-statement phpstan#9105 Wrong type assumpt...

X Description: The goal of this PR is to fix https://phpstan.org/r/c17b503c-a789-4d90-87a7-31f3436f1b68 . These issues were also fixed: nullable lost outside guarding if-statement phpstan#9105 Wrong type assumpt...

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

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:8ecf9302-2c42-b8ae-5adf-882c81552c40
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8010:26ECEB:73D1F0:96FB29:6B00D478
html-safe-nonce715cc9307d2aa63bd23acac7e5cafeb494bbbdb080ea64a17c44b766d8e1b180
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDEwOjI2RUNFQjo3M0QxRjA6OTZGQjI5OjZCMDBENDc4IiwidmlzaXRvcl9pZCI6IjMwNTQwMzA4MjM2ODc3NzEyNTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf1a2446408c2c3c41398c761dbb165d38597f7d82e459b66b41faceb59fa6fa8
hovercard-subject-tagpull_request:1480575083
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/2577/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6b28e034dd3bb69ce9ef4b8da68f070ea0f7618d54b48e1b92a8e110972409bc/phpstan/phpstan-src/pull/2577
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6b28e034dd3bb69ce9ef4b8da68f070ea0f7618d54b48e1b92a8e110972409bc/phpstan/phpstan-src/pull/2577
og:image:altThe goal of this PR is to fix https://phpstan.org/r/c17b503c-a789-4d90-87a7-31f3436f1b68 . These issues were also fixed: nullable lost outside guarding if-statement phpstan#9105 Wrong type assumpt...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameschlndh
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
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
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/2577#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F2577
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%2F2577
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/2577
Reloadhttps://github.com/phpstan/phpstan-src/pull/2577
Reloadhttps://github.com/phpstan/phpstan-src/pull/2577
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
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:1.10.xhttps://github.com/phpstan/phpstan-src/tree/1.10.x
schlndh:fix-nullsafeCallGreaterThanScalarhttps://github.com/schlndh/phpstan-src/tree/fix-nullsafeCallGreaterThanScalar
Conversationhttps://github.com/phpstan/phpstan-src/pull/2577
Commits5 (5)https://github.com/phpstan/phpstan-src/pull/2577/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/2577/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/2577/files
Fix several issues with nullsafe type specificationhttps://github.com/phpstan/phpstan-src/pull/2577#top
ondrejmirteshttps://github.com/ondrejmirtes
phpstan:1.10.xhttps://github.com/phpstan/phpstan-src/tree/1.10.x
schlndh:fix-nullsafeCallGreaterThanScalarhttps://github.com/schlndh/phpstan-src/tree/fix-nullsafeCallGreaterThanScalar
https://github.com/schlndh
schlndhhttps://github.com/schlndh
Aug 18, 2023https://github.com/phpstan/phpstan-src/pull/2577#issue-1856714903
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
https://phpstan.org/r/c17b503c-a789-4d90-87a7-31f3436f1b68https://phpstan.org/r/c17b503c-a789-4d90-87a7-31f3436f1b68
nullable lost outside guarding if-statement phpstan#9105https://github.com/phpstan/phpstan/issues/9105
Wrong type assumptions phpstan#5172https://github.com/phpstan/phpstan/issues/5172
Wrong not-null type after using null coalescing operator with nullsafe property access phpstan#8517https://github.com/phpstan/phpstan/issues/8517
Possibly null object is wrongly enforced as non null. phpstan#7980https://github.com/phpstan/phpstan/issues/7980
Wrong error Using nullsafe method call on non-nullable type phpstan#8664https://github.com/phpstan/phpstan/issues/8664
Type B|null gets narrowed to type B when calling a method that returns mixed phpstan#9293https://github.com/phpstan/phpstan/issues/9293
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
schlndhhttps://github.com/schlndh
August 19, 2023 08:56https://github.com/phpstan/phpstan-src/pull/2577#commits-pushed-99cecba
https://github.com/schlndh
fix specified type for nullsafe vs scalar comparisonhttps://github.com/phpstan/phpstan-src/pull/2577/commits/99cecba7e4ac1c6aeee0e1ca215c8f91ce9b2f3b
99cecbahttps://github.com/phpstan/phpstan-src/pull/2577/commits/99cecba7e4ac1c6aeee0e1ca215c8f91ce9b2f3b
https://github.com/schlndh
add tests for other fixed issueshttps://github.com/phpstan/phpstan-src/pull/2577/commits/8abe3dd646342c1146bd44e92f6220c16a6784db
8abe3ddhttps://github.com/phpstan/phpstan-src/pull/2577/commits/8abe3dd646342c1146bd44e92f6220c16a6784db
https://github.com/schlndh
fix bug 8517https://github.com/phpstan/phpstan-src/pull/2577/commits/283b40ba324ad69380cb51c6ff5df7cc8d7c63e0
283b40bhttps://github.com/phpstan/phpstan-src/pull/2577/commits/283b40ba324ad69380cb51c6ff5df7cc8d7c63e0
https://github.com/schlndh
schlndhhttps://github.com/schlndh
force-pushedhttps://github.com/phpstan/phpstan-src/compare/050fd243d91ce8d2d19ea7742c69561ba01639c4..162e3e329011291a22f35d0fe7064375a3574ab1
050fd24https://github.com/phpstan/phpstan-src/commit/050fd243d91ce8d2d19ea7742c69561ba01639c4
162e3e3https://github.com/phpstan/phpstan-src/commit/162e3e329011291a22f35d0fe7064375a3574ab1
Compare https://github.com/phpstan/phpstan-src/compare/050fd243d91ce8d2d19ea7742c69561ba01639c4..162e3e329011291a22f35d0fe7064375a3574ab1
August 19, 2023 06:56https://github.com/phpstan/phpstan-src/pull/2577#event-10135531193
https://github.com/schlndh
add tests for more fixed issueshttps://github.com/phpstan/phpstan-src/pull/2577/commits/12bc2c16c533e16c8f90b68c3c6c6ab61fdcbaa8
12bc2c1https://github.com/phpstan/phpstan-src/pull/2577/commits/12bc2c16c533e16c8f90b68c3c6c6ab61fdcbaa8
https://github.com/schlndh
schlndhhttps://github.com/schlndh
force-pushedhttps://github.com/phpstan/phpstan-src/compare/162e3e329011291a22f35d0fe7064375a3574ab1..12bc2c16c533e16c8f90b68c3c6c6ab61fdcbaa8
162e3e3https://github.com/phpstan/phpstan-src/commit/162e3e329011291a22f35d0fe7064375a3574ab1
12bc2c1https://github.com/phpstan/phpstan-src/commit/12bc2c16c533e16c8f90b68c3c6c6ab61fdcbaa8
Compare https://github.com/phpstan/phpstan-src/compare/162e3e329011291a22f35d0fe7064375a3574ab1..12bc2c16c533e16c8f90b68c3c6c6ab61fdcbaa8
August 19, 2023 07:02https://github.com/phpstan/phpstan-src/pull/2577#event-10135541133
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Aug 19, 2023https://github.com/phpstan/phpstan-src/pull/2577#issuecomment-1684922929
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Aug 19, 2023 https://github.com/phpstan/phpstan-src/pull/2577#pullrequestreview-1585630661
View reviewed changes https://github.com/phpstan/phpstan-src/pull/2577/files/12bc2c16c533e16c8f90b68c3c6c6ab61fdcbaa8
ondrejmirteshttps://github.com/ondrejmirtes
https://github.com/phpstan/phpstan-src/pull/2577#pullrequestreview-1585630661
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Aug 19, 2023https://github.com/phpstan/phpstan-src/pull/2577#issuecomment-1684923332
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
https://github.com/schlndh
move tests out of AnalyserIntegrationTesthttps://github.com/phpstan/phpstan-src/pull/2577/commits/2cd8400e2cafa0ff1cd3c79e354742698dc024ad
2cd8400https://github.com/phpstan/phpstan-src/pull/2577/commits/2cd8400e2cafa0ff1cd3c79e354742698dc024ad
https://github.com/schlndh
schlndhhttps://github.com/schlndh
force-pushedhttps://github.com/phpstan/phpstan-src/compare/83a0825b6d274031110e8bc4e8f396586da58400..2cd8400e2cafa0ff1cd3c79e354742698dc024ad
83a0825https://github.com/phpstan/phpstan-src/commit/83a0825b6d274031110e8bc4e8f396586da58400
2cd8400https://github.com/phpstan/phpstan-src/commit/2cd8400e2cafa0ff1cd3c79e354742698dc024ad
Compare https://github.com/phpstan/phpstan-src/compare/83a0825b6d274031110e8bc4e8f396586da58400..2cd8400e2cafa0ff1cd3c79e354742698dc024ad
August 19, 2023 12:34https://github.com/phpstan/phpstan-src/pull/2577#event-10135974221
https://github.com/schlndh
schlndhhttps://github.com/schlndh
Aug 19, 2023https://github.com/phpstan/phpstan-src/pull/2577#issuecomment-1684936884
@ondrejmirteshttps://github.com/ondrejmirtes
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Aug 19, 2023 https://github.com/phpstan/phpstan-src/pull/2577#pullrequestreview-1585639681
View reviewed changes https://github.com/phpstan/phpstan-src/pull/2577/files/2cd8400e2cafa0ff1cd3c79e354742698dc024ad
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
d435f65https://github.com/phpstan/phpstan-src/commit/d435f658ec7526c44f12b0d0509a5f3d64ce9607
Aug 19, 2023https://github.com/phpstan/phpstan-src/pull/2577#event-10136032348
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Aug 19, 2023https://github.com/phpstan/phpstan-src/pull/2577#issuecomment-1684942464
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
nullable lost outside guarding if-statement phpstan/phpstan#9105 https://github.com/phpstan/phpstan/issues/9105
Wrong type assumptions phpstan/phpstan#5172 https://github.com/phpstan/phpstan/issues/5172
Wrong not-null type after using null coalescing operator with nullsafe property access phpstan/phpstan#8517 https://github.com/phpstan/phpstan/issues/8517
Possibly null object is wrongly enforced as non null. phpstan/phpstan#7980 https://github.com/phpstan/phpstan/issues/7980
Wrong error Using nullsafe method call on non-nullable type phpstan/phpstan#8664 https://github.com/phpstan/phpstan/issues/8664
Type B|null gets narrowed to type B when calling a method that returns mixed phpstan/phpstan#9293 https://github.com/phpstan/phpstan/issues/9293
https://github.com/herndlm
herndlmhttps://github.com/herndlm
Aug 19, 2023https://github.com/phpstan/phpstan-src/pull/2577#issuecomment-1685055089
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
https://github.com/schlndh
schlndhhttps://github.com/schlndh
August 19, 2023 17:23https://github.com/phpstan/phpstan-src/pull/2577#event-10136730132
https://github.com/ToshY
ToshYhttps://github.com/ToshY
Oct 2, 2023 https://github.com/phpstan/phpstan-src/pull/2577#ref-issue-1922038280
Using nullsafe method call on non-nullable type mixed phpstan/phpstan#9965 https://github.com/phpstan/phpstan/issues/9965
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%2F2577
https://github.com/ondrejmirtes
ondrejmirtes https://github.com/ondrejmirtes
https://github.com/phpstan/phpstan-src/pull/2577/files/2cd8400e2cafa0ff1cd3c79e354742698dc024ad
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/2577
https://github.com/schlndh
https://github.com/ondrejmirtes
https://github.com/herndlm
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.