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

[Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given #32862

Closed

Conversation

Alexander1000
Copy link

PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

@nicolas-grekas
Copy link
Member

What happens when $matches['modifiers'] is set?
Can you please add a test case also?
And this should target 3.4, thanks :)

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Aug 2, 2019
@Alexander1000
Copy link
Author

Alexander1000 commented Aug 3, 2019

What happens when $matches['modifiers'] is set?

Oh, sorry. I'm miss it.

@Alexander1000
Copy link
Author

Hm... Segmentation fault on php 7.3 is cause of fail

@Alexander1000
Copy link
Author

Can you update php version on travis CI? I see code run on php 7.3.2, in latest versions was fixed many segmentation faults.

@nicolas-grekas nicolas-grekas changed the title [Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int… [Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given Aug 3, 2019
@nicolas-grekas
Copy link
Member

Closing in favor of #32910
(will merge it up so that 4.4 and other maintained branches will be fixed too)
Thanks

nicolas-grekas added a commit that referenced this pull request Aug 3, 2019
…1 to be int or float, string given (Aleksandr Dankovtsev)

This PR was merged into the 3.4 branch.

Discussion
----------

[Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given

[Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  |no
| BC breaks?    | no
| Deprecations? |no
| Tests pass?   | yes
| License       | MIT

In additional for PR: #32862

Commits
-------

faef738 [Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given
symfony-splitter pushed a commit to symfony/yaml that referenced this pull request Aug 3, 2019
…1 to be int or float, string given (Aleksandr Dankovtsev)

This PR was merged into the 3.4 branch.

Discussion
----------

[Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given

[Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  |no
| BC breaks?    | no
| Deprecations? |no
| Tests pass?   | yes
| License       | MIT

In additional for PR: symfony/symfony#32862

Commits
-------

faef73888e [Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int or float, string given
MuhammadMahdiHusayni pushed a commit to MuhammadMahdiHusayni/symfony that referenced this pull request Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants