File tree Expand file tree Collapse file tree 8 files changed +15
-12
lines changed
src/com/magento/idea/magento2plugin Expand file tree Collapse file tree 8 files changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Run automated tests
55
66on :
77 pull_request :
8- branches : [ master, 3.2 .0-develop ]
8+ branches : [ master, 4.0 .0-develop ]
99
1010jobs :
1111 build-linux :
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0 ) .
66
7+ ## 4.0.0
8+
79## 3.2.0
810
911### Added
Original file line number Diff line number Diff line change 2222
2323## Works with
2424
25- * PhpStorm >= 2020.3
25+ * PhpStorm >= 2021.1
2626* JRE >= 11
2727
2828## Features
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ repositories {
1515}
1616
1717group ' com.magento.idea'
18- version ' 3.2 .0'
18+ version ' 4.0 .0'
1919
2020apply plugin : ' org.jetbrains.intellij'
2121apply plugin : ' java'
2222apply plugin : ' idea'
2323apply plugin : ' groovy'
2424apply plugin : ' org.jetbrains.changelog'
2525
26- def phpPluginVersion = System . getProperty(" phpPluginVersion" , " 203.5981.175 " )
27- def ideaVersion = System . getProperty(" ideaVersion" , " 2020.3 " )
26+ def phpPluginVersion = System . getProperty(" phpPluginVersion" , " 211.6693.111 " )
27+ def ideaVersion = System . getProperty(" ideaVersion" , " 2021.1 " )
2828def javaVersion = 11
2929
3030sourceCompatibility = javaVersion
@@ -41,7 +41,7 @@ intellij {
4141 ' properties' ,
4242 ' CSS' ,
4343 ' JavaScriptLanguage' ,
44- ' com.intellij.lang.jsgraphql:2.7.0 ' ,
44+ ' com.intellij.lang.jsgraphql:2.9.1 ' ,
4545 ' platform-images' ,
4646 ' copyright'
4747 ]
Original file line number Diff line number Diff line change 77<idea-plugin require-restart =" true" >
88 <id >com.magento.idea.magento2plugin</id >
99 <name >Magento PhpStorm</name >
10- <version >3.2 .0</version >
10+ <version >4.0 .0</version >
1111 <vendor url =" https://github.com/magento/magento2-phpstorm-plugin" >Magento Inc.</vendor >
1212
1313 <description ><![CDATA[
2424 </change-notes >
2525
2626 <!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->
27- <idea-version since-build =" 203.5981.155 " />
27+ <idea-version since-build =" 211.6693.111 " />
2828
2929 <!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
3030 on how to target different products -->
Original file line number Diff line number Diff line change 1717import java .util .ArrayList ;
1818import java .util .Arrays ;
1919import java .util .List ;
20- import org .jetbrains .annotations .Nls ;
2120import org .jetbrains .annotations .NotNull ;
2221
2322public class CreateResolverClassQuickFix implements LocalQuickFix {
2423 @ Override
25- public @ Nls ( capitalization = Nls . Capitalization . Sentence ) @ NotNull String getFamilyName () {
24+ public @ NotNull String getFamilyName () {
2625 return new InspectionBundle ().message (
2726 "inspection.graphql.schema.resolver.fix.family"
2827 );
Original file line number Diff line number Diff line change 1515import org .jetbrains .annotations .NotNull ;
1616
1717public class ObserverNameReferenceProvider extends PsiReferenceProvider {
18+ @ NotNull
1819 @ Override
19- public PsiReference @ NotNull [] getReferencesByElement (
20+ public PsiReference [] getReferencesByElement (
2021 @ NotNull final PsiElement element ,
2122 @ NotNull final ProcessingContext context
2223 ) {
Original file line number Diff line number Diff line change @@ -80,8 +80,9 @@ public int getVersion() {
8080 return 1 ;
8181 }
8282
83+ @ NotNull
8384 @ Override
84- public FileBasedIndex .@ NotNull InputFilter getInputFilter () {
85+ public FileBasedIndex .InputFilter getInputFilter () {
8586 return virtualFile -> (virtualFile .getFileType () == XmlFileType .INSTANCE
8687 && virtualFile .getNameWithoutExtension ().equals ("db_schema" ));
8788 }
You can’t perform that action at this time.
0 commit comments