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

[DEV] Make composer run format to work with PHP8.X #2407

Open
Soare-Robert-Daniel opened this issue Oct 25, 2024 · 0 comments
Open

[DEV] Make composer run format to work with PHP8.X #2407

Soare-Robert-Daniel opened this issue Oct 25, 2024 · 0 comments

Comments

@Soare-Robert-Daniel
Copy link
Contributor

The linting and formating does not work with PHP8.X, it gives errors like this:

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | ERROR | An error occurred during processing; checking has been aborted. The error message was: Trying to access array offset on value of type bool in /Users/robert/Local
   |       | Sites/dev-2/app/public/wp-content/plugins/otter-blocks/vendor/wp-coding-standards/wpcs/WordPress/Sniff.php on line 1252
   |       | The error originated in the .WordPress. sniff on line 1252. (Internal.Exception)
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

No branches or pull requests

1 participant