Skip to content

Fix: align lint tooling with GLPI plugin baselines - #34

Merged
MyvTsv merged 1 commit into
mainfrom
fix_lint
Nov 10, 2026
Merged

MyvTsv merged 1 commit into
mainfrom
fix_lint

Conversation

@Rom1-B

@Rom1-B Rom1-B commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes #N/A
  • php-cs-fixer and rector now load the shared plugin baselines shipped by the GLPI checkout, so the plugin follows the same coding rules as core and other plugins.
  • Rector now also covers ajax/ and front/, and the codebase is reformatted accordingly (sorted imports, redundant annotations removed).
  • The test bootstrap loads the plugin autoloader and resolves the plugin name from its folder, and PHPUnit declares its source directory for coverage.

Screenshots (if appropriate):

@Rom1-B
Rom1-B requested review from a team, Lainow, MyvTsv and RomainLvr and removed request for a team November 10, 2026 08:15
@MyvTsv
MyvTsv merged commit dc6dc35 into main Nov 10, 2026
7 checks passed
@MyvTsv
MyvTsv deleted the fix_lint branch November 10, 2026 11:00
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