Skip to content

fix: Fixed relative paths in .gitignore#9929

Merged
michalsn merged 2 commits intocodeigniter4:developfrom
neznaika0:fix/gitignore
Feb 7, 2026
Merged

fix: Fixed relative paths in .gitignore#9929
michalsn merged 2 commits intocodeigniter4:developfrom
neznaika0:fix/gitignore

Conversation

@neznaika0
Copy link
Contributor

Description
Fixes #9873

  • It is rare case when phpunit is located at the root. The previous rule ignored everything - (sub)directories and files - this is incorrect.

  • Additionally updated paths that are always located at the root (writable, user_guide_src)

  • vendor/ can be in internal subfolders - left as it is

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@samsonasik
Copy link
Member

btw, is the admin/starter|framework needs update as well?

writable/session/*

writable/session/*

@neznaika0
Copy link
Contributor Author

neznaika0 commented Feb 6, 2026

@paulbalandan @samsonasik @michalsn done

@michalsn michalsn merged commit 25c6f4b into codeigniter4:develop Feb 7, 2026
3 checks passed
@michalsn
Copy link
Member

michalsn commented Feb 7, 2026

Thank you @neznaika0

@neznaika0 neznaika0 deleted the fix/gitignore branch February 7, 2026 07:52
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.

Bug: Ignoring abstract "phpunit"

5 participants