Skip to content
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

2490 remove usages of scheduled for removal api #2495

Conversation

vitaliyboykocontributor
Copy link
Contributor

Description (*)

Fixed Issues (if relevant)

  1. Fixes Remove usages of scheduled for removal API #2490

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

Refactor code to remove usage of the SlowOperations API for resolving references and retrieving data, improving performance and aligning with the latest IntelliJ guidelines. Additionally, deprecated methods and hardcoded Magento directory prompts were removed, and notification handling was updated to use modern APIs.
This release updates the plugin to version 2025.0.1 and includes a fix for compatibility with the 2025.* PhpStorm build range. Minor adjustments to plugin documentation and formatting were also applied for improved clarity and presentation.
Corrected the changelog to clarify compatibility with PhpStorm/IntelliJ 2025.* builds. This ensures the documentation accurately reflects the scope of the fix.
Streamlined retrieval of module names and their associated files by consolidating logic into `FileBasedIndex` queries. Removed deprecated utility method usages, reducing unnecessary complexity and improving maintainability.
Updated dialog action methods from `onOK` to `onWriteActionOK` and ensured execution through a centralized `executeOnOk` method. This improves thread safety by enforcing operations within the IDE's `WriteAction` context. Also added handling for exceptions during execution and support for dumb mode in `NewModuleFileGroup`.
Acknowledgment text for sponsors was added to the README file. This change highlights support from Lucas van Staden and Ivan Chepurnyi. It enhances transparency and gratitude towards contributors.
Updated constructors in `NewSetupDataPatchDialog` and `NewLayoutTemplateDialog` with detailed Javadoc comments. These updates provide clarity on their purpose, parameters, and behaviors, improving code readability and maintainability.
Removed redundant and overly verbose Javadoc comments in `NewSetupDataPatchDialog` and `NewLayoutTemplateDialog`. Simplified and clarified descriptions to enhance readability and maintain consistency.
Replaced inline lambdas with method references for cleaner code, added `NOPMD` annotations to suppress redundant warnings, and improved transient field usage for serialization safety. Extracted logic for module name retrieval into a reusable method for modularity and reduced code duplication.
Reused `FileBasedIndex` instance to enhance readability and performance by avoiding redundant calls. Also, fixed import order to follow code style conventions.
Added //NOPMD comments to suppress PMD warnings on JLabel fields. Updated method signatures to use final for consistency and improved readability.
@VitaliyBoyko VitaliyBoyko merged commit b0a87e7 into magento:5.4.0-develop Feb 22, 2025
5 checks passed
@VitaliyBoyko VitaliyBoyko deleted the 2490-Remove-usages-of-scheduled-for-removal-API branch February 22, 2025 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Remove usages of scheduled for removal API
3 participants