Skip to content

Enhance documentation and add scripts for composer.json.#290

Merged
terabytesoftw merged 6 commits intoyiisoft:masterfrom
terabytesoftw:fix_mini_2
Mar 5, 2026
Merged

Enhance documentation and add scripts for composer.json.#290
terabytesoftw merged 6 commits intoyiisoft:masterfrom
terabytesoftw:fix_mini_2

Conversation

@terabytesoftw
Copy link
Copy Markdown
Member

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Tests pass?

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.88%. Comparing base (c9e8355) to head (f85611f).
⚠️ Report is 2 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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 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.json scripts to rely on phpcs.xml.dist for the directories/files to scan.
  • Add docs/guide/internals.md and link it from the guide README; reorganize top-level README documentation/license sections.
  • Add a new PHPStan baseline suppression for src/ActiveQuery.php and 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.

@terabytesoftw terabytesoftw added the status:code review The pull request needs review. label Mar 5, 2026
@terabytesoftw terabytesoftw merged commit 8739841 into yiisoft:master Mar 5, 2026
11 checks passed
@terabytesoftw terabytesoftw deleted the fix_mini_2 branch March 5, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:code review The pull request needs review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants