Skip to content

Fix error shows by composer validate #248

@mukeshpanchal27

Description

@mukeshpanchal27

Describe the bug

I discovered this bug, and then I worked on the #246 (comment). I also managed to reproduce the same issue in the trunk.

Error:

- The package "wp-coding-standards/wpcs" is pointing to a commit-ref, this is bad practice and can cause unforeseen issues.
- require.automattic/vipwpcs : exact version constraints (2.3.3) should be avoided if the package follows semantic versioning

Steps to Reproduce

  1. Clone the repo code in your local system
  2. Install composer
  3. Run composer validate
  4. Check errors

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature is broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions