Skip to content

Commit

Permalink
plugin auto configuration should be valid on vendor/symfony existence…
Browse files Browse the repository at this point in the history
…, drop project specification path validation
  • Loading branch information
Haehnchen committed Sep 24, 2017
1 parent ba6e35a commit f177909
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,12 @@ private String getPath(Project project, String path) {
}

private void checkProject() {
if(!this.isEnabled()
&& !Settings.getInstance(project).dismissEnableNotification
&& VfsUtil.findRelativeFile(this.project.getBaseDir(), "vendor", "symfony") != null
) {

if(!this.isEnabled() && !Settings.getInstance(project).dismissEnableNotification) {
if(VfsUtil.findRelativeFile(this.project.getBaseDir(), "vendor") != null
&& VfsUtil.findRelativeFile(this.project.getBaseDir(), "app", "config") != null
&& VfsUtil.findRelativeFile(this.project.getBaseDir(), "app", "Resources") != null
&& VfsUtil.findRelativeFile(this.project.getBaseDir(), "vendor", "symfony", "symfony") != null
) {
IdeHelper.notifyEnableMessage(project);
}

IdeHelper.notifyEnableMessage(project);
return;
}

Expand Down

0 comments on commit f177909

Please sign in to comment.