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

PHP 8.4 Compatibility #183

Merged
merged 2 commits into from
Jan 27, 2025
Merged

PHP 8.4 Compatibility #183

merged 2 commits into from
Jan 27, 2025

Conversation

nie7321
Copy link
Member

@nie7321 nie7321 commented Jan 27, 2025

The impact seems to be limited to tests. Using __METHOD__ for the routes being tested is resulting in an error now:

Symfony\Component\HttpFoundation\Exception\BadRequestException: Invalid URI: A URI cannot contain a backslash.

Not sure if this is a PHP 8.4 change or a Symfony change, but fair enough. __FUNCTION__ returns just the method name, which should be sufficient.

Using __METHOD__ for the routes being tested is resulting in an error now:

```
Symfony\Component\HttpFoundation\Exception\BadRequestException: Invalid URI: A URI cannot contain a backslash.
```

Not sure if this is a PHP 8.4 change or a Symfony change, but fair enough. `__FUNCTION__` returns just the method name, which should be sufficient.
@coveralls
Copy link

Coverage Status

coverage: 45.277%. remained the same
when pulling e90c415 on php-84
into 0c4b455 on develop.

@nie7321 nie7321 merged commit a782f5d into develop Jan 27, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants