René's URL Explorer Experiment


Title: CallToFunctionStatementWithoutSideEffectsRule checks the purity of `array_filter()`, `array_map()`, and `array_reduce()` by zonuexe · Pull Request #3106 · phpstan/phpstan-src · GitHub

Open Graph Title: CallToFunctionStatementWithoutSideEffectsRule checks the purity of `array_filter()`, `array_map()`, and `array_reduce()` by zonuexe · Pull Request #3106 · phpstan/phpstan-src

X Title: CallToFunctionStatementWithoutSideEffectsRule checks the purity of `array_filter()`, `array_map()`, and `array_reduce()` by zonuexe · Pull Request #3106 · phpstan/phpstan-src

Description: PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository. - CallToFunctionStatementWithoutSideEffectsRule checks the purity of `array_filter()`, `array_map()`, and `array_reduce()` by zonuexe · Pull Request #3106 · phpstan/phpstan-src

Open Graph Description: resolve phpstan/phpstan#11101 The following functions can also cause side effects via callbacks, but since they are used infrequently and the processing is more complex, it is sufficient to follow ...

X Description: resolve phpstan/phpstan#11101 The following functions can also cause side effects via callbacks, but since they are used infrequently and the processing is more complex, it is sufficient to follow ...

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

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:9a772f1d-e460-c243-123d-35796e27a429
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B12:399E4B:A2CDE8:D9D9C1:6B00EA2D
html-safe-nonce876774f1d3eacef319bc1dff8742afb2d2c69bd714b1ee3d52e37dfc8b039248
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjEyOjM5OUU0QjpBMkNERTg6RDlEOUMxOjZCMDBFQTJEIiwidmlzaXRvcl9pZCI6IjQ4NjExNzc4MTg1ODg5NjU0MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd50bd4f25ca9b400d9a7fc03bfc38afff0c34c776f620623dab4ebcfa2583c09
hovercard-subject-tagpull_request:1894598308
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/3106/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/799545c3849d3d9ce662531e107d38b93d23b30335465ceca968bf899abf10e9/phpstan/phpstan-src/pull/3106
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/799545c3849d3d9ce662531e107d38b93d23b30335465ceca968bf899abf10e9/phpstan/phpstan-src/pull/3106
og:image:altresolve phpstan/phpstan#11101 The following functions can also cause side effects via callbacks, but since they are used infrequently and the processing is more complex, it is sufficient to follow ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezonuexe
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/phpstan/phpstan-src/pull/3106#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphpstan%2Fphpstan-src%2Fpull%2F3106
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%2F3106
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/3106
Reloadhttps://github.com/phpstan/phpstan-src/pull/3106
Reloadhttps://github.com/phpstan/phpstan-src/pull/3106
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
zonuexehttps://github.com/zonuexe
phpstan:1.12.xhttps://github.com/phpstan/phpstan-src/tree/1.12.x
zonuexe:feature/array-map-filter-sideeffecthttps://github.com/zonuexe/phpstan-src/tree/feature/array-map-filter-sideeffect
Conversationhttps://github.com/phpstan/phpstan-src/pull/3106
Commits1 (1)https://github.com/phpstan/phpstan-src/pull/3106/commits
Checkshttps://github.com/phpstan/phpstan-src/pull/3106/checks
Files changedhttps://github.com/phpstan/phpstan-src/pull/3106/files
CallToFunctionStatementWithoutSideEffectsRule checks the purity of array_filter(), array_map(), and array_reduce()https://github.com/phpstan/phpstan-src/pull/3106#top
zonuexehttps://github.com/zonuexe
phpstan:1.12.xhttps://github.com/phpstan/phpstan-src/tree/1.12.x
zonuexe:feature/array-map-filter-sideeffecthttps://github.com/zonuexe/phpstan-src/tree/feature/array-map-filter-sideeffect
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
May 29, 2024https://github.com/phpstan/phpstan-src/pull/3106#issue-2324087738
phpstan/phpstan#11101https://github.com/phpstan/phpstan/issues/11101
array_udiff_assoc()https://www.php.net/array_udiff_assoc
array_udiff_uassoc()https://www.php.net/array_udiff_uassoc
array_uintersect()https://www.php.net/array_uintersect
array_uintersect_assoc()https://www.php.net/array_uintersect_assoc
array_uintersect_uassoc()https://www.php.net/array_uintersect_uassoc
phpstan-src/resources/functionMetadata.phphttps://github.com/phpstan/phpstan-src/blob/66a2fd00ff85f489a1bc1b6e8798cb6b0ac209df/resources/functionMetadata.php#L721-L728
66a2fd0https://github.com/phpstan/phpstan-src/commit/66a2fd00ff85f489a1bc1b6e8798cb6b0ac209df
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
https://github.com/staabm
staabmhttps://github.com/staabm
May 29, 2024https://github.com/phpstan/phpstan-src/pull/3106#issuecomment-2138186427
phpstan/phpstan#11100https://github.com/phpstan/phpstan/issues/11100
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
https://github.com/staabm
staabmhttps://github.com/staabm
May 29, 2024 https://github.com/phpstan/phpstan-src/pull/3106#pullrequestreview-2086332840
View reviewed changes https://github.com/phpstan/phpstan-src/pull/3106/files
tests/PHPStan/Rules/Functions/data/function-call-statement-no-side-effects-8.0.phphttps://github.com/phpstan/phpstan-src/pull/3106/files#diff-c5ad1d6ca608df9a4cc4d6a4f24b9df043d0dda59e4b2a195bab75a2ed4c3cda
staabmhttps://github.com/staabm
May 29, 2024https://github.com/phpstan/phpstan-src/pull/3106#discussion_r1619422867
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
May 29, 2024https://github.com/phpstan/phpstan-src/pull/3106#issuecomment-2138212546
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
https://github.com/zonuexe
CallToFunctionStatementWithoutSideEffectsRule checks the purity of ar…https://github.com/phpstan/phpstan-src/pull/3106/commits/c7a5e590ab8211be3eb459c20cfda0f25b607ff3
c7a5e59https://github.com/phpstan/phpstan-src/pull/3106/commits/c7a5e590ab8211be3eb459c20cfda0f25b607ff3
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
force-pushedhttps://github.com/phpstan/phpstan-src/compare/b19ad33ff08c50368e81052707f514550db6a4df..c7a5e590ab8211be3eb459c20cfda0f25b607ff3
b19ad33https://github.com/phpstan/phpstan-src/commit/b19ad33ff08c50368e81052707f514550db6a4df
c7a5e59https://github.com/phpstan/phpstan-src/commit/c7a5e590ab8211be3eb459c20cfda0f25b607ff3
Compare https://github.com/phpstan/phpstan-src/compare/b19ad33ff08c50368e81052707f514550db6a4df..c7a5e590ab8211be3eb459c20cfda0f25b607ff3
August 27, 2024 15:58https://github.com/phpstan/phpstan-src/pull/3106#event-14031421792
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
August 29, 2024 19:31https://github.com/phpstan/phpstan-src/pull/3106#event-14069018465
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 18, 2024https://github.com/phpstan/phpstan-src/pull/3106#issuecomment-2358206882
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
https://github.com/ondrejmirtes
ondrejmirteshttps://github.com/ondrejmirtes
Sep 18, 2024https://github.com/phpstan/phpstan-src/pull/3106#event-14305950017
https://github.com/zonuexe
zonuexehttps://github.com/zonuexe
Sep 25, 2024 https://github.com/phpstan/phpstan-src/pull/3106#ref-pullrequest-2548618158
Implement @pure-unless-callable-is-impure #3482 https://github.com/phpstan/phpstan-src/pull/3482
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%2F3106
https://github.com/staabm
staabm https://github.com/staabm
https://github.com/phpstan/phpstan-src/pull/3106/files/b19ad33ff08c50368e81052707f514550db6a4df
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
array_filter(), array_map() and array_reduce() should be considered pure functions https://github.com/phpstan/phpstan/issues/11101
Please reload this pagehttps://github.com/phpstan/phpstan-src/pull/3106
https://github.com/zonuexe
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.