Skip to content

Commit 7d3aee3

Browse files
Reverting raw code from the 5.0.0-develop
1 parent 0be7719 commit 7d3aee3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
plugins {
7-
id 'org.jetbrains.intellij' version '1.5.2'
7+
id 'org.jetbrains.intellij' version '1.1.4'
88
id 'checkstyle'
99
id 'pmd'
1010
id 'org.jetbrains.changelog' version '1.2.1'
@@ -23,8 +23,8 @@ apply plugin: 'idea'
2323
apply plugin: 'groovy'
2424
apply plugin: 'org.jetbrains.changelog'
2525

26-
def phpPluginVersion = System.getProperty("phpPluginVersion", "222.3739.45")
27-
def ideaVersion = System.getProperty("ideaVersion", "2022.2.1")
26+
def phpPluginVersion = System.getProperty("phpPluginVersion", "212.5080.55")
27+
def ideaVersion = System.getProperty("ideaVersion", "2021.2.1")
2828
def javaVersion = 11
2929

3030
sourceCompatibility = javaVersion
@@ -41,7 +41,7 @@ intellij {
4141
'properties',
4242
'CSS',
4343
'JavaScriptLanguage',
44-
'com.intellij.lang.jsgraphql:3.2.1',
44+
'com.intellij.lang.jsgraphql:3.1.2',
4545
'platform-images',
4646
'copyright'
4747
]

resources/META-INF/plugin.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</change-notes>
2525

2626
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->
27-
<idea-version since-build="222.3739.54"/>
27+
<idea-version since-build="212.5080.55"/>
2828

2929
<!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
3030
on how to target different products -->

src/com/magento/idea/magento2plugin/generation/php/MagentoTemplatesFactory.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import com.intellij.ide.util.projectWizard.WizardContext;
88
import com.intellij.platform.ProjectTemplate;
99
import com.intellij.platform.ProjectTemplatesFactory;
10-
import com.jetbrains.php.config.generation.PhpEmptyProjectGenerator;
10+
import com.jetbrains.php.config.generation.PhpEmptyTemplatesFactory;
1111
import icons.PhpIcons;
1212
import org.jetbrains.annotations.NotNull;
1313
import org.jetbrains.annotations.Nullable;
@@ -19,11 +19,11 @@ public MagentoTemplatesFactory() {
1919

2020
@NotNull
2121
public String[] getGroups() {
22-
return new String[]{PhpEmptyProjectGenerator.PHP_PROJECT_TEMPLATE_GROUP};
22+
return new String[]{PhpEmptyTemplatesFactory.PHP_PROJECT_TEMPLATE_GROUP};
2323
}
2424

2525
public Icon getGroupIcon(String group) {
26-
return PhpIcons.PhpIcon;
26+
return PhpIcons.Php_icon;
2727
}
2828

2929
@NotNull

0 commit comments

Comments
 (0)