Skip to content

Commit 0c225ab

Browse files
version 1.2.19 for PhpStorm 2025.3 (#81)
1 parent d55fd99 commit 0c225ab

12 files changed

Lines changed: 84 additions & 83 deletions

.github/workflows/build.yml

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727

2828
# Check out the current repository
2929
- name: Fetch Sources
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131

3232
# Set up the Java environment for the next steps
3333
- name: Setup Java
34-
uses: actions/setup-java@v4
34+
uses: actions/setup-java@v5
3535
with:
3636
distribution: zulu
3737
java-version: 21
3838

3939
# Setup Gradle
4040
- name: Setup Gradle
41-
uses: gradle/actions/setup-gradle@v4
41+
uses: gradle/actions/setup-gradle@v5
4242

4343
# Build plugin
4444
- name: Build plugin
@@ -68,18 +68,18 @@ jobs:
6868

6969
# Check out the current repository
7070
- name: Fetch Sources
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v5
7272

7373
# Set up the Java environment for the next steps
7474
- name: Setup Java
75-
uses: actions/setup-java@v4
75+
uses: actions/setup-java@v5
7676
with:
7777
distribution: zulu
7878
java-version: 21
7979

8080
# Setup Gradle
8181
- name: Setup Gradle
82-
uses: gradle/actions/setup-gradle@v4
82+
uses: gradle/actions/setup-gradle@v5
8383
with:
8484
cache-read-only: true
8585

@@ -90,56 +90,56 @@ jobs:
9090
# Collect Tests Result of failed tests
9191
- name: Collect Tests Result
9292
if: ${{ failure() }}
93-
uses: actions/upload-artifact@v4
93+
uses: actions/upload-artifact@v5
9494
with:
9595
name: tests-result-${{ matrix.os }}
9696
path: ${{ github.workspace }}/build/reports/tests
9797

9898
# Run Qodana inspections and provide a report
9999
inspectCode:
100-
name: Inspect code
101-
needs: [ build ]
102-
runs-on: ubuntu-latest
103-
if: github.event_name == 'pull_request'
104-
105-
permissions:
106-
contents: write
107-
checks: write
108-
pull-requests: write
109-
steps:
110-
111-
# Free GitHub Actions Environment Disk Space
112-
- name: Maximize Build Space
113-
uses: jlumbroso/free-disk-space@v1.3.1
114-
with:
115-
tool-cache: false
116-
large-packages: false
117-
118-
# Check out the current repository
119-
- name: Fetch Sources
120-
uses: actions/checkout@v4
121-
with:
122-
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
123-
fetch-depth: 0 # a full history is required for pull request analysis
124-
125-
# Set up the Java environment for the next steps
126-
- name: Setup Java
127-
uses: actions/setup-java@v4
128-
with:
129-
distribution: zulu
130-
java-version: 21
131-
132-
# Run Qodana inspections
133-
- name: Qodana - Code Inspection
134-
uses: JetBrains/qodana-action@v2025.1.1
135-
with:
136-
args: --baseline,./.qodana/baseline.sarif.json
137-
cache-default-branch-only: true
138-
139-
- name: Qodana - Publish Results
140-
uses: github/codeql-action/upload-sarif@v3
141-
with:
142-
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
100+
name: Inspect code
101+
needs: [ build ]
102+
runs-on: ubuntu-latest
103+
if: github.event_name == 'pull_request'
104+
105+
permissions:
106+
contents: write
107+
checks: write
108+
pull-requests: write
109+
steps:
110+
111+
# Free GitHub Actions Environment Disk Space
112+
- name: Maximize Build Space
113+
uses: jlumbroso/free-disk-space@v1.3.1
114+
with:
115+
tool-cache: false
116+
large-packages: false
117+
118+
# Check out the current repository
119+
- name: Fetch Sources
120+
uses: actions/checkout@v5
121+
with:
122+
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
123+
fetch-depth: 0 # a full history is required for pull request analysis
124+
125+
# Set up the Java environment for the next steps
126+
- name: Setup Java
127+
uses: actions/setup-java@v5
128+
with:
129+
distribution: zulu
130+
java-version: 21
131+
132+
# Run Qodana inspections
133+
- name: Qodana - Code Inspection
134+
uses: JetBrains/qodana-action@v2025.1.1
135+
with:
136+
args: --baseline,./.qodana/baseline.sarif.json
137+
cache-default-branch-only: true
138+
139+
- name: Qodana - Publish Results
140+
uses: github/codeql-action/upload-sarif@v3
141+
with:
142+
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
143143

144144
# Run plugin structure verification along with IntelliJ Plugin Verifier
145145
verify:
@@ -157,18 +157,18 @@ jobs:
157157

158158
# Check out the current repository
159159
- name: Fetch Sources
160-
uses: actions/checkout@v4
160+
uses: actions/checkout@v5
161161

162162
# Set up the Java environment for the next steps
163163
- name: Setup Java
164-
uses: actions/setup-java@v4
164+
uses: actions/setup-java@v5
165165
with:
166166
distribution: zulu
167167
java-version: 21
168168

169169
# Setup Gradle
170170
- name: Setup Gradle
171-
uses: gradle/actions/setup-gradle@v4
171+
uses: gradle/actions/setup-gradle@v5
172172
with:
173173
cache-read-only: true
174174

@@ -179,7 +179,7 @@ jobs:
179179
# Collect Plugin Verifier Result
180180
- name: Collect Plugin Verifier Result
181181
if: ${{ always() }}
182-
uses: actions/upload-artifact@v4
182+
uses: actions/upload-artifact@v5
183183
with:
184184
name: pluginVerifier-result
185185
path: ${{ github.workspace }}/build/reports/pluginVerifier

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Release
22
on:
33
release:
4-
types: [released]
4+
types: [ released ]
5+
56
jobs:
67

78
# Prepare and publish the GitHub releases
@@ -22,20 +23,20 @@ jobs:
2223

2324
# Check out the current repository
2425
- name: Fetch Sources
25-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2627
with:
2728
ref: ${{ github.event.release.tag_name }}
2829

2930
# Set up the Java environment for the next steps
3031
- name: Setup Java
31-
uses: actions/setup-java@v4
32+
uses: actions/setup-java@v5
3233
with:
3334
distribution: zulu
3435
java-version: 21
3536

3637
# Setup Gradle
3738
- name: Setup Gradle
38-
uses: gradle/actions/setup-gradle@v4
39+
uses: gradle/actions/setup-gradle@v5
3940
with:
4041
cache-read-only: true
4142

.run/Run Plugin.run.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</option>
1717
<option name="vmOptions" value="" />
1818
</ExternalSystemSettings>
19-
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
19+
<ExternalSystemDebugServerProcess>false</ExternalSystemDebugServerProcess>
2020
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
2121
<DebugAllEnabled>false</DebugAllEnabled>
2222
<RunAsTest>false</RunAsTest>

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
## [1.2.19] - 24.12.2025
6+
7+
- Adapt code for PhpStorm 2025.3
8+
59
## [1.2.18] - 06.08.2025
610

711
- Adapt code for PhpStorm 2025.2

build.gradle.kts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ plugins {
66
alias(libs.plugins.kotlin) // Kotlin support
77
alias(libs.plugins.intelliJPlatform) // IntelliJ Platform Gradle Plugin
88
alias(libs.plugins.changelog) // Gradle Changelog Plugin
9-
alias(libs.plugins.qodana) // Gradle Qodana Plugin
109
alias(libs.plugins.kover) // Gradle Kover Plugin
1110
}
1211

@@ -28,21 +27,24 @@ repositories {
2827
}
2928
}
3029

31-
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog
30+
// Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/version_catalogs.html
3231
dependencies {
3332
testImplementation(libs.junit)
3433
testImplementation(libs.opentest4j)
3534

3635
// IntelliJ Platform Gradle Plugin Dependencies Extension - read more: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-dependencies-extension.html
3736
intellijPlatform {
38-
create(providers.gradleProperty("platformType"), providers.gradleProperty("platformVersion"))
37+
phpstorm(providers.gradleProperty("platformVersion"))
3938

4039
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
4140
bundledPlugins(providers.gradleProperty("platformBundledPlugins").map { it.split(',') })
4241

4342
// Plugin Dependencies. Uses `platformPlugins` property from the gradle.properties file for plugin from JetBrains Marketplace.
4443
plugins(providers.gradleProperty("platformPlugins").map { it.split(',') })
4544

45+
// Module Dependencies. Uses `platformBundledModules` property from the gradle.properties file for bundled IntelliJ Platform modules.
46+
bundledModules(providers.gradleProperty("platformBundledModules").map { it.split(',') })
47+
4648
testFramework(TestFrameworkType.Platform)
4749
}
4850
}
@@ -68,7 +70,6 @@ intellijPlatform {
6870

6971
ideaVersion {
7072
sinceBuild = providers.gradleProperty("pluginSinceBuild")
71-
untilBuild = providers.gradleProperty("pluginUntilBuild")
7273
}
7374
}
7475

@@ -87,7 +88,7 @@ changelog {
8788
repositoryUrl = providers.gradleProperty("pluginRepositoryUrl")
8889
}
8990

90-
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
91+
// Configure Gradle Kover Plugin - read more: https://kotlin.github.io/kotlinx-kover/gradle-plugin/#configuration-details
9192
kover {
9293
reports {
9394
total {

gradle.properties

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,26 @@
33
pluginGroup = com.vk
44
pluginName = kphpstorm
55
pluginRepositoryUrl = https://github.com/VKCOM/kphpstorm
6+
67
# SemVer format -> https://semver.org
7-
pluginVersion = 1.2.18
8+
pluginVersion = 1.2.19
89

910
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
10-
pluginSinceBuild = 252
11-
pluginUntilBuild = 252.*
11+
pluginSinceBuild = 253
1212

1313
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
14-
platformType = PS
15-
platformVersion = 2025.2
14+
platformVersion = 2025.3
1615

1716
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1817
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP
1918
platformPlugins =
2019
# Example: platformBundledPlugins = com.intellij.java
2120
platformBundledPlugins = com.jetbrains.php
21+
# Example: platformBundledModules = intellij.spellchecker
22+
platformBundledModules =
2223

2324
# Gradle Releases -> https://github.com/gradle/gradle/releases
24-
gradleVersion = 9.0.0
25+
gradleVersion = 9.2.1
2526

2627
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
2728
kotlin.stdlib.default.dependency = false

gradle/libs.versions.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ junit = "4.13.2"
44
opentest4j = "1.3.0"
55

66
# plugins
7-
changelog = "2.4.0"
8-
intelliJPlatform = "2.7.0"
9-
kotlin = "2.2.0"
10-
kover = "0.9.1"
11-
qodana = "2025.1.1"
7+
changelog = "2.5.0"
8+
intelliJPlatform = "2.10.5"
9+
kotlin = "2.2.21"
10+
kover = "0.9.3"
1211

1312
[libraries]
1413
junit = { group = "junit", name = "junit", version.ref = "junit" }
@@ -19,4 +18,3 @@ changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
1918
intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" }
2019
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
2120
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
22-
qodana = { id = "org.jetbrains.qodana", version.ref = "qodana" }

gradle/wrapper/gradle-wrapper.jar

176 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)