Enhance documentation and add scripts for composer.json.#290
Merged
terabytesoftw merged 6 commits intoyiisoft:masterfrom Mar 5, 2026
Merged
Enhance documentation and add scripts for composer.json.#290terabytesoftw merged 6 commits intoyiisoft:masterfrom
composer.json.#290terabytesoftw merged 6 commits intoyiisoft:masterfrom
Conversation
Member
terabytesoftw
commented
Mar 4, 2026
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Tests pass? | ❌ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #290 +/- ##
=========================================
Coverage 80.88% 80.88%
Complexity 368 368
=========================================
Files 10 10
Lines 905 905
=========================================
Hits 732 732
Misses 173 173 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates local validation tooling configuration (Composer scripts + PHPCS config), adds an “Internals” guide page describing those scripts, and adjusts static-analysis baselines and CI linter workflow settings accordingly.
Changes:
- Update
composer.jsonscripts to rely onphpcs.xml.distfor the directories/files to scan. - Add
docs/guide/internals.mdand link it from the guide README; reorganize top-level README documentation/license sections. - Add a new PHPStan baseline suppression for
src/ActiveQuery.phpand adjust the linter workflow inputs.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
composer.json |
Simplifies cs/cs-fix scripts to call PHPCS/PHPCBF without explicit paths. |
phpcs.xml.dist |
Adds <file> entries for src and tests to define scan targets in config. |
docs/guide/internals.md |
New guide page documenting Composer scripts for CS/static/tests. |
docs/guide/README.md |
Adds “Contributing” section linking to the new internals guide page. |
README.md |
Removes scattered doc/license pointers and replaces with a single guide link + license section. |
phpstan-baseline.neon |
Adds a suppression for a new PHPStan finding in src/ActiveQuery.php. |
.github/workflows/linter.yml |
Removes the directories input passed to the shared linter workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
samdark
approved these changes
Mar 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.