Skip to content

chore: add mago lint and analysis baselines - #12

Merged
tyrsson merged 1 commit into
0.1.xfrom
chore/mago-baselines
Oct 3, 2026
Merged

tyrsson merged 1 commit into
0.1.xfrom
chore/mago-baselines

Conversation

@tyrsson

@tyrsson tyrsson commented Oct 3, 2026

Copy link
Copy Markdown
Member

Stacked on #11 (base is its branch; GitHub retargets to 0.1.x when #11 merges).

Generated with mago lint --generate-baseline and mago analyze --generate-baseline, and wired in through baseline under [linter] and [analyzer] in mago.toml.

  • lint-baseline.toml: empty (issues = []); lint reports nothing.
  • analysis-baseline.toml: the 6 existing findings, all in src/Options.php (redundant null coalesce, redundant &&, an always-true match arm and its unreachable default).

Verified: mago format --check, mago lint and mago analyze exit 0 under MAGO_PHP_VERSION 8.3, 8.4 and 8.5; composer test passes. Nothing in src or test changes.

Signed-off-by: Joey Smith <jsmith@webinertia.net>
@tyrsson tyrsson self-assigned this Oct 3, 2026
Base automatically changed from fix/falsy-no-row to 0.1.x October 3, 2026 13:14
@tyrsson
tyrsson merged commit 3fcb6cf into 0.1.x Oct 3, 2026
18 checks passed
@tyrsson
tyrsson deleted the chore/mago-baselines branch October 3, 2026 13:14
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