Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix PHPUnit 9.6 deprecations #49381

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

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

derrabus
Copy link
Member

Q A
Branch? 6.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets Related to #49233
License MIT
Doc PR N/A

This PR fixes deprecations introduced by PHPUnit 9.6. We should merge this PR before merging up #49233.

@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit 0c214e6 into symfony:6.2 Feb 15, 2023
@derrabus derrabus deleted the bugfix/phpunit-deprecations branch February 15, 2023 08:48
@@ -311,12 +311,25 @@ public function testNullSafeEvaluateFails($expression, $foo, $message)
/**
* @dataProvider provideInvalidNullSafe
*/
public function testNullSafeCompileFails($expression, $foo)
public function testNullSafeCompileFails($expression)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$foo should not be removed. It is used by the eval'd code.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see #49391

nicolas-grekas added a commit that referenced this pull request Feb 15, 2023
This PR was merged into the 6.2 branch.

Discussion
----------

[ExpressionLanguage] add missing variable

| Q             | A
| ------------- | ---
| Branch?       | 6.2
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | #49381 (comment)
| License       | MIT
| Doc PR        |

Commits
-------

e9955e5 add missing variable
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.

6 participants