Skip to content

Unclear error message: "PHP Code Sniffer is not available. Try running composer install first." #254

@mrfoxtalbot

Description

@mrfoxtalbot

Describe the bug

I am seeing this error message on all the plugins I test:

PHP Code Sniffer is not available. Try running composer install first.

It appears to be something missing in the Plugin Check plugin itself, not so much the specific plugin I am checking.

Steps to Reproduce

  1. Install the Plugin Check plugin (Version 0.2.0)
  2. Test a plugin
  3. Notice the warning.

Screenshots, screen recording, code snippet

Screen Shot on 2023-09-21 at 12:00:57

Environment information

  • Plugin Check plugin (Version 0.2.0)
  • WP Version 6.3.1

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

[Type] BugAn existing feature is broken

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions