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

Add .phpunit.result.cache to .gitignore #363

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

t-hamano
Copy link
Contributor

@t-hamano t-hamano commented Dec 8, 2023

When you run a PHP unit test locally, the source/wp-content/tests/phpunit/.phpunit.result.cache file is generated. This file is not excluded from git, so an unintended file difference will occur.

This file is also excluded in WordPress core and Gutenberg.

How to test the changes in this Pull Request:

  • Checkout ths branch.
  • Run yarn test:php.
  • Confirm that the source/wp-content/tests/phpunit/.phpunit.result.cache file has been generated.
  • Run git status
  • There should be no files to commit.

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

Successfully merging this pull request may close these issues.

None yet

1 participant