Skip to content

Add .gitignore and .gitattributes for repo hygiene. - #46

Merged
gustavofreze merged 1 commit into
mainfrom
chore/repo-hygiene
Apr 21, 2026
Merged

gustavofreze merged 1 commit into
mainfrom
chore/repo-hygiene

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

Prevent agent/IDE folders (.claude, .idea, .vscode) from being versioned and exclude dev-only files (tests, phpstan, phpcs, phpunit configs) from the Packagist tarball via export-ignore.

…ent/IDE folders (.claude, .idea, .vscode) from being versioned and exclude dev-only files (tests, phpstan, phpcs, phpunit configs) from the Packagist tarball via export-ignore.
Copilot AI review requested due to automatic review settings April 21, 2026 22:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds repository hygiene defaults for local tooling/IDE artifacts and configures export-ignore rules so dev-only files aren’t included in Packagist distribution archives.

Changes:

  • Expanded and organized .gitignore entries for IDE/agent folders, Composer artifacts, PHPUnit caches, and common output directories.
  • Simplified .gitattributes and added export-ignore rules for tests and development-only configs to keep dist tarballs minimal.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
.gitignore Adds ignores for IDE/agent folders and common PHP tooling artifacts/output directories.
.gitattributes Sets LF normalization and excludes dev-only files from Packagist export archives via export-ignore.

@gustavofreze
gustavofreze merged commit eaf25b3 into main Apr 21, 2026
10 checks passed
@gustavofreze
gustavofreze deleted the chore/repo-hygiene branch April 21, 2026 22:03
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.

2 participants