Skip to content

Commit 3f9fb34

Browse files
committed
infrastructure for 2022.3.2
1 parent 5798590 commit 3f9fb34

File tree

15 files changed

+54
-67
lines changed

15 files changed

+54
-67
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
with:
2020
submodules: recursive
2121

22-
- name: Set up JDK 11
22+
- name: Set up JDK 17
2323
uses: actions/setup-java@v2
2424
with:
25-
java-version: '11'
25+
java-version: '17'
2626
distribution: 'adopt'
2727

2828
# Cache Gradle dependencies

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ plugins {
66
// Java support
77
id("java")
88
// Kotlin support
9-
id("org.jetbrains.kotlin.jvm") version "1.6.20"
9+
id("org.jetbrains.kotlin.jvm") version "1.8.10"
1010
// Gradle IntelliJ Plugin
11-
id("org.jetbrains.intellij") version "1.10.0"
11+
id("org.jetbrains.intellij") version "1.13.0"
1212
// Gradle Changelog Plugin
1313
id("org.jetbrains.changelog") version "1.3.1"
1414
// Gradle Qodana Plugin

gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ pluginVersion = 2022.1.232
1010
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1111
# for insight into build numbers and IntelliJ Platform versions.
1212
# we are able to support a minimum version having at least "TwigElementTypes.ARRAY_LITERAL"
13-
pluginSinceBuild = 221.5080.224
13+
pluginSinceBuild = 223.6160.11
1414
pluginUntilBuild =
1515

1616
# IntelliJ Platform Properties -> https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties
1717
platformType = IU
18-
platformVersion = 2022.2.3
18+
platformVersion = 2022.3.2
1919

2020
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
2121
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
22-
platformPlugins = java,yaml,xpath,webDeployment,JavaScriptLanguage,com.jetbrains.php:222.4345.15,de.espend.idea.php.annotation:8.3.0,de.espend.idea.php.toolbox:6.1.0,com.jetbrains.twig:222.4345.21,com.jetbrains.php.dql:222.4345.14
22+
platformPlugins = java,yaml,xpath,webDeployment,JavaScript,com.jetbrains.php:223.8617.59,de.espend.idea.php.annotation:8.3.0,de.espend.idea.php.toolbox:6.1.0,com.jetbrains.twig:223.8617.59,com.jetbrains.php.dql:223.7571.117
2323

2424
# Java language level used to compile sources and to generate the files for - Java 11 is required since 2020.3
25-
javaVersion = 11
25+
javaVersion = 17
2626

2727
# Gradle Releases -> https://github.com/gradle/gradle/releases
28-
gradleVersion = 7.4
28+
gradleVersion = 7.6
2929

3030
# Opt-out flag for bundling Kotlin standard library.
3131
# See https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library for details.

src/main/java/fr/adrienbrault/idea/symfony2plugin/doctrine/dict/DoctrineModelFieldLookupElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void renderElement(LookupElementPresentation presentation) {
4747

4848
if(this.doctrineModelField.getRelation() != null) {
4949
presentation.setTypeText(this.doctrineModelField.getRelation());
50-
presentation.setIcon(PhpIcons.CLASS_ICON);
50+
presentation.setIcon(PhpIcons.CLASS);
5151
}
5252

5353
}

src/main/java/fr/adrienbrault/idea/symfony2plugin/doctrine/querybuilder/QueryBuilderCompletionContributor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ private void buildLookupElements(CompletionResultSet completionResultSet, QueryB
453453
if(field.getRelationType() != null) {
454454
lookup = lookup.withTailText("(" + field.getRelationType() + ")", true);
455455
lookup = lookup.withTypeText(field.getRelation(), true);
456-
lookup = lookup.withIcon(PhpIcons.CLASS_ICON);
456+
lookup = lookup.withIcon(PhpIcons.CLASS);
457457
} else {
458458
// relation tail text wins
459459
String column = field.getColumn();

src/main/java/fr/adrienbrault/idea/symfony2plugin/external/toolbox/provider/ControllerToolboxProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public ProviderPresentation getPresentation() {
5555
@Nullable
5656
@Override
5757
public Icon getIcon() {
58-
return PhpIcons.METHOD_ICON;
58+
return PhpIcons.METHOD;
5959
}
6060

6161
@Nullable

src/main/java/fr/adrienbrault/idea/symfony2plugin/profiler/Symfony2WebProfilerForm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private void renderRequestDetails(@NotNull ProfilerRequestInterface profilerRequ
120120
}
121121

122122
if(defaultDataCollector.getController() != null) {
123-
listModel.addElement(new RequestDetails(defaultDataCollector.getController(), PhpIcons.METHOD_ICON));
123+
listModel.addElement(new RequestDetails(defaultDataCollector.getController(), PhpIcons.METHOD));
124124
}
125125

126126
if(defaultDataCollector.getTemplate() != null) {

src/main/java/fr/adrienbrault/idea/symfony2plugin/profiler/widget/SymfonyProfilerWidget.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import com.intellij.openapi.fileEditor.FileEditorManager;
77
import com.intellij.openapi.fileEditor.FileEditorManagerEvent;
88
import com.intellij.openapi.project.Project;
9-
import com.intellij.openapi.ui.popup.ListPopup;
9+
import com.intellij.openapi.ui.popup.JBPopup;
1010
import com.intellij.openapi.vfs.VirtualFile;
1111
import com.intellij.openapi.wm.IdeFocusManager;
1212
import com.intellij.openapi.wm.StatusBarWidget;
@@ -140,9 +140,8 @@ private void attachProfileItem(Collection<AnAction> controllerActions, Map<Strin
140140
}
141141
}
142142

143-
@Nullable
144143
@Override
145-
public ListPopup getPopupStep() {
144+
public @Nullable JBPopup getPopup() {
146145
if (isDisposed()) {
147146
return null;
148147
}

src/main/java/fr/adrienbrault/idea/symfony2plugin/templating/util/TwigExtensionParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,15 @@ private static void parseOperators(@NotNull Method method, @NotNull Map<String,
278278
@NotNull
279279
public static Icon getIcon(@NotNull TwigExtensionType twigExtensionType) {
280280
if(twigExtensionType == TwigExtensionType.FUNCTION_NODE) {
281-
return PhpIcons.CLASS_INITIALIZER;
281+
return PhpIcons.CONSTRUCTOR;
282282
}
283283

284284
if(twigExtensionType == TwigExtensionType.SIMPLE_FUNCTION) {
285285
return PhpIcons.FUNCTION;
286286
}
287287

288288
if(twigExtensionType == TwigExtensionType.FUNCTION_METHOD) {
289-
return PhpIcons.METHOD_ICON;
289+
return PhpIcons.METHOD;
290290
}
291291

292292
if(twigExtensionType == TwigExtensionType.FILTER) {
@@ -301,7 +301,7 @@ public static Icon getIcon(@NotNull TwigExtensionType twigExtensionType) {
301301
return PhpIcons.VARIABLE;
302302
}
303303

304-
return PhpIcons.WEB_ICON;
304+
return PhpIcons.CLASS_ATTRIBUTE;
305305
}
306306

307307
@Nullable

src/main/java/fr/adrienbrault/idea/symfony2plugin/util/controller/ControllerActionLookupElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public void renderElement(LookupElementPresentation presentation) {
2727
presentation.setItemText(getLookupString());
2828
presentation.setTypeText(StringUtils.stripStart(controllerAction.getMethod().getFQN(), "\\"));
2929
presentation.setTypeGrayed(true);
30-
presentation.setIcon(PhpIcons.METHOD_ICON);
30+
presentation.setIcon(PhpIcons.METHOD);
3131
}
3232

3333
}

0 commit comments

Comments
 (0)