Skip to content

Commit

Permalink
IBX-1431: Dropped support for PHPStorm configuration in favor of Ibex…
Browse files Browse the repository at this point in the history
…a DXP Plugin (#40)
  • Loading branch information
adamwojs authored Jan 21, 2022
1 parent 10c3f47 commit 6e10a5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 64 deletions.
61 changes: 0 additions & 61 deletions bundle/DependencyInjection/Compiler/PHPStormPass.php

This file was deleted.

6 changes: 5 additions & 1 deletion bundle/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@ public function getConfigTreeBuilder()
->end()
->arrayNode('phpstorm')
->addDefaultsIfNotSet()
->setDeprecated('The "%node%" option is deprecated since Ibexa DXP v3.3.14 and will be removed in 4.0. Use PhpStorm plugin instead: https://doc.ibexa.co/en/latest/community_resources/phpstorm_plugin/')
->children()
->booleanNode('enabled')->defaultValue('%kernel.debug%')->info('Activates PHPStorm support')->end()
->booleanNode('enabled')
->defaultValue(false)
->info('Activates PHPStorm support')
->end()
->scalarNode('twig_config_path')
->info('Path where to store PHPStorm configuration file for additional Twig namespaces (ide-twig.json).')
->defaultValue('%kernel.project_dir%')
Expand Down
2 changes: 0 additions & 2 deletions bundle/EzPlatformDesignEngineBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

use EzSystems\EzPlatformDesignEngineBundle\DependencyInjection\Compiler\AssetPathResolutionPass;
use EzSystems\EzPlatformDesignEngineBundle\DependencyInjection\Compiler\AssetThemePass;
use EzSystems\EzPlatformDesignEngineBundle\DependencyInjection\Compiler\PHPStormPass;
use EzSystems\EzPlatformDesignEngineBundle\DependencyInjection\Compiler\TwigThemePass;
use EzSystems\EzPlatformDesignEngineBundle\DependencyInjection\DesignConfigParser;
use EzSystems\EzPlatformDesignEngineBundle\DependencyInjection\EzPlatformDesignEngineExtension;
Expand All @@ -30,7 +29,6 @@ public function build(ContainerBuilder $container)
$container->addCompilerPass(new TwigThemePass());
$container->addCompilerPass(new AssetThemePass(), PassConfig::TYPE_OPTIMIZE);
$container->addCompilerPass(new AssetPathResolutionPass(), PassConfig::TYPE_OPTIMIZE);
$container->addCompilerPass(new PHPStormPass(), PassConfig::TYPE_OPTIMIZE);
}

public function getContainerExtension()
Expand Down

0 comments on commit 6e10a5c

Please sign in to comment.