Skip to content

Follow core's provider namespace and test kit - #5

Merged
imanimanyara merged 4 commits into
mainfrom
refactor/core-reaudit-follow-up
Nov 5, 2026
Merged

imanimanyara merged 4 commits into
mainfrom
refactor/core-reaudit-follow-up

Conversation

@imanimanyara

Copy link
Copy Markdown
Contributor

Summary

Follows ichava/core#172 and #173, one commit per concern.

  • Core's provider namespace (core C-07): the pack imports Simtabi\Laranail\Ichava\Providers\IconPackServiceProvider. The old Support\ name has no alias, so this is required for the pack to boot against core's main.
  • Core's test kit (P-03, P-04): tests/TestCase.php extends Testing\PackTestCase, and the core-only dependency, PHPStan level, sibling constraint, sync caller, workflow permission, stray-text and SVG-policy tests call Testing\PackConformance with their names unchanged. Each rule is tested passing and failing in core.
  • Hygiene, where it applied: SECURITY.md (P-09), a .gitattributes rule keeping hashed licence files byte-stable (P-11), sorted require-dev (P-14), a CI note on why core's dev-main alias is needed until the re-squash (P-01), an accurate sync-upstream comment (P-02), the organisation Code of Conduct link and corrected counts and comments (P-07).

No tag; floors move at the re-squash.

Verification

Locally against core main (composer require "ichava/core:dev-main as 0.1.99", composer.json restored): vendor/bin/pest, vendor/bin/phpstan analyse --debug and composer pint all pass.

Core moved the pack base provider to Providers\IconPackServiceProvider
with no alias at the old name (core C-07, ichava/core#172).
TestCase extends core's Testing\PackTestCase, and the core-only
dependency, PHPStan level, sibling constraint, sync caller, workflow
permission, stray-text and SVG-policy tests call Testing\PackConformance,
keeping their names (P-03, P-04). The copies of each rule's body are gone;
core tests each rule passing and failing.
Each where it applied: SECURITY.md rendered from the scaffolder stub
(P-09); .gitattributes keeps the hashed licence files byte-stable (P-11);
require-dev sorted (P-14); the CI comment says why core's dev-main alias is
needed until the re-squash (P-01), and sync-upstream no longer claims
Packagist lists the tag (P-02); CONTRIBUTING links the organisation's Code
of Conduct, and counts and stale comments match the repository (P-07).
Copilot AI balanced review requested due to automatic review settings November 5, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@imanimanyara
imanimanyara merged commit e4b2550 into main Nov 5, 2026
10 checks passed
@imanimanyara
imanimanyara deleted the refactor/core-reaudit-follow-up branch November 6, 2026 00:25
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