Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PHP 8.4 support #11107

Closed
5 tasks
Tracked by #499
kkmuffme opened this issue Sep 30, 2024 · 8 comments
Closed
5 tasks
Tracked by #499

PHP 8.4 support #11107

kkmuffme opened this issue Sep 30, 2024 · 8 comments

Comments

@kkmuffme
Copy link
Contributor

kkmuffme commented Sep 30, 2024

Copy link

Hey @kkmuffme, can you reproduce the issue on https://psalm.dev? These will be used as phpunit tests when implementing the feature or fixing this bug.

@kkmuffme kkmuffme changed the title PHP 8.4 deprecations PHP 8.4 support Oct 2, 2024
spaze added a commit to spaze/michalspacek.cz that referenced this issue Nov 23, 2024
Psalm doesn't support PHP 8.4 yet, see vimeo/psalm#11107
@edsrzf
Copy link
Contributor

edsrzf commented Nov 25, 2024

#11166 and #11168 fix a couple warnings I got when running Psalm with PHP 8.4.

@llaville
Copy link
Contributor

llaville commented Dec 9, 2024

Psalm error handler (https://github.com/vimeo/psalm/blob/5.26.1/src/Psalm/Internal/ErrorHandler.php#L62) do not allow to disable deprecations at runtime ( php -d error_reporting=24575 vendor/bin/psalm )

@Bolkarr
Copy link

Bolkarr commented Dec 9, 2024

"This version of Nextcloud is not compatible with PHP>=8.4.
You are currently running 8.4.1."

Is there a distinction between 8.4 and 8.4.1 ?
I am on 30.0.3 RC2

kkmuffme added a commit to kkmuffme/psalm that referenced this issue Dec 23, 2024
* Fix vimeo#11189
* Fix PHP_DEBUG constant for PHP 8.4 part of vimeo#11107
kkmuffme added a commit to kkmuffme/psalm that referenced this issue Dec 23, 2024
* Fix vimeo#11189
* Fix PHP_DEBUG constant for PHP 8.4 part of vimeo#11107
kkmuffme added a commit to kkmuffme/psalm that referenced this issue Dec 23, 2024
* Fix vimeo#11189
* Fix PHP_DEBUG constant for PHP 8.4 part of vimeo#11107
@juliangums
Copy link

Is there any ETA on 8.4 support?

@alexander-schranz
Copy link

v6 with PHP 8.4 is released: https://github.com/vimeo/psalm/releases/tag/6.0.0. Can be closed /cc @danog

@theodorejb
Copy link
Contributor

Does Psalm 6 support static analysis of all the new PHP 8.4 features like property hooks and asymmetric visibility?

@danog
Copy link
Collaborator

danog commented Jan 26, 2025

Psalm v6 now properly runs on PHP 8.4, and all signatures are up-to-date for PHP 8.4.

Property hook and asymmetric visibilty support is planned, but currently there is no funding for it.
I would gladly accept a support contract, funding the implementation of these two features.

@danog danog closed this as completed Jan 26, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants