Skip to content

chore: migrate to yii2-extensions/scaffold consumer model with php-forge/baseline and php-forge/coding-standard ^0.3@dev.#96

Merged
terabytesoftw merged 2 commits into
mainfrom
fix_mini_35
May 18, 2026
Merged

chore: migrate to yii2-extensions/scaffold consumer model with php-forge/baseline and php-forge/coding-standard ^0.3@dev.#96
terabytesoftw merged 2 commits into
mainfrom
fix_mini_35

Conversation

@terabytesoftw
Copy link
Copy Markdown
Contributor

Pull Request

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bugfix (non-breaking change that fixes an issue)
  • CI/build configuration
  • Documentation update
  • New feature (non-breaking change that adds functionality)
  • Refactoring (no functional changes)

…-forge/baseline` and `php-forge/coding-standard ^0.3@dev`.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Review Change Stack

Warning

Rate limit exceeded

@terabytesoftw has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 53 minutes and 47 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5a1fb9b0-cb3a-4363-9f89-659dbc5d2f26

📥 Commits

Reviewing files that changed from the base of the PR and between 174ad5a and c0310cc.

📒 Files selected for processing (2)
  • .github/linters/.codespellrc
  • src/Exception/Message.php
📝 Walkthrough

Walkthrough

This PR comprehensively migrates the project to use the yii2-extensions/scaffold consumer model, updates coding-standard dependencies and configuration, and establishes a standardized linter and formatter toolchain with corresponding VCS and editor configuration.

Changes

Scaffold-based tooling and dependency migration

Layer / File(s) Summary
Composer scaffold plugin and dependencies
composer.json, composer-require-checker.json, scaffold-lock.json
composer.json adds php-forge/baseline and yii2-extensions/scaffold to dev dependencies, upgrades php-forge/coding-standard to ^0.3@dev, bumps infection/infection to ^0.33, and registers the scaffold plugin via extra.scaffold.allowed-packages and config.allow-plugins. A new composer-require-checker.json with symbol whitelist and scaffold-lock.json lock artifact are introduced.
Coding standards and linter tools
ecs.php, rector.php, .github/linters/*
ecs.php and rector.php update vendor config paths to src/ecs-83.php and src/rector-83.php. New linter configurations are added: .editorconfig-checker.json excludes runtime/test/vendor artifacts, .gitleaks.toml enables default rules with test-fixture allowlist, .markdown-lint.yml configures indentation and disables specific rules, and .codespellrc expands skip patterns for build/dependency artifacts.
Editor and formatter configuration
.editorconfig, .prettierrc.json, .prettierignore, .stylelintignore
.editorconfig extends rules for SCSS, CSS, package files, and dist assets. .prettierrc.json is introduced with 4-space defaults and file-glob overrides. .prettierignore populates patterns for minified, built, test runtime, and config artifacts. .stylelintignore ignores minified CSS.
Git and workflow configuration
.gitattributes, .gitignore, .github/workflows/ecs.yml
.gitattributes relocates the CHANGELOG merge-union directive and removes psalm.xml export-ignore. .gitignore adds AI-agent directories, phpunit.xml, PHPStorm, and PHPActor patterns; removes package-lock.json from an earlier section. .github/workflows/ecs.yml removes explicit php-version input to the reusable workflow.
Changelog documentation
CHANGELOG.md
Entry added for v0.6.2 documenting migration to yii2-extensions/scaffold consumer model and dependency tooling updates.

🎯 3 (Moderate) | ⏱️ ~20 minutes


🐰 A scaffold so grand, now planted with care,
With linters and formats all aligned in the air,
New standards and baselines in harmony bound,
The build is now organized, perfectly sound!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main changes: migrating to yii2-extensions/scaffold consumer model and adopting php-forge/baseline and php-forge/coding-standard ^0.3@dev, which are reflected throughout the changeset.
Description check ✅ Passed The description relates to the changeset by identifying it as a refactoring (no functional changes), which aligns with the dependency updates and configuration file additions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix_mini_35

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@terabytesoftw terabytesoftw merged commit 179c1cc into main May 18, 2026
39 checks passed
@terabytesoftw terabytesoftw deleted the fix_mini_35 branch May 18, 2026 22:59
@terabytesoftw terabytesoftw added the bug Something isn't working label May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant