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 compatibility: Fix passing null to string parameter parameter #4566

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

apphp
Copy link
Contributor

@apphp apphp commented Sep 24, 2024

PHP8.1 compatibility fixed.
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /opt/phishing/versions/5.3/web/protected/framework/console/CConsoleCommand.php on line 232

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Tests pass?
Fixed issues

Copy link
Member

@marcovtwout marcovtwout left a comment

Choose a reason for hiding this comment

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

Could you add an example to reproduce the issue?

framework/console/CConsoleCommand.php Outdated Show resolved Hide resolved
@marcovtwout marcovtwout merged commit f0ea6bd into yiisoft:master Sep 30, 2024
13 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