Added Magento-specific MCP tools and support classes. #2155
gradle.yml
on: pull_request
build-linux
12m 59s
build-windows
19m 56s
build-macos
17m 41s
static-tests
6m 58s
Annotations
3 errors, 15 warnings, and 9 notices
|
static-tests
/data/cache/gradle/kotlin-profile
|
|
static-tests
/data/cache/gradle/kotlin-profile
|
|
build-windows
Process completed with exit code 1.
|
|
static-tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-java@v4, JetBrains/qodana-action@v2024.2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
static-tests
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
|
|
Constant conditions:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoModuleCommands.kt#L279
Condition 'virtualFile != null' is always true
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/actions/generation/generator/util/DirectoryGenerator.java#L88
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/util/GetPhpClassByFQN.java#L27
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/actions/generation/generator/PhpFileGenerator.java#L71
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/indexes/ModuleIndex.java#L81
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/actions/generation/generator/util/DirectoryGenerator.java#L67
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/actions/generation/generator/PhpFileGenerator.java#L81
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/indexes/ModuleIndex.java#L125
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
Deprecated API usage:
src/main/java/com/magento/idea/magento2plugin/actions/generation/generator/util/DirectoryGenerator.java#L97
'compute(com.intellij.openapi.util.@org.jetbrains.annotations.NotNull ThrowableComputable)' is deprecated
|
|
static-tests
Failed to restore: Cache service responded with 400
|
|
build-linux
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/setup-java@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build-macos
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/setup-java@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
build-windows
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/setup-java@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Accessor call that can be replaced with property access syntax:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoEntityCrudCommands.kt#L127
Use of setter method instead of property access syntax
|
|
Accessor call that can be replaced with property access syntax:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoEntityCrudCommands.kt#L107
Use of setter method instead of property access syntax
|
|
Unnecessary local variable:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoEntityCrudCommands.kt#L180
Variable is same as 'derivedAclId' and can be inlined
|
|
Unnecessary local variable:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoEntityCrudCommands.kt#L174
Variable is same as 'snakeCaseName' and can be inlined
|
|
Unnecessary local variable:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoEntityCrudCommands.kt#L181
Variable is same as 'derivedAclTitle' and can be inlined
|
|
|
|
Class member can have 'private' visibility:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoMcpCreateSupport.kt#L119
Function 'buildModuleNamespace' could be private
|
|
'when' that can be simplified by introducing an argument:
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoMcpSupport.kt#L104
'when' with subject should be used
|
|
If-Null return/break/... foldable to '?:':
src/main/kotlin/com/magento/idea/magento2plugin/mcp/MagentoMcpSupport.kt#L128
If-Null return/break/... foldable to '?:'
|