-
-
Notifications
You must be signed in to change notification settings - Fork 3
add default command #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR simplifies the application by migrating from Joomla Console to Symfony Console and implements a default command feature that eliminates the need to specify the command name when running the CLI script.
Key Changes:
- Removed Joomla framework dependencies (joomla/console, joomla/application, joomla/event, joomla/filter, joomla/language, joomla/registry, joomla/string, joomla/utilities)
- Upgraded Symfony Console from v7.4.1 to v8.0.1 and Symfony Dotenv from v7.4.0 to v8.0.0
- Set
github-pr-commentsas the default command, allowing users to run the script without specifying the command name
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| composer.json | Updated dependencies to remove Joomla packages and allow Symfony v7 or v8; simplified package description |
| composer.lock | Reflects removal of Joomla packages and upgrade to Symfony v8 packages with updated content hash |
| cli/github-pr-comments.php | Migrated from Joomla Console to Symfony Console; refactored command class to extend Symfony's Command class and use configure()/execute() pattern; added default command configuration |
| README.md | Updated all command examples to remove the explicit command name, reflecting the new default command behavior |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Reduction to a default command