Skip to content

Commit 39f92cc

Browse files
committed
version 1.1.12 for PhpStorm 2025.3
1 parent 8d31f7d commit 39f92cc

File tree

17 files changed

+101
-99
lines changed

17 files changed

+101
-99
lines changed

.github/workflows/build.yml

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -27,69 +27,23 @@ 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
4545
run: ./gradlew buildPlugin
4646

47-
# Run Qodana inspections and provide a report
48-
inspectCode:
49-
name: Inspect code
50-
needs: [ build ]
51-
runs-on: ubuntu-latest
52-
if: github.event_name == 'pull_request'
53-
54-
permissions:
55-
contents: write
56-
checks: write
57-
pull-requests: write
58-
steps:
59-
60-
# Free GitHub Actions Environment Disk Space
61-
- name: Maximize Build Space
62-
uses: jlumbroso/[email protected]
63-
with:
64-
tool-cache: false
65-
large-packages: false
66-
67-
# Check out the current repository
68-
- name: Fetch Sources
69-
uses: actions/checkout@v4
70-
with:
71-
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
72-
fetch-depth: 0 # a full history is required for pull request analysis
73-
74-
# Set up the Java environment for the next steps
75-
- name: Setup Java
76-
uses: actions/setup-java@v4
77-
with:
78-
distribution: zulu
79-
java-version: 21
80-
81-
# Run Qodana inspections
82-
- name: Qodana - Code Inspection
83-
uses: JetBrains/[email protected]
84-
with:
85-
args: --baseline,./.qodana/baseline.sarif.json
86-
cache-default-branch-only: true
87-
88-
- name: Qodana - Publish Results
89-
uses: github/codeql-action/upload-sarif@v3
90-
with:
91-
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
92-
9347
# Run tests and upload a code coverage report
9448
test:
9549
name: Test (${{ matrix.os }})
@@ -113,18 +67,18 @@ jobs:
11367

11468
# Check out the current repository
11569
- name: Fetch Sources
116-
uses: actions/checkout@v4
70+
uses: actions/checkout@v5
11771

11872
# Set up the Java environment for the next steps
11973
- name: Setup Java
120-
uses: actions/setup-java@v4
74+
uses: actions/setup-java@v5
12175
with:
12276
distribution: zulu
12377
java-version: 21
12478

12579
# Setup Gradle
12680
- name: Setup Gradle
127-
uses: gradle/actions/setup-gradle@v4
81+
uses: gradle/actions/setup-gradle@v5
12882
with:
12983
cache-read-only: true
13084

@@ -135,11 +89,57 @@ jobs:
13589
# Collect Tests Result of failed tests
13690
- name: Collect Tests Result
13791
if: ${{ failure() }}
138-
uses: actions/upload-artifact@v4
92+
uses: actions/upload-artifact@v5
13993
with:
14094
name: tests-result-${{ matrix.os }}
14195
path: ${{ github.workspace }}/build/reports/tests
14296

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

157157
# Check out the current repository
158158
- name: Fetch Sources
159-
uses: actions/checkout@v4
159+
uses: actions/checkout@v5
160160

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

168168
# Setup Gradle
169169
- name: Setup Gradle
170-
uses: gradle/actions/setup-gradle@v4
170+
uses: gradle/actions/setup-gradle@v5
171171
with:
172172
cache-read-only: true
173173

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

.github/workflows/release.yml

Lines changed: 5 additions & 6 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,27 +23,25 @@ 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

4243
# Build the plugin artifact
4344
- name: Build the Plugin
44-
env:
45-
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
4645
run: |
4746
./gradlew buildPlugin
4847

.run/Run Plugin.run.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
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>
2323
<method v="2" />
2424
</configuration>
25-
</component>
25+
</component>

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Modulite Changelog
22

3+
## 1.1.12 - 24.12.2025
4+
5+
- Adapt code for PhpStorm 2025.3
6+
37
## 1.1.11 - 06.08.2025
48

59
- Adapt code for PhpStorm 2025.2

build.gradle.kts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ 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
910
alias(libs.plugins.kover) // Gradle Kover Plugin
1011
}
1112

@@ -27,24 +28,25 @@ repositories {
2728
}
2829
}
2930

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

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

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

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

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

47-
bundledModules(providers.gradleProperty("bundledModules").map { it.split(",") })
49+
testFramework(TestFrameworkType.Platform)
4850
}
4951
}
5052

@@ -69,7 +71,6 @@ intellijPlatform {
6971

7072
ideaVersion {
7173
sinceBuild = providers.gradleProperty("pluginSinceBuild")
72-
untilBuild = providers.gradleProperty("pluginUntilBuild")
7374
}
7475
}
7576

@@ -94,7 +95,7 @@ changelog {
9495
repositoryUrl = providers.gradleProperty("pluginRepositoryUrl")
9596
}
9697

97-
// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
98+
// Configure Gradle Kover Plugin - read more: https://kotlin.github.io/kotlinx-kover/gradle-plugin/#configuration-details
9899
kover {
99100
reports {
100101
total {

gradle.properties

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,24 @@ pluginName = modulite
55
pluginRepositoryUrl = https://github.com/VKCOM/modulite
66

77
# SemVer format -> https://semver.org
8-
pluginVersion = 1.1.11
8+
pluginVersion = 1.1.12
99

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

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

1816
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1917
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP
2018
platformPlugins =
2119
# Example: platformBundledPlugins = com.intellij.java
2220
platformBundledPlugins = com.jetbrains.php, org.jetbrains.plugins.yaml, Git4Idea
23-
24-
bundledModules = intellij.spellchecker
21+
# Example: platformBundledModules = intellij.spellchecker
22+
platformBundledModules = intellij.spellchecker
2523

2624
# Gradle Releases -> https://github.com/gradle/gradle/releases
27-
gradleVersion = 9.0.0
25+
gradleVersion = 9.2.1
2826

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

gradle/libs.versions.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ 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"
7+
changelog = "2.5.0"
8+
intelliJPlatform = "2.10.5"
9+
kotlin = "2.2.21"
10+
kover = "0.9.3"
11+
qodana = "2025.2.2"
1112

1213
[libraries]
1314
junit = { group = "junit", name = "junit", version.ref = "junit" }
@@ -18,3 +19,4 @@ changelog = { id = "org.jetbrains.changelog", version.ref = "changelog" }
1819
intelliJPlatform = { id = "org.jetbrains.intellij.platform", version.ref = "intelliJPlatform" }
1920
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
2021
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)