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

phpcs and phpunit are not running from the project 'root' #114

Open
benpbolton opened this issue Dec 12, 2024 · 0 comments
Open

phpcs and phpunit are not running from the project 'root' #114

benpbolton opened this issue Dec 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@benpbolton
Copy link
Member

Description of the bug

While working on #111 , we learned that the default composer test will fail after initial configure due to the current structure of navigating to cd plugins/[folder] before running phpcs or phpunit and the resulting folder not having proper .phpcs.xml (prefixes, names, etc) nor a proper phpunit.xml.

Steps To Reproduce

  1. Clone this repo
  2. run yes '' | php ./configure.php --project_name=cwp --author_name=cwp [email protected] (accepting all defaults)
  3. run composer install
  4. run composer test
  5. Observe failures

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant