Skip to content

chore: add Mago lint, analyze, guard and format checks - #866

Draft
xepozz wants to merge 2 commits into
masterfrom
feature/mago-integration-checks-a9e275
Draft

xepozz wants to merge 2 commits into
masterfrom
feature/mago-integration-checks-a9e275

Conversation

@xepozz

@xepozz xepozz commented Nov 29, 2026

Copy link
Copy Markdown
Collaborator

What was changed

Add Mago 1.61 (mago.toml, lint/analyze/guard baselines, composer mago:* scripts, non-blocking CI job).

Why?

Mago finds bugs Psalm misses and guards runtime code against undeclared dependencies.

Checklist

  1. Closes

  2. How was this tested:
    composer mago:lint, mago:analyze, mago:guard pass on baselines; unit and arch tests pass.

  3. Any docs updates needed?

CONTRIBUTING.md updated.

Add carthage-software/mago ^1.61.0 with mago.toml, baselines for lint,
analyze and guard, composer scripts and a non-blocking CI job.
Raise the method, property, parameter, complexity, Halstead and Kan thresholds.
Exclude the generated gRPC clients from too-many-methods. Lint baseline: 653 -> 484.

This branch has not been deployed

No deployments
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.

1 participant