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

Fix phpcs locally with PHP 8.2 #44

Merged
merged 5 commits into from
Feb 8, 2024
Merged

Fix phpcs locally with PHP 8.2 #44

merged 5 commits into from
Feb 8, 2024

Conversation

kagg-design
Copy link
Contributor

Description

When I try to run composer cs locally with PHP 8.2 for these lib files, I have the following error:

An error that occurs during processing; checking has been aborted. | | The error message was: trim(): Passing null to parameter #1 | | ($string) of type string is deprecated in | | D:\Sites\Projects\wpforms-phpcs\vendor\phpcompatibility\php-compatibility\PHPCompatibility\Sniff.php | | on line 131 | | The error originated in the .PHPCompatibility. sniff on line 131. | | (Internal.Exception)

Motivation and Context

Fix #43.

@kagg-design kagg-design merged commit 45cd985 into main Feb 8, 2024
1 check passed
@kagg-design kagg-design deleted the issue-43 branch February 8, 2024 19:49
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.

Fix phpcs locally with PHP 8.2
1 participant