Skip to content

Commit d3499ef

Browse files
authored
[All] Update Platform version to 2021.1 (#349)
1 parent 95a22b1 commit d3499ef

File tree

51 files changed

+91
-89
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+91
-89
lines changed

.github/workflows/gradle.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@ jobs:
2424
strategy:
2525
matrix:
2626
include:
27-
# - idea_version: "IU-2020.2"
28-
# java_version: "1.8"
29-
# php_plugin_version: "202.6397.94"
30-
# psi_viewer_plugin_version: "202-SNAPSHOT"
31-
# grammar_kit_plugin_version: "2020.2.1"
32-
# since_build: "202"
33-
# until_build: "202.*"
34-
- idea_version: "IU-203.5981.41-EAP-SNAPSHOT"
27+
- idea_version: "IU-2020.3.3"
3528
java_version: "1.11"
36-
php_plugin_version: "203.5981.43"
29+
php_plugin_version: "203.7148.15"
3730
psi_viewer_plugin_version: "203-SNAPSHOT"
3831
grammar_kit_plugin_version: "2020.2.1"
3932
since_build: "203"
4033
until_build: "203.*"
34+
- idea_version: "IU-211.6693.14-EAP-SNAPSHOT"
35+
java_version: "1.11"
36+
php_plugin_version: "211.6693.25"
37+
psi_viewer_plugin_version: "211-SNAPSHOT"
38+
grammar_kit_plugin_version: "2020.2.1"
39+
since_build: "211"
40+
until_build: "211.*"
4141

4242
steps:
4343
- uses: actions/checkout@v2

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ cache:
1717

1818
matrix:
1919
include:
20-
- env: IDEA_VERSION="IU-203.5981.41-EAP-SNAPSHOT" PHP_PLUGIN_VERSION="203.5981.43" PSI_VIEWER_PLUGIN_VERSION="203-SNAPSHOT" GRAMMAR_KIT_PLUGIN_VERSION="2020.2.1" SINCE_BUILD="203" UNTIL_BUILD="203.*"
20+
- env: IDEA_VERSION="IU-2020.3.3" PHP_PLUGIN_VERSION="203.7148.15" PSI_VIEWER_PLUGIN_VERSION="203-SNAPSHOT" GRAMMAR_KIT_PLUGIN_VERSION="2020.2.1" SINCE_BUILD="203" UNTIL_BUILD="203.*"
21+
- env: IDEA_VERSION="IU-211.6693.14-EAP-SNAPSHOT" PHP_PLUGIN_VERSION="211.6693.25" PSI_VIEWER_PLUGIN_VERSION="211-SNAPSHOT" GRAMMAR_KIT_PLUGIN_VERSION="2020.2.1" SINCE_BUILD="211" UNTIL_BUILD="211.*"
2122

2223
before_install:
2324
- "export ORG_GRADLE_PROJECT_ideaVersion=${IDEA_VERSION}"

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
22

33
plugins {
4-
id "org.jetbrains.intellij" version "0.6.3"
4+
id "org.jetbrains.intellij" version "0.6.5"
55
id "org.jetbrains.grammarkit" version "${grammarKitPluginVersion}" apply false
66
id 'com.palantir.git-version' version "0.12.3"
77
}

gradle.properties

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ isEAP = false
77
jFlexRelease = 1.7.0-1
88

99
grammarKitPluginVersion = 2020.2.1
10-
ideaVersion = IU-203.5981.41-EAP-SNAPSHOT
11-
phpPluginVersion = 203.5981.43
12-
psiViewerPluginVersion = 203-SNAPSHOT
13-
customSinceBuild=203
14-
customUntilBuild=203.*
10+
ideaVersion = IU-211.6693.14-EAP-SNAPSHOT
11+
phpPluginVersion = 211.6693.25
12+
psiViewerPluginVersion = 211-SNAPSHOT
13+
customSinceBuild=211
14+
customUntilBuild=211.*
15+
16+
#grammarKitPluginVersion = 2020.2.1
17+
#ideaVersion = IU-2020.3.3
18+
#phpPluginVersion = 203.7148.15
19+
#psiViewerPluginVersion = 203-SNAPSHOT
20+
#customSinceBuild=203
21+
#customUntilBuild=203.*
1522

1623
#grammarKitPluginVersion = 2020.2.1
1724
#ideaVersion = IU-2020.2

lang-fluid/src/main/java/com/cedricziel/idea/fluid/formatter/FluidBlockWithInjection.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder;
1111
import com.intellij.psi.formatter.common.InjectedLanguageBlockWrapper;
1212
import com.intellij.psi.formatter.xml.XmlFormattingPolicy;
13-
import com.intellij.util.containers.ContainerUtil;
1413
import com.intellij.xml.template.formatter.AbstractXmlTemplateFormattingModelBuilder;
1514
import org.jetbrains.annotations.NotNull;
1615
import org.jetbrains.annotations.Nullable;

lang-fluid/src/main/java/com/cedricziel/idea/fluid/lang/FluidBraceMatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public class FluidBraceMatcher implements PairedBraceMatcher {
1212
@NotNull
1313
@Override
14-
public BracePair[] getPairs() {
14+
public BracePair @NotNull [] getPairs() {
1515
return new BracePair[]{
1616
new BracePair(FluidTypes.LEFT_PARENTH, FluidTypes.RIGHT_PARENTH, false),
1717
new BracePair(FluidTypes.EXPR_START, FluidTypes.EXPR_END, true),

lang-fluid/src/main/java/com/cedricziel/idea/fluid/lang/FluidFileHighlighter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public Lexer getHighlightingLexer() {
9898
}
9999

100100
@NotNull
101-
public TextAttributesKey[] getTokenHighlights(IElementType tokenType) {
101+
public TextAttributesKey @NotNull [] getTokenHighlights(IElementType tokenType) {
102102
if (tokenType.equals(FluidTypes.FIELD_CHAIN) || tokenType.equals(FluidTypes.IDENTIFIER) || tokenType.equals(FluidTypes.NAMESPACE)) {
103103
return IDENTIFIER_KEYS;
104104
} else if (tokenType.equals(FluidTypes.EXPR_END) || tokenType.equals(FluidTypes.EXPR_START)) {

lang-fluid/src/main/java/com/cedricziel/idea/fluid/lang/FluidFileType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public Icon getIcon() {
7272
}
7373

7474
@Override
75-
public String getCharset(@NotNull VirtualFile file, @NotNull byte[] content) {
75+
public String getCharset(@NotNull VirtualFile file, @NotNull byte @NotNull [] content) {
7676
return CharsetToolkit.UTF8;
7777
}
7878

lang-fluid/src/main/java/com/cedricziel/idea/fluid/lang/FluidParserDefinition.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,20 +50,20 @@ public PsiParser createParser(final Project project) {
5050
}
5151

5252
@Override
53-
public IFileElementType getFileNodeType() {
53+
public @NotNull IFileElementType getFileNodeType() {
5454
return FILE;
5555
}
5656

57-
public PsiFile createFile(FileViewProvider viewProvider) {
57+
public @NotNull PsiFile createFile(@NotNull FileViewProvider viewProvider) {
5858
return new FluidFile(viewProvider);
5959
}
6060

6161
@Override
62-
public SpaceRequirements spaceExistanceTypeBetweenTokens(ASTNode left, ASTNode right) {
62+
public @NotNull SpaceRequirements spaceExistanceTypeBetweenTokens(ASTNode left, ASTNode right) {
6363
return SpaceRequirements.MAY;
6464
}
6565

66-
public SpaceRequirements spaceExistenceTypeBetweenTokens(ASTNode left, ASTNode right) {
66+
public @NotNull SpaceRequirements spaceExistenceTypeBetweenTokens(ASTNode left, ASTNode right) {
6767
return SpaceRequirements.MAY;
6868
}
6969

lang-fluid/src/main/java/com/cedricziel/idea/fluid/lang/psi/impl/FluidElementImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public String toString() {
2222

2323
@NotNull
2424
@Override
25-
public PsiReference[] getReferences() {
25+
public PsiReference @NotNull [] getReferences() {
2626
return ReferenceProvidersRegistry.getReferencesFromProviders(this);
2727
}
2828

0 commit comments

Comments
 (0)