Skip to content

Add .gitignore and .gitattributes for repo hygiene.#27

Merged
gustavofreze merged 2 commits intomainfrom
feature/develop
Apr 22, 2026
Merged

Add .gitignore and .gitattributes for repo hygiene.#27
gustavofreze merged 2 commits intomainfrom
feature/develop

Conversation

@gustavofreze
Copy link
Copy Markdown
Member

No description provided.

…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.
…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 22, 2026 02:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves repository hygiene and standardizes contributor/AI guidance, while also updating the PHP toolchain and CI setup.

Changes:

  • Add repo-wide formatting and export configuration via .editorconfig and revamped .gitattributes.
  • Introduce project rule documents under .claude/ and Copilot instructions for consistent code generation.
  • Update dev tooling in composer.json, extend Makefile targets, and adjust CI PHP setup (remove bcmath extension).

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/Internal/Exceptions/InvalidPayloadSize.php Refactors exception constructor signature/usage.
src/Internal/Exceptions/InvalidKsuidForInspection.php Refactors exception constructor signature/usage.
composer.json Reorders metadata, adds composer-normalize, bumps dev tool versions, updates scripts/config.
Makefile Adds composer normalize to configure, adds show-outdated, tweaks help text.
.github/workflows/ci.yml Removes bcmath extension from PHP setup steps.
.github/copilot-instructions.md Adds instructions pointing to .claude rule sources.
.gitattributes Adds LF normalization, linguist settings, and export-ignore rules.
.editorconfig Adds baseline editor formatting rules.
.claude/rules/php-library-testing.md Adds PHPUnit/BDD testing conventions and mutation/coverage rules.
.claude/rules/php-library-modeling.md Adds architectural and naming/modeling rules for the library.
.claude/rules/php-library-documentation.md Adds README/documentation standards.
.claude/rules/php-library-code-style.md Adds PHP code style and design checklist rules.
.claude/rules/github-workflows.md Adds conventions for GitHub Actions workflow structure/style.
.claude/CLAUDE.md Adds project summary, command list, and formatting requirements.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .gitattributes
Comment thread composer.json
Comment thread src/Internal/Exceptions/InvalidPayloadSize.php
Comment thread src/Internal/Exceptions/InvalidKsuidForInspection.php
@gustavofreze gustavofreze merged commit 81bc679 into main Apr 22, 2026
10 checks passed
@gustavofreze gustavofreze deleted the feature/develop branch April 22, 2026 02:09
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