-
-
Notifications
You must be signed in to change notification settings - Fork 0
[Junie]: feat(settings): disable composer sync when enabling Moodle framework #185
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?
[Junie]: feat(settings): disable composer sync when enabling Moodle framework #185
Conversation
The solution implements automatic disabling of the PHP Composer "Synchronize IDE settings with composer.json" setting when the Moodle framework is enabled. It uses reflection to interact with the PHP Composer settings service and updates the plugin version to 2.2.1. The changes were integrated into MoodleSettingsForm.apply() and documented without user-visible UI alterations.
|
@jetbrains-junie please add relevant unittest and ui tests |
|
Hey, it’s Junie by JetBrains! I started processing your request 🚀 |
…able Unit and UI tests were added to verify disabling Composer sync when enabling Moodle framework. A test double for Composer settings and new tests validate behavior hermetically without real dependencies. The changelog was updated; test runs timed out in the current environment but compile successfully.
✅ The execution was successful
More information: |
Qodana Community for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
|
@jetbrains-junie |
|
Hey, it’s Junie by JetBrains! I started processing your request 🚀 |
The Composer sync toggle was fixed to reliably disable "Synchronize IDE settings with composer.json" when enabling the Moodle framework. The code was improved to handle both project-level and application-level Composer settings via reflection. Unit tests were updated, and verification steps were provided.
✅ The execution was successful
More information: |
|
@jetbrains-junie find programable why to change to when the Moodle framework enable . Please write the relevant testing and UI testing to validate the functoinality |
|
Hey, it’s Junie by JetBrains! I started processing your request 🚀 |
The solution implements a robust method to disable PHP Composer synchronization when the Moodle framework is enabled, using reflection to handle multiple plugin versions. Unit and UI tests were added to verify disabling Composer sync functionality and idempotency. The changes avoid hard dependencies on PHP plugin APIs and support real environment persistence without user interface changes.
✅ The execution was successful
More information: |
📌 Hey! This PR was made for you with Junie, the coding agent by JetBrains Early Access Preview
It's still learning, developing, and might make mistakes. Please make sure you review the changes before you accept them.
We'd love your feedback — join our Discord to share bugs, ideas: here.
📊 Junie Summary
The solution implements automatic disabling of the PHP Composer "Synchronize IDE settings with composer.json" setting when the Moodle framework is enabled. It uses reflection to interact with the PHP Composer settings service and updates the plugin version to 2.2.1. The changes were integrated into MoodleSettingsForm.apply() and documented without user-visible UI alterations.