Skip to content

Comments

Upgrade to support PHP 8.4 runtime and basic code parsing (not the hooks hell of PHP 8.4)#913

Merged
Ocramius merged 8 commits into8.12.xfrom
feature/upgrade-to-php-8.4-runtime-support
Feb 6, 2025
Merged

Upgrade to support PHP 8.4 runtime and basic code parsing (not the hooks hell of PHP 8.4)#913
Ocramius merged 8 commits into8.12.xfrom
feature/upgrade-to-php-8.4-runtime-support

Conversation

@Ocramius
Copy link
Member

@Ocramius Ocramius commented Jan 27, 2025

@Ocramius Ocramius added enhancement help wanted dependencies Pull requests that update a dependency file labels Jan 27, 2025
@Ocramius
Copy link
Member Author

Ocramius commented Feb 5, 2025

#741 may solve this, btw

@Ocramius Ocramius added this to the 8.12.0 milestone Feb 6, 2025
@Ocramius Ocramius self-assigned this Feb 6, 2025
@Ocramius Ocramius changed the base branch from 8.11.x to 8.12.x February 6, 2025 10:25
renovate bot and others added 4 commits February 6, 2025 11:25
| datasource | package          | from   | to    |
| ---------- | ---------------- | ------ | ----- |
| packagist  | nikic/php-parser | 4.19.4 | 5.4.0 |
* instructed `psalm/plugin-phpunit` to ignore unused `test/` code
* instructed PHPUnit to convert deprecations to failures (new XSD)
* moved to newer Psalm / PHP-Parser versions
* moved to PHPUnit attributes for coverage and data providers
* migrated to new PHPUnit source directory declarations

Note: some `./vendor/bin/psalm` commands fail when caching is involved: usages of some
methods seem to not be picked up properly.
@Ocramius Ocramius force-pushed the feature/upgrade-to-php-8.4-runtime-support branch from 3e86aa6 to 2870fa0 Compare February 6, 2025 10:29
Some dependencies currently raise deprecation warnings there:

* `shish/safe:2.6.0` (`2.6.4` was released)
* `beberlei/assert:3.3.0` (`3.3.3` was released)

Adding a `conflict` clause is viable, but way too aggressive, and propagates
through the dependency graph here.

The package works with these, but with deprecations.
@Ocramius Ocramius merged commit c33f4b0 into 8.12.x Feb 6, 2025
30 checks passed
@Ocramius Ocramius deleted the feature/upgrade-to-php-8.4-runtime-support branch February 6, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant