Skip to content

Conflict with composer cmd scripts #780

@UVLabs

Description

@UVLabs

🐞 bug report

Behavior:

  • Freemius composer package causes conflict by stopping composer scripts from running as intended.

  • When PHPCodeSniffer is installed via composer using composer require --dev dealerdirect/phpcodesniffer-composer-installer the bin files it creates phpcbf and phpcs should be able to be referenced like this vendor/bin/phpcbf -p that will cause the library to run its behavior. However with the latest version of the SDK this doesn't work.

I reported to the PHPCodeSniffer team and they helped identify the issue. The discussion and reason for the issue can be seen here: PHPCSStandards/PHP_CodeSniffer#781

Versions: (*)

  • Freemius SDK Version: 2.10.1
  • WordPress Version: N/A
  • PHP Version: 8.1 (tried different versions, no difference)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions