Skip to content

Align repository with tiny-blocks canonical rules.#19

Merged
gustavofreze merged 2 commits into
mainfrom
feature/develop
May 18, 2026
Merged

Align repository with tiny-blocks canonical rules.#19
gustavofreze merged 2 commits into
mainfrom
feature/develop

Conversation

@gustavofreze
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 18, 2026 18:54
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

Aligns the repository with the tiny-blocks canonical standards by updating tooling/CI configuration, documentation templates, and test/style conventions to match the ecosystem’s shared rules.

Changes:

  • Standardize dev tooling (Composer scripts, PHPUnit/PHPStan/PHPCS/Infection configs, report paths under reports/, Makefile targets).
  • Adopt canonical GitHub repo templates and workflows (CI pipeline shape, CodeQL/auto-assign concurrency and permissions, issue/PR templates, SECURITY policy).
  • Update library docs/tests to follow tiny-blocks conventions (README example shape, BDD-style test naming/structure, Currency doc refinements).

Reviewed changes

Copilot reviewed 29 out of 30 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/CurrencyTest.php Renames/restructures tests to match canonical BDD conventions and data providers.
src/Currency.php Refines enum/class docs and normalizes getFractionDigits() match formatting.
SECURITY.md Adds canonical security policy.
README.md Aligns README structure and code example format with canonical documentation rules.
phpunit.xml Switches to strict canonical PHPUnit settings and report paths under reports/.
phpstan.neon.dist Sets PHPStan to level: max, includes tests, and adds scoped ignores per rules.
phpcs.xml Adds canonical PHPCS ruleset configuration.
Makefile Updates targets to delegate to standardized Composer scripts and new report paths.
infection.json.dist Aligns Infection config and output paths with canonical rules.
composer.json Adds keywords and standardizes scripts to the canonical tiny-blocks set.
.gitignore Updates ignore list to canonical grouping and reports/ directory conventions.
.github/workflows/codeql.yml Adds workflow concurrency and timeout alignment.
.github/workflows/ci.yml Reworks CI into canonical 4-job pipeline with PHP version resolution from composer.json.
.github/workflows/auto-assign.yml Adds concurrency/timeout and renames job to a descriptive identifier.
.github/PULL_REQUEST_TEMPLATE.md Adds canonical PR template.
.github/ISSUE_TEMPLATE/feature_request.md Adds canonical feature request template.
.github/ISSUE_TEMPLATE/bug_report.md Adds canonical bug report template.
.github/copilot-instructions.md Updates Copilot guidance to reference .claude/ rule sources.
.gitattributes Updates export-ignore list to exclude dev-only artifacts like reports/ and caches.
.editorconfig Adds canonical max_line_length = 120.
.claude/rules/php-library-tooling.md Adds canonical tooling rulebook.
.claude/rules/php-library-testing.md Expands canonical testing rules (BDD, fixtures, coverage discipline).
.claude/rules/php-library-modeling.md Expands canonical modeling/nomenclature rules.
.claude/rules/php-library-github-workflows.md Adds canonical workflow structure and pinning rules.
.claude/rules/php-library-documentation.md Adds canonical README/Markdown documentation rules and templates.
.claude/rules/php-library-commits.md Adds canonical Conventional Commits guidance (when requested).
.claude/rules/php-library-code-style.md Adds canonical semantic code rules and formatting overrides.
.claude/rules/php-library-architecture.md Adds canonical folder layout and public API boundary rules.
.claude/rules/github-workflows.md Removes superseded workflow rule file in favor of the new canonical workflows ruleset.
.claude/CLAUDE.md Simplifies top-level guidance to point to the scoped rule files.

Comment thread composer.json
Comment thread src/Currency.php
Comment thread tests/CurrencyTest.php
@gustavofreze gustavofreze merged commit a1cd720 into main May 18, 2026
6 checks passed
@gustavofreze gustavofreze deleted the feature/develop branch May 18, 2026 19:00
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