From 2a25e380555796f65d2f8476299efb6a8a75095b Mon Sep 17 00:00:00 2001 From: EA Inspections Team Date: Mon, 5 Jun 2023 14:42:53 +0200 Subject: [PATCH] Release: final tweaks 5.0.0.0 --- build.gradle.kts | 1 + gradle.properties | 6 ++--- src/main/resources/META-INF/change-notes.html | 25 ++++++++----------- src/main/resources/META-INF/plugin.xml | 2 +- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e92629fc60..e59a3d8158 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -73,6 +73,7 @@ tasks { sinceBuild.set(properties("pluginSinceBuild")) untilBuild.set(properties("pluginUntilBuild")) changeNotes.set(file("src/main/resources/META-INF/change-notes.html").readText().replace("", "").replace("", "")) + pluginDescription.set(file("src/main/resources/META-INF/description.html").readText().replace("", "").replace("", "")) // Get the latest available change notes from the changelog file // changeNotes.set(provider { diff --git a/gradle.properties b/gradle.properties index 44ba932f72..bdf6f1cfc1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,16 +10,16 @@ pluginVersion = 5.0.0.0 # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. # we are able to support a minimum version having at least "TwigElementTypes.ARRAY_LITERAL" -pluginSinceBuild = 223.6160.11 +pluginSinceBuild = 223.7571.4 pluginUntilBuild = # IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties platformType = IU -platformVersion = 2023.1.1 +platformVersion = 2022.3 # Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html # Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22 -platformPlugins = java,yaml,xpath,webDeployment,JavaScript,com.jetbrains.php:231.8770.68 +platformPlugins = java,yaml,xpath,webDeployment,JavaScript,com.jetbrains.php:223.7571.4 # Java language level used to compile sources and to generate the files for - Java 11 is required since 2020.3 javaVersion = 17 diff --git a/src/main/resources/META-INF/change-notes.html b/src/main/resources/META-INF/change-notes.html index 2c5f11d8e7..7fdda76b85 100644 --- a/src/main/resources/META-INF/change-notes.html +++ b/src/main/resources/META-INF/change-notes.html @@ -1,20 +1,17 @@ -Bug-fix and new features release:
+Compatibility release:

-- PhpStorm 2021.3 compatibility fixes
-- 'array_is_list(...)' can be used: implemented
-- 'empty(...)' usage: added new setting (suggest null comparison for scalars)
+- PhpStorm 2023.1.1+ compatibility fixes
+- Static closure can be used: new settings (Suggest for short functions)
+- Insecure 'extract(...)' usage (Variable extract Vulnerability): dropped
+- 'in_array(...)' misused: new settings (Use strict comparison only)

-- Callable parameter usage violates definition: resolved false-positives (multiple cases)
-- Cascading 'str_replace(...)' calls: multiple code generation bug-fixes
-- Class property initialization flaws: resolved false-positives (multiple cases)
-- Isset operations variables existence: fixed a false-positive (goto handling)
-- Non-optimal if conditions: resolved false-positives (multiple cases)
-- One-time use variables: resolved false-positives (multiple cases)
-- PHPUnit: API deprecations: address deprecations in PHPUnit 9.1
-- PHPUnit: bugs and best practices: address deprecations in PHPUnit 9.1
-- Referencing objects: resolved false-positives (multiple cases)
-- Unnecessary type casting: resolved a false-positive (string type handling)
+- JSON encoding API usage: resolved a false-positive (JSON_PARTIAL_OUTPUT_ON_ERROR).
+- Traits properties conflicts resolution: resolved false-positives (multiple cases)
+- Type unsafe comparison: resolved a false-positives (multiple cases).
+- Unnecessary semicolon: resolved a false-positive (valid html-injections).
+- Unused constructor dependencies: resolved a false-positive (multi-resolve issue). +- 'compact(...)' can be used: resolved false-positives (array destructing)


\ No newline at end of file diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index c40e13ecde..3c834cae3c 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -8,7 +8,7 @@ com.intellij.modules.platform - +