Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[WIP] Add support for PHP 8.4.0 #84

Open
wants to merge 8 commits into
base: 1.26.x
Choose a base branch
from

Conversation

mkoprek
Copy link
Contributor

@mkoprek mkoprek commented Oct 12, 2024

Q A
Documentation yes/no
Bugfix yes/no
BC Break yes/no
New Feature yes/no
RFC yes/no
QA yes/no

Description

@mkoprek mkoprek changed the title Add support for PHP 8.4.0 [WIP] Add support for PHP 8.4.0 Oct 12, 2024
@mkoprek
Copy link
Contributor Author

mkoprek commented Oct 12, 2024

Waiting for: laminas/laminas-loader#13

@alexmerlin
Copy link
Member

@mkoprek
Copy link
Contributor Author

mkoprek commented Oct 22, 2024

I don't have idea why it output so many error at PHPUnit 8.4 lowest. It requires specific knowledge in CI configuration which I don't have. Maybe someone can help with it?

@gsteel
Copy link
Member

gsteel commented Oct 22, 2024

I don't have idea why it output so many error at PHpUnit 8.4 lowest. It requires specific knowledge in CI configuration which I don't have. Maybe someone can help with it?

To begin with run composer update; composer bump -D locally to bump dev dependencies to the latest supported releases and push again to run CI.

Many of the issues here are incompatibilities with PHPUnit and 8.4

@alexmerlin
Copy link
Member

Try adding .laminas-ci.json.
With this, platform dependencies will be ignored - this was done in other packages as well to fix the issue until PHP 8.4 is officially released.

@mkoprek
Copy link
Contributor Author

mkoprek commented Oct 22, 2024

@alexmerlin I've added ignore_php_platform_requirements to .laminas-ci.json. There are still same errors, any other idea?

@mkoprek
Copy link
Contributor Author

mkoprek commented Oct 22, 2024

To begin with run composer update; composer bump -D locally to bump dev dependencies to the latest supported releases and push again to run CI.

Many of the issues here are incompatibilities with PHPUnit and 8.4

I don't think it will help in this case. Dependencies are right now in almost newest versions.

@gsteel
Copy link
Member

gsteel commented Oct 22, 2024

I don't think it will help in this case. Dependencies are right now in almost newest versions.

I do think it will help in this case because deps are not almost newest when testing on lowest 🤷‍♂️

Maciej Koprek added 6 commits October 23, 2024 12:47
Signed-off-by: Maciej Koprek <[email protected]>
Signed-off-by: Maciej Koprek <[email protected]>
Signed-off-by: Maciej Koprek <[email protected]>
Signed-off-by: Maciej Koprek <[email protected]>
Signed-off-by: Maciej Koprek <[email protected]>
@mkoprek
Copy link
Contributor Author

mkoprek commented Oct 23, 2024

@gsteel You was right. I was sure CI is working in other way.

There is last unit test to fix, maybe I will try to fix it at the weekend.

@alexmerlin
Copy link
Member

@mkoprek Any progress with fixing the tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

4 participants