Skip to content

Fix(Core): move command to 'plugins' namespace#1036

Merged
stonebuzz merged 1 commit into
mainfrom
fix_cli_command
Oct 13, 2025
Merged

Fix(Core): move command to 'plugins' namespace#1036
stonebuzz merged 1 commit into
mainfrom
fix_cli_command

Conversation

@stonebuzz

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

Prevent PHP warning

PHP User Warning (512): Plugin command `plugin:fields:check_database` must be moved in the `plugins:fields` namespace. at CommandLoader.php line 273 in ./src/Glpi/Console/CommandLoader.php at line 273
PHP User Warning (512): Plugin command `plugin:fields:regenerate_files` must be moved in the `plugins:fields` namespace. at CommandLoader.php line 273 in ./src/Glpi/Console/CommandLoader.php at line 273

Screenshots (if appropriate):

@stonebuzz stonebuzz requested a review from Rom1-B October 13, 2025 07:24
@stonebuzz stonebuzz self-assigned this Oct 13, 2025
@stonebuzz stonebuzz added the bug label Oct 13, 2025
@stonebuzz stonebuzz merged commit 2942f30 into main Oct 13, 2025
3 checks passed
@stonebuzz stonebuzz deleted the fix_cli_command branch October 13, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GLPI 11.0.1 issues PHP Warnings regarding fields plugin

2 participants