The Upgrade Compatibility Tool project Run Configuration feature #625
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description (*)
This PR contains a new feature in the plugin. It is a GUI for the Upgrade Compatibility Tool.
The UCT run configuration provides the ability to configure UCT installed for the project via composer. If the UCT was installed separately (outside the project), a such UCT executable can also be chosen in the dedicated run configuration. In the case of the UCT isn't found in the current project, there is a message that informs about that and also link that provides the ability to install the UCT for the current project. Be aware, that the UCT is an Adobe Commerce feature, so to install it you should have your Adobe Commerce license key.
The UCT run configuration template can be found in the
Run/Debug configurations dialog -> Add New Configuration -> Upgrade Compatibility Tool
:The UCT run configuration template has the next view:
There are the main components of the configuration template:
bin/uct
from the UCT source root directory, required fieldAfter the run configuration template is configured it can be used to easily run the tool via a single click whenever needed.
The UCT installation for the current project (if composer wasn't authenticated with the Adobe Commerce repository):
The composer asks the auth keys if they couldn’t be found, for more information read the official documentation.
After providing it with your auth keys you will get the same output as for the authenticated users:
To run the UCT click on the
Run 'UCT Run'
green button:The results of UCT execution is displayed in the console including handy navigation to the compatibility issues in the code.
The output of the tool is displayed in the PHPStorm console with the ability to click on the references to:
Contribution checklist (*)