René's URL Explorer Experiment


Title: Enable Psalm's static code analysis to run on PHP 8.4 · Issue #2 · PhrozenByte/phpunit-array-asserts · GitHub

Open Graph Title: Enable Psalm's static code analysis to run on PHP 8.4 · Issue #2 · PhrozenByte/phpunit-array-asserts

X Title: Enable Psalm's static code analysis to run on PHP 8.4 · Issue #2 · PhrozenByte/phpunit-array-asserts

Description: Right now we try to support PHP 8.4 down to PHP 7.2, but especially PHP 8.4 marked many features as deprecated that affect our dev dependencies. Even though the whole idea of deprecation notices is that one can safely ignore them, the Ps...

Open Graph Description: Right now we try to support PHP 8.4 down to PHP 7.2, but especially PHP 8.4 marked many features as deprecated that affect our dev dependencies. Even though the whole idea of deprecation notices is...

X Description: Right now we try to support PHP 8.4 down to PHP 7.2, but especially PHP 8.4 marked many features as deprecated that affect our dev dependencies. Even though the whole idea of deprecation notices is...

Opengraph URL: https://github.com/PhrozenByte/phpunit-array-asserts/issues/2

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable Psalm's static code analysis to run on PHP 8.4","articleBody":"Right now we try to support PHP 8.4 down to PHP 7.2, but especially PHP 8.4 marked many features as deprecated that affect our dev dependencies. Even though the whole idea of deprecation notices is that one can safely ignore them, the Psalm developers felt the need to bail when PHP throws a deprecation notice - even in production environments (which are other project's dev environments). So, Psalm 4 bails with the following error on PHP 8.4:\n\n```\nPHP Deprecated:  Constant E_STRICT is deprecated in /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/vimeo/psalm/src/Psalm/Internal/ErrorHandler.php on line 53\nDeprecated: Constant E_STRICT is deprecated in /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/vimeo/psalm/src/Psalm/Internal/ErrorHandler.php on line 53\nUncaught RuntimeException: PHP Error: Psalm\\Internal\\Provider\\FileProvider::getFilesInDir(): Implicitly marking parameter $filter as nullable is deprecated, the explicit nullable type must be used instead in /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/vimeo/psalm/src/Psalm/Internal/Provider/FileProvider.php:123 in /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/vimeo/psalm/src/Psalm/Internal/ErrorHandler.php:66\nStack trace:\n#0 /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/composer/ClassLoader.php(576): Psalm\\Internal\\ErrorHandler::{closure:Psalm\\Internal\\ErrorHandler::installErrorHandler():59}()\n#1 /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/composer/ClassLoader.php(576): include()\n#2 /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/composer/ClassLoader.php(427): {closure:Composer\\Autoload\\ClassLoader::initializeIncludeClosure():575}()\n#3 /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/vimeo/psalm/src/Psalm/Internal/Cli/Psalm.php(628): Composer\\Autoload\\ClassLoader-\u003eloadClass()\n#4 /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/vimeo/psalm/src/Psalm/Internal/Cli/Psalm.php(325): Psalm\\Internal\\Cli\\Psalm::initProviders()\n#5 /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/vimeo/psalm/psalm(7): Psalm\\Internal\\Cli\\Psalm::run()\n#6 /home/runner/work/phpunit-array-asserts/phpunit-array-asserts/vendor/bin/psalm(119): include('...')\n#7 {main}\n(Psalm 4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69 crashed due to an uncaught Throwable)\n```\n\nI'm not aware of a way to make Psalm 4 work with PHP 8.4, the only solution seems to be to update to a newer Psalm version. However, newer Psalm versions no longer support PHP 7.2. So we either have to drop support for older PHP versions, something I don't want to do right now (not until PHPUnit 8 reaches its end-of-life, see https://phpunit.de/supported-versions.html), or use a different set of dev dependencies depending on the PHP versions (i.e. use newer Psalm versions on newer PHP versions, but keep on using old Psalm versions on old PHP versions).\n\nUntil this is implemented I've disabled Psalm with PHP 8.4 in 841db9aeb32b5100c232c39f2f135aff7a68e406\n\nHelp fixing this is very welcome! :+1:","author":{"url":"https://github.com/PhrozenByte","@type":"Person","name":"PhrozenByte"},"datePublished":"2025-09-24T16:09:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/phpunit-array-asserts/issues/2"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:48a99c29-3175-8c23-87e6-3507b588e6e0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E04:14B4F3:15A6D17:1C0D0C6:698FD48F
html-safe-nonce2bfc25ebe1284991397ff788958fe05acd8318e53547c025a1c24dbc693239ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTA0OjE0QjRGMzoxNUE2RDE3OjFDMEQwQzY6Njk4RkQ0OEYiLCJ2aXNpdG9yX2lkIjoiNzM5OTY2NjQ1NzQ5OTI5MTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac68a9fdc2f283aee5c6261babca64df823f8eda3d3da4d771f2dfa992d25ecd47
hovercard-subject-tagissue:3450072852
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PhrozenByte/phpunit-array-asserts/2/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c5b3b22138925288705e79498d0ec302d3a190b85ce8b281bdfc1694a6302339/PhrozenByte/phpunit-array-asserts/issues/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c5b3b22138925288705e79498d0ec302d3a190b85ce8b281bdfc1694a6302339/PhrozenByte/phpunit-array-asserts/issues/2
og:image:altRight now we try to support PHP 8.4 down to PHP 7.2, but especially PHP 8.4 marked many features as deprecated that affect our dev dependencies. Even though the whole idea of deprecation notices is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamePhrozenByte
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/PhrozenByte/phpunit-array-asserts git https://github.com/PhrozenByte/phpunit-array-asserts.git
octolytics-dimension-user_id920356
octolytics-dimension-user_loginPhrozenByte
octolytics-dimension-repository_id324546783
octolytics-dimension-repository_nwoPhrozenByte/phpunit-array-asserts
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id324546783
octolytics-dimension-repository_network_root_nwoPhrozenByte/phpunit-array-asserts
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
released320682233dfd4d28c0b30554a564c2fcd229032
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/issues/2#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPhrozenByte%2Fphpunit-array-asserts%2Fissues%2F2
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FPhrozenByte%2Fphpunit-array-asserts%2Fissues%2F2
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PhrozenByte%2Fphpunit-array-asserts
Reloadhttps://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/issues/2
Reloadhttps://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/issues/2
Reloadhttps://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/issues/2
PhrozenByte https://patch-diff.githubusercontent.com/PhrozenByte
phpunit-array-assertshttps://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FPhrozenByte%2Fphpunit-array-asserts
Fork 2 https://patch-diff.githubusercontent.com/login?return_to=%2FPhrozenByte%2Fphpunit-array-asserts
Star 9 https://patch-diff.githubusercontent.com/login?return_to=%2FPhrozenByte%2Fphpunit-array-asserts
Code https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts
Issues 1 https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/issues
Pull requests 0 https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/pulls
Actions https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/actions
Security 0 https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/security
Insights https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/pulse
Code https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts
Issues https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/issues
Pull requests https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/pulls
Actions https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/actions
Security https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/security
Insights https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/PhrozenByte/phpunit-array-asserts/issues/2
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/PhrozenByte/phpunit-array-asserts/issues/2
Enable Psalm's static code analysis to run on PHP 8.4https://patch-diff.githubusercontent.com/PhrozenByte/phpunit-array-asserts/issues/2#top
bugSomething isn't workinghttps://github.com/PhrozenByte/phpunit-array-asserts/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedExtra attention is neededhttps://github.com/PhrozenByte/phpunit-array-asserts/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
upstreamRelated to an upstream issuehttps://github.com/PhrozenByte/phpunit-array-asserts/issues?q=state%3Aopen%20label%3A%22upstream%22
https://github.com/PhrozenByte
https://github.com/PhrozenByte
PhrozenBytehttps://github.com/PhrozenByte
on Sep 24, 2025https://github.com/PhrozenByte/phpunit-array-asserts/issues/2#issue-3450072852
https://phpunit.de/supported-versions.htmlhttps://phpunit.de/supported-versions.html
841db9ahttps://github.com/PhrozenByte/phpunit-array-asserts/commit/841db9aeb32b5100c232c39f2f135aff7a68e406
bugSomething isn't workinghttps://github.com/PhrozenByte/phpunit-array-asserts/issues?q=state%3Aopen%20label%3A%22bug%22
help wantedExtra attention is neededhttps://github.com/PhrozenByte/phpunit-array-asserts/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
upstreamRelated to an upstream issuehttps://github.com/PhrozenByte/phpunit-array-asserts/issues?q=state%3Aopen%20label%3A%22upstream%22
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.