Coder Social home page Coder Social logo

haehnchen / idea-php-symfony2-plugin Goto Github PK

View Code? Open in Web Editor NEW
910.0 33.0 137.0 14.25 MB

IntelliJ IDEA / PhpStorm Symfony Plugin

Home Page: https://plugins.jetbrains.com/plugin/7219

License: MIT License

Java 95.79% HTML 1.41% PHP 2.69% Dockerfile 0.01% Shell 0.01% Twig 0.04% JavaScript 0.06%
symfony phpstorm java jetbrains intellij intellij-plugin doctrine annotation autocomplete phpstorm-plugin

idea-php-symfony2-plugin's Introduction

IntelliJ IDEA / PhpStorm Symfony Plugin

Build Status Version Downloads Downloads last month Donate to this project using Paypal

Key Value
Plugin Url https://plugins.jetbrains.com/plugin/7219
ID fr.adrienbrault.idea.symfony2plugin
Documentation https://espend.de/phpstorm/plugin/symfony
Changelog CHANGELOG
Build and Deployment MAINTENANCE

Install

  • Install the plugin by going to Settings -> Plugins -> Browse repositories and then search for Symfony.
  • Enabled it per project (File -> Settings -> Languages & Framework -> PHP -> Symfony)
  • Install Php Annotation plugin to enjoy all the annotation stuff
  • Plugin needs a valid PhpStorm indexer, use "File > Invalidate Caches / Restart" if something crazy is going on

Freemium

Since PhpStorm 2022.1 this plugin is marked a "Freemium".

  • All features which are inside GitHub are free to use, unless there is reason (e.g. Supporting old Symfony Version, ...)
  • Non-free features are flagged with [paid] inside Documentation and inside the CHANGELOG
  • There is ~15min grace period after project opening where all features are available
  • A license must be activated via PhpStorm / Intellij: use menu "Help -> Register" or use "Search Everywhere" by searching for "Manage License..." action

A license can be bought at JetBrains Marketplace

Version

  • This plugin supports Symfony 2, 3, 4, ...

Documentation and tutorials

Autocomplete (or something else) is not working! Help! ๐Ÿ˜ฎ

  • You usually need to trigger the autocomplete popup yourself, by pressing CTRL+SPACE (maybe a different shortcut depending on your keymap).
  • Check your File -> Settings -> PHP -> Symfony -> Enable Plugin for this Project

Technical Diagram (Work In Progress)

Symfony Plugin Technical Diagram

Building, debugging and other

  • Install IntelliJ IDEA (Community Edition works fine)
  • Open this project
  • Choose View > Tool Windows > Gradle
  • Double click idea-php-symfony2-plugin > Tasks > intellij > runIde

If you are having difficulties, consult the documentation: http://confluence.jetbrains.com/display/PhpStorm/Setting-up+environment+for+PhpStorm+plugin+development

  • Want to sponsor my development? Nice! You can sponsor me via PayPal or Github. Github matches your donation so the total donation will be doubled.

What? Something still does not work? Damn! ๐Ÿ˜ข

You can browse the existing issues at https://github.com/Haehnchen/idea-php-symfony2-plugin/issues

If your issue already exists, don't hesitate to add a comment to help contributors resolve the issue more easily. If your issue does not exist, open a new issue ๐Ÿ˜ƒ.

Make sure to provide the maximum amount of information, such as:

  • What version of PhpStorm are you using?
  • What version of the plugin are you using?
  • The stack trace if an error occurred
  • Check if you are in PhpStorm eap channel

idea-php-symfony2-plugin's People

Contributors

20uf avatar adamwojs avatar adrienbrault avatar alexmovsesov avatar artspb avatar benoitduffez avatar bywulf avatar cedricziel avatar digilist avatar garak avatar haehnchen avatar king2500 avatar koc avatar leneshka-jb avatar lumbendil avatar ma27 avatar mattsches avatar mhor avatar pestretsov avatar powerhamster avatar robertme avatar ruudk avatar shyim avatar slapoguzov avatar srsbiz avatar ste93cry avatar trespasserw avatar tucksaun avatar vdechenaux avatar vincentlanglet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

idea-php-symfony2-plugin's Issues

Auto complete PHPDoc

It would be so cool if you could auto-detect the classname to generate the PHPDoc when you type /** + ENTER

Now you get just an empty comment:

/**
 * 
 */
$router = $this->get('router');

I want this:

/**
 * @var \Symfony\Bundle\FrameworkBundle\Routing\Router $router
 */
$router = $this->get('router');

Is that possible?

[PHP] Clickable @Template annotations

Would be awesome if you could click the template inside the @template annotation.

/**
 * @Template("MyAppBundle:Conversation:list/search.html.twig")
 */
public function searchAction(Request $request, $query)

Cant find plugin

I can't find the plugin over the Settings -> Plugin -> Browse repositories -> Symfony to install.

remove .idea folder from repository

since /.idea is in ignore but still in repo, working with branches is really tricky with other enviroments. can you do a cleanup commit on this?

Show in settings if files exist

It would be nice if the plugin settings displays if the files exist, so that user know if there is something wrong there. (most feature won't work if the file paths are wrong or if the files do not exist.)

Add generic support of annotations

Looks like currently only Doctrine's and Template annotations supported. Generally anonation - simple class tagged with @Annotation. Also it can has @Target annotation.

Examples:

  1. https://github.com/l3pp4rd/DoctrineExtensions/tree/master/lib/Gedmo/Mapping/Annotation
  2. https://github.com/schmittjoh/JMSSecurityExtraBundle/tree/master/Annotation
  3. https://github.com/symfony/symfony/tree/master/src/Symfony/Component/Validator/Constraints

It would be nice if plugin will parse all classes tagged with @Annotation (and take into account available annotation target) and autocomplete all they with docs. And allow ctrl+click to annotation file.

[Feature request] autocompletion of DI parameters in config file

It would be great to auto-complete DI parameters when a % is found:

  • class attribute of a service
  • service arguments <argument>%value.using.parameter%</argument>

I'm not sure if it is possible here as a parameter is not necessarily the full value of the argument

Global Twig templates are not supported

The following code does not allow clicking on the template name to access it:

{% extends '::layout.html.twig' %}

It should resolve it to app/Resources/views/layout.html.twig

Case sensivity

I define my services with cases in it. However, symfony, makes them in-case sensitive (thus lowercase).

Is it possible you could let both $this->container->get("TestService") and $this->container->get("testservice") work with auto completion?

Crash when attempting to Save after importing new use statement

This is similar to #49 but I have been experiencing this inconsistently since perhaps plugin version 0.6.2 (if that was even a valid version...). But I can now reliably recreate this with a current file I'm working on. Here are my current specs:

Mac OS X 10.8.3
PhpStorm 6.0.1 (129.291)
Plugin Version 0.8.0
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01-451, mixed mode)

How to reproduce

  1. Create an existing file that has a large number of existing use statements (I count 13 in my current file that has trouble) and has a couple of long methods (like a Controller).
  2. Go through the process of adding a check for instanceof on one of your local variables, but check for a class that is not yet in your use statements which will require PhpStorm to add the use statement automatically. I use these steps to do this:
    1. Type in the following, after which PhpStorm should try to complete the FQCN of the class you're trying to use. In my case I have several classes like Student and BaseStudent and LegacyStudent that exist in my project: if ($student instanceof Stu
    2. Use the keyboard to select one of the autocomplete classnames and hit [Return]. PhpStorm will complete and enter the class name and will successfully add the appropriate use statement to the list of use statements at the top of the class, leaving you with something like: if ($student instanceof Student)
    3. Now hit the hotkey to save the current document and all open documents: Command + S.
  3. The active editor window will now freeze and you'll be unable to scroll in any of the workspace panes, and the file tab asterisk indicating the file is unsaved will continue to show as dirty (e.g. [ * StudentsController.php ]).
  4. PhpStorm is now frozen and you must force-quit the program.
  5. When re-opening PhpStorm it has lost all changes to my file prior to trying to add the new class instanceof.

Workaround

If I delete your Symfony2 plugin from ~/Library/Application Support/WebIde60/symfony2-plugin.jar I can successfully make the above edit without the editor freezing.

$ rm ~/Library/Application\ Support/WebIde60/symfony2-plugin.jar

Diagnostic Logs

Here is the IDE log Library/Logs/WebIde60/idea.log from a period when I started PhpStorm, made an editor that caused the crash, and when the crash occurred. Note that the file I'm making changes to that causes the crash is PlacementsController.php:

    2013-05-07 15:55:55,873 [ 201442]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/dataSources.xml file is null 
    2013-05-07 15:55:55,879 [ 201448]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dataSources.xml file is null 
    2013-05-07 15:55:55,884 [ 201453]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/jsLibraryMappings.xml file is null 
    2013-05-07 15:55:55,886 [ 201455]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqlDataSources.xml file is null 
    2013-05-07 15:55:56,326 [ 201895]   INFO -    #org.jetbrains.io.WebServer - web server stopped 
    2013-05-07 15:55:56,349 [ 201918]   INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN 
    2013-05-07 15:55:56,486 [ 202055]   INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN 
    2013-05-07 15:55:56,486 [ 202055]   INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN 
    2013-05-07 15:55:56,486 [ 202055]   INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN 
    2013-05-07 15:55:56,488 [ 202057]   INFO - .history.utils.LocalHistoryLog - Purging local history... 
    2013-05-07 15:55:56,505 [ 202074]   INFO - .history.utils.LocalHistoryLog - Local history storage successfully closed. 
    2013-05-07 15:55:56,510 [ 202079]   WARN - api.vfs.impl.local.FileWatcher - Watcher terminated. 
    2013-05-07 15:55:56,574 [ 202143]   WARN - ution.process.OSProcessHandler - Cannot kill process tree. Trying to destroy process using Java API. Cmdline:
    null 
    2013-05-07 15:55:56,575 [ 202144]   INFO - newvfs.persistent.PersistentFS - VFS dispose started 
    2013-05-07 15:55:56,602 [ 202171]   INFO - newvfs.persistent.PersistentFS - VFS dispose completed 
    2013-05-07 15:55:56,611 [ 202180]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------ 
    2013-05-07 15:56:00,888 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
    2013-05-07 15:56:00,900 [     12]   INFO -        #com.intellij.idea.Main - IDE: JetBrains PhpStorm (build #PS-129.291, 16 Apr 2013 00:00) 
    2013-05-07 15:56:00,900 [     12]   INFO -        #com.intellij.idea.Main - JRE: 1.6.0_45-b06-451-11M4406 (Apple Inc.) 
    2013-05-07 15:56:00,900 [     12]   INFO -        #com.intellij.idea.Main - JVM: 20.45-b01-451 (Apple Inc.) 
    2013-05-07 15:56:00,930 [     42]   INFO -        #com.intellij.idea.Main - JNA library loaded (64-bit) in 30 ms 
    2013-05-07 15:56:00,987 [     99]   INFO -        #com.intellij.idea.Main - Snappy library loaded (1.0.4) in 56 ms 
    2013-05-07 15:56:02,492 [   1604]   INFO - llij.ide.plugins.PluginManager - 43 plugins initialized in 1296 ms 
    2013-05-07 15:56:02,492 [   1604]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Apache config (.htaccess) support (129.291), Base Cucumber (1.0), CSS Support, CVS Integration (11), CoffeeScript (2.0), Command Line Tool Support (129.291), Database Support (1.0), File Watchers (999.999), Framework MVC Structure Support (129.291), GNU GetText files support (*.po) (129.SNAPSHOT), Git Integration (8.1), GitHub, HAML, HTML Tools (2.0), IDEA CORE, Inspection-JS (2.0), IntelliLang (8.0), Java Server Pages Integration (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), LESS support, PHP (129.291), Perforce Integration (2.0), Phing Support (129.291), QuirksMode, REST Client, ReStructuredText Support (129.SNAPSHOT), Refactor-X (2.01), Remote Hosts Access (0.1), SASS support, SQL support (1.0), Subversion Integration (1.1), Task Management (1.0), TextMate bundles support (VERSION), UML Support (1.0), W3C Validators (2.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML, hg4idea (10.0) 
    2013-05-07 15:56:02,492 [   1604]   INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Symfony2 Plugin (0.8.0) 
    2013-05-07 15:56:02,963 [   2075]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=678100992 
    2013-05-07 15:56:03,073 [   2185]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /Applications/PhpStorm.app/bin/fsnotifier 
    2013-05-07 15:56:03,105 [   2217]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational. 
    2013-05-07 15:56:04,717 [   3829]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/macros.xml file is null 
    2013-05-07 15:56:04,725 [   3837]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/quicklists.xml file is null 
    2013-05-07 15:56:05,977 [   5089]   INFO - pl.stores.ApplicationStoreImpl - 74 application components initialized in 3306 ms 
    2013-05-07 15:56:05,979 [   5091]   INFO - .intellij.idea.IdeaApplication - App initialization took 6678 ms 
    2013-05-07 15:56:05,992 [   5104]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/customization.xml file is null 
    2013-05-07 15:56:06,028 [   5140]   INFO - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA. 
    2013-05-07 15:56:06,368 [   5480]   WARN - j.ui.mac.MacMainFrameDecorator - no url bundle present 
    2013-05-07 15:56:06,570 [   5682]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/applicationLibraries.xml file is null 
    2013-05-07 15:56:07,628 [   6740]   INFO - ellij.project.impl.ProjectImpl - 119 project components initialized in 1003 ms 
    2013-05-07 15:56:07,689 [   6801]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 61 ms 
    2013-05-07 15:56:08,774 [   7886]   INFO - .roots.impl.DirectoryIndexImpl - Directory index initialized in 773 ms, indexed 2868 directories 
    2013-05-07 15:56:08,793 [   7905]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/plainTextFiles.xml file is null 
    2013-05-07 15:56:09,125 [   8237]   INFO - pl.PushedFilePropertiesUpdater - File properties pushed in 341 ms 
    2013-05-07 15:56:09,258 [   8370]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/templateLanguages.xml file is null 
    2013-05-07 15:56:09,260 [   8372]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/templateLanguages.xml file is null 
    2013-05-07 15:56:10,063 [   9175]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/fileColors.xml file is null 
    2013-05-07 15:56:11,073 [  10185]   INFO - jetbrains.ide.WebServerManager - web server started, port 63342 
    2013-05-07 15:56:11,141 [  10253]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/IntelliLang.xml file is null 
    2013-05-07 15:56:11,486 [  10598]   INFO - ction.BrowserConnectionManager - Browser connected: version 0.5.10, CHROME 
    2013-05-07 15:56:12,309 [  11421]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/phing.xml file is null 
    2013-05-07 15:56:15,413 [  14525]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 6248 ms 
    2013-05-07 15:56:15,414 [  14526]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update 
    2013-05-07 15:56:15,908 [  15020]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 494 ms 
    2013-05-07 15:56:16,550 [  15662]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 9960 ms 
    2013-05-07 15:56:16,562 [  15674]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/webResources.xml file is null 
    2013-05-07 15:56:18,082 [  17194]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/symfony2.xml file is null 
    2013-05-07 15:56:19,972 [  19084]   WARN -    #com.jetbrains.php.PhpIndex - Completing type '#P#C\AEC\StudentBundle\Entity\Student.peopleSoftStudentPhotoRepository' took 550ms, visited:[#P#C\AEC\StudentBundle\Entity\Student.peopleSoftStudentPhotoRepository] 
    2013-05-07 15:56:21,993 [  21105]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml file is null 
    2013-05-07 15:56:22,119 [  21231]   INFO - tellij.xml.Html5SchemaProvider - HTML5_SCHEMA_LOCATION = /Applications/PhpStorm.app/lib/phpstorm.jar!/resources/html5-schema/html5.rnc 
    2013-05-07 15:56:22,119 [  21231]   INFO - tellij.xml.Html5SchemaProvider - XHTML5_SCHEMA_LOCATION = /Applications/PhpStorm.app/lib/phpstorm.jar!/resources/html5-schema/xhtml5.rnc 
    2013-05-07 15:56:22,771 [  21883]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/dataSources.xml file is null 
    2013-05-07 15:56:22,788 [  21900]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dataSources.xml file is null 
    2013-05-07 15:56:22,792 [  21904]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqlDataSources.xml file is null 
    2013-05-07 15:56:33,036 [  32148]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/watcherTasks.xml file is null 
    2013-05-07 15:56:33,173 [  32285]   WARN -    #com.jetbrains.php.PhpIndex - Wrong element Symfony\Component\HttpKernel\Exception\HttpException from file:///Users/johnkary/Sites/aec/src/AEC/StudentBundle/Controller/PlacementsController.php in index: php.class.shortName 

Alias support

The class autocomplete currently isn't working with alias.

FileChooser usage

It'd be nice if the plug-in could display a file chooser instead of having to type a path.

crash while adding a use statement, ubuntu

Hello Adrien

Great plugin, works fine under osx, but a my linux maschine (12.10 and now 13.04) phpstorm crashes, if i try to ad a use statement (while ide is grabbing the possible namespaces), id i uninstall the plugin everything works fine.

EntityRepository::findAll/findBy result type detection bug

I have a TestRepository, extending an abstract class handling Gedmo's Translatable behavior, then another abstract class handling project's specific details, that finally extends Doctrine's EntityRepository class.

When I use the code above, I have no auto-completion on the $test variable, and PHPStorm shows array as a type for $tests (instead of Test[]) :

$testRepository = $this->get('doctrine')->getRepository('MyBundle:Test');
$tests = $testRepository->findAll();

foreach ($tests as $test) {
    $test-> [no auto-completion here when hitting space]
}

Same behavior for findBy. On the other hand, findOne and findOneBy works fine and return the expected Test object.

Plugin version 0.8.0, PHPStorm build 129.394, Symfony 2.1.
Am I missing something ?

PhpStorm freezes when adding use statement

What steps will reproduce the problem?
I'm adding new use statement

What is the expected result?
PhpStorm keep working

What happens instead?
PhpStorm stops responding

Mac OS X 10.8.3
PhpStorm 6.0.2
Symfony plugin 0.9.0
Screenshot: http://joxi.ru/YA6WUdg5CbDWbEtTkto

It happens only in one single file. If you need this the file, I can email it to to the plugin authors.

This is exactly symfony2 plugin issue, because storm starts working when I'm switching off the plugin.

{% embed %} autocompletion fails with app level

The {% embed ... %} completion fails to recognize app level templates located in app/Resources/views when typing {% embed ':< complete >.

I does not recognize those two cases:

  • :Crud:create.html.twig referencing app/Resources/views/Crud/create.html.twig
  • ::base.html.twig referencing app/Resources/views/base.html.twig

String index out of range while opening php file

I haven't noticed when the exception occured. I think it was while opening some php file.

Here's the stack:

String index out of range: -2: String index out of range: -2
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
    at java.lang.String.substring(String.java:1911)
    at fr.adrienbrault.idea.symfony2plugin.config.xml.provider.ServiceReferenceProvider.getReferencesByElement(ServiceReferenceProvider.java:18)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:119)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:65)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:53)
    at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getReferences(XmlAttributeValueImpl.java:99)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlPathReferenceInspection.checkRefs(XmlPathReferenceInspection.java:59)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlPathReferenceInspection.access$000(XmlPathReferenceInspection.java:35)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlPathReferenceInspection$1.visitXmlAttributeValue(XmlPathReferenceInspection.java:43)
    at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.accept(XmlAttributeValueImpl.java:55)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.acceptElements(LocalInspectionsPass.java:412)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.createVisitorAndAcceptElements(LocalInspectionsPass.java:370)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doVisitElement(LocalInspectionsPass.java:341)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$000(LocalInspectionsPass.java:78)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:309)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:306)
    at com.intellij.concurrency.JobLauncherImpl$2$1.run(JobLauncherImpl.java:115)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
    at com.intellij.concurrency.JobLauncherImpl$2.process(JobLauncherImpl.java:113)
    at com.intellij.concurrency.JobLauncherImpl$1.run(JobLauncherImpl.java:54)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

completion of routing information

As described on irc, it would be awesome to have auto completion for routing information.

When interacting with the UrlGeneratorInterface calling its generate method:

$this->container->get('router')->generate(' < autocompletion of route names >', [ '< autocompletion of route param names of selected route >' => $foo ], true);

Multiple containers (kernels)

Would be great if I could add two container.xml files. Search always in the default container but when there's no match, search further.

No type returned when using $this->get()

I just spotted that the get() method should also return type of service, but it isn't happening in my project.
Using Symfony2.0, can't upgrade it (client requirement)

service autocompletion not working on container shortcuts

If you use a container-shortcut for the get-method like the "Symfony\Bundle\FrameworkBundle\Controller\Controller" but not call the get-method directly on the container-object ($this->container->get($id)) e.g. with a getter: $this->getContainer()->get($id)
container-shortcut
the autocompletion for the services is not working. The $this->getContainer() getter has a correct annotation:
container-getter

java.lang.NullPointerException

2013-04-19 09:00:39,574 [ 492119]  ERROR - currency.PrioritizedFutureTask - JetBrains PhpStorm 6.0.1  Build #PS-129.291 
2013-04-19 09:00:39,574 [ 492119]  ERROR - currency.PrioritizedFutureTask - JDK: 1.7.0_10 
2013-04-19 09:00:39,574 [ 492119]  ERROR - currency.PrioritizedFutureTask - VM: Java HotSpot(TM) Client VM 
2013-04-19 09:00:39,574 [ 492119]  ERROR - currency.PrioritizedFutureTask - Vendor: Oracle Corporation 
2013-04-19 09:00:39,574 [ 492119]  ERROR - currency.PrioritizedFutureTask - OS: Windows 7 
2013-04-19 09:00:39,574 [ 492119]  ERROR - currency.PrioritizedFutureTask - Last Action: EditorBackSpace 
2013-04-19 09:00:39,574 [ 492119]  ERROR - currency.PrioritizedFutureTask - Original exception:  
java.lang.NullPointerException
    at fr.adrienbrault.idea.symfony2plugin.dic.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:44)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpTypedElementImpl.getType(PhpTypedElementImpl.java:26)
    at com.jetbrains.php.lang.inspections.PhpParamsInspection$2.process(PhpParamsInspection.java:106)
    at com.jetbrains.php.lang.inspections.PhpParamsInspection$2.process(PhpParamsInspection.java:85)
    at com.jetbrains.php.lang.inspections.PhpParamsInspection.collectSignatureVariants(PhpParamsInspection.java:175)
    at com.jetbrains.php.lang.inspections.PhpParamsInspection.processSignatures(PhpParamsInspection.java:155)
    at com.jetbrains.php.lang.inspections.PhpParamsInspection.checkCall(PhpParamsInspection.java:85)
    at com.jetbrains.php.lang.inspections.PhpParamsInspection.access$000(PhpParamsInspection.java:23)
    at com.jetbrains.php.lang.inspections.PhpParamsInspection$1.visitPhpFunctionCall(PhpParamsInspection.java:33)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionReferenceImpl.accept(FunctionReferenceImpl.java:44)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.acceptElements(LocalInspectionsPass.java:412)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.createVisitorAndAcceptElements(LocalInspectionsPass.java:370)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doVisitElement(LocalInspectionsPass.java:341)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$000(LocalInspectionsPass.java:78)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:309)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:306)
    at com.intellij.concurrency.JobLauncherImpl$2$1.run(JobLauncherImpl.java:115)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
    at com.intellij.concurrency.JobLauncherImpl$2.process(JobLauncherImpl.java:113)
    at com.intellij.concurrency.JobLauncherImpl$1.run(JobLauncherImpl.java:54)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

Adding developers log

Your plugin is awesome! :)
But some of the features not working on my side (phpStorm 6.0.1) - adding developers logs would save a lot of time :)

StackOverflowError: null

The exception started to occur after the installation of the plugin and restarting the IDE. I have clicked the report button for multiple exceptions of this kind, so this is just to let you know that there are some issues with the plugin :)

null
java.lang.StackOverflowError
    at com.intellij.util.WalkingState.next(WalkingState.java:73)
    at com.intellij.util.WalkingState.walkChildren(WalkingState.java:61)
    at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitNode(RecursiveTreeElementWalkingVisitor.java:81)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitComposite(RecursiveTreeElementWalkingVisitor.java:76)
    at com.intellij.psi.impl.source.tree.AstBufferUtil$BufferVisitor.visitComposite(AstBufferUtil.java:114)
    at com.intellij.psi.impl.source.tree.CompositeElement.acceptTree(CompositeElement.java:157)
    at com.intellij.psi.impl.source.tree.AstBufferUtil.toBuffer(AstBufferUtil.java:40)
    at com.intellij.psi.impl.source.tree.AstBufferUtil.toBuffer(AstBufferUtil.java:35)
    at com.intellij.psi.impl.source.tree.CompositeElement.textToCharArray(CompositeElement.java:294)
    at com.intellij.psi.impl.source.tree.CompositeElement.getText(CompositeElement.java:253)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:133)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveLocal(MemberReferenceImpl.java:92)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveLocal(MemberReferenceImpl.java:68)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveLocalType(MemberReferenceImpl.java:75)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpReference(PhpTypeAnalyserVisitor.java:75)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpFieldReference(PhpTypeAnalyserVisitor.java:454)
    at com.jetbrains.php.lang.psi.elements.impl.FieldReferenceImpl.accept(FieldReferenceImpl.java:34)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.FieldReferenceImpl.getInferredType(FieldReferenceImpl.java:134)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeAnalyzerProcessor.processAccessInstruction(PhpTypeAnalyzerProcessor.java:49)
    at com.jetbrains.php.codeInsight.typeInference.PhpFieldReferenceByVariableTypeAnalyzer.processAccessFieldByVariableInstruction(PhpFieldReferenceByVariableTypeAnalyzer.java:36)
    at com.jetbrains.php.codeInsight.controlFlow.instructions.impl.PhpAccessFieldByVariableInstructionImpl.process(PhpAccessFieldByVariableInstructionImpl.java:37)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessors(PhpControlFlowUtil.java:124)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessorsIgnoreBackEdges(PhpControlFlowUtil.java:98)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpFieldReference(PhpTypeAnalyserVisitor.java:427)
    at com.jetbrains.php.lang.psi.elements.impl.FieldReferenceImpl.accept(FieldReferenceImpl.java:34)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:198)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:189)
    at com.jetbrains.php.lang.psi.elements.impl.FieldReferenceImpl.getType(FieldReferenceImpl.java:116)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpArrayAccessExpression(PhpTypeAnalyserVisitor.java:218)
    at com.jetbrains.php.lang.psi.elements.impl.ArrayAccessExpressionImpl.accept(ArrayAccessExpressionImpl.java:64)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:198)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:189)
    at com.jetbrains.php.lang.psi.elements.impl.ArrayAccessExpressionImpl.getType(ArrayAccessExpressionImpl.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:387)
    at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:323)
    at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:395)
    at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:323)
    at com.jetbrains.php.PhpIndexImpl.completeType(PhpIndexImpl.java:117)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.globalLocationAware(PhpType.java:353)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:135)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:387)
    at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:323)
    at com.jetbrains.php.PhpIndexImpl.getBySignatureInternal(PhpIndexImpl.java:395)
    at com.jetbrains.php.PhpIndexImpl.getBySignature(PhpIndexImpl.java:323)
    at com.jetbrains.php.PhpIndexImpl.completeType(PhpIndexImpl.java:117)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.globalLocationAware(PhpType.java:353)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:135)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.inferType(PhpTypeInferenceUtil.java:165)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:127)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getInferredType(VariableImpl.java:604)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeAnalyzerProcessor.processAccessInstruction(PhpTypeAnalyzerProcessor.java:49)
    at com.jetbrains.php.codeInsight.typeInference.PhpVariableInferredTypeAnalyzerProcessor.processAccessVariableInstruction(PhpVariableInferredTypeAnalyzerProcessor.java:44)
    at com.jetbrains.php.codeInsight.controlFlow.instructions.impl.PhpAccessVariableInstructionImpl.process(PhpAccessVariableInstructionImpl.java:35)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessors(PhpControlFlowUtil.java:124)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessorsIgnoreInitialBackEdges(PhpControlFlowUtil.java:104)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:141)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getInferredType(VariableImpl.java:604)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeAnalyzerProcessor.processAccessInstruction(PhpTypeAnalyzerProcessor.java:49)
    at com.jetbrains.php.codeInsight.typeInference.PhpVariableInferredTypeAnalyzerProcessor.processAccessVariableInstruction(PhpVariableInferredTypeAnalyzerProcessor.java:44)
    at com.jetbrains.php.codeInsight.controlFlow.instructions.impl.PhpAccessVariableInstructionImpl.process(PhpAccessVariableInstructionImpl.java:35)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessors(PhpControlFlowUtil.java:124)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessorsIgnoreInitialBackEdges(PhpControlFlowUtil.java:104)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:141)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:198)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:189)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getType(VariableImpl.java:586)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.inferType(PhpTypeInferenceUtil.java:165)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:127)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getInferredType(VariableImpl.java:604)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeAnalyzerProcessor.processAccessInstruction(PhpTypeAnalyzerProcessor.java:49)
    at com.jetbrains.php.codeInsight.typeInference.PhpVariableInferredTypeAnalyzerProcessor.processAccessVariableInstruction(PhpVariableInferredTypeAnalyzerProcessor.java:44)
    at com.jetbrains.php.codeInsight.controlFlow.instructions.impl.PhpAccessVariableInstructionImpl.process(PhpAccessVariableInstructionImpl.java:35)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessors(PhpControlFlowUtil.java:124)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessorsIgnoreInitialBackEdges(PhpControlFlowUtil.java:104)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:141)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getInferredType(VariableImpl.java:604)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeAnalyzerProcessor.processAccessInstruction(PhpTypeAnalyzerProcessor.java:49)
    at com.jetbrains.php.codeInsight.typeInference.PhpVariableInferredTypeAnalyzerProcessor.processAccessVariableInstruction(PhpVariableInferredTypeAnalyzerProcessor.java:44)
    at com.jetbrains.php.codeInsight.controlFlow.instructions.impl.PhpAccessVariableInstructionImpl.process(PhpAccessVariableInstructionImpl.java:35)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessors(PhpControlFlowUtil.java:124)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessorsIgnoreInitialBackEdges(PhpControlFlowUtil.java:104)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:141)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:198)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:189)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getType(VariableImpl.java:586)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.inferType(PhpTypeInferenceUtil.java:165)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:127)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getInferredType(VariableImpl.java:604)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeAnalyzerProcessor.processAccessInstruction(PhpTypeAnalyzerProcessor.java:49)
    at com.jetbrains.php.codeInsight.typeInference.PhpVariableInferredTypeAnalyzerProcessor.processAccessVariableInstruction(PhpVariableInferredTypeAnalyzerProcessor.java:44)
    at com.jetbrains.php.codeInsight.controlFlow.instructions.impl.PhpAccessVariableInstructionImpl.process(PhpAccessVariableInstructionImpl.java:35)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessors(PhpControlFlowUtil.java:124)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessorsIgnoreInitialBackEdges(PhpControlFlowUtil.java:104)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:141)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getInferredType(VariableImpl.java:604)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeAnalyzerProcessor.processAccessInstruction(PhpTypeAnalyzerProcessor.java:49)
    at com.jetbrains.php.codeInsight.typeInference.PhpVariableInferredTypeAnalyzerProcessor.processAccessVariableInstruction(PhpVariableInferredTypeAnalyzerProcessor.java:44)
    at com.jetbrains.php.codeInsight.controlFlow.instructions.impl.PhpAccessVariableInstructionImpl.process(PhpAccessVariableInstructionImpl.java:35)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessors(PhpControlFlowUtil.java:124)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowUtil.processPredecessorsIgnoreInitialBackEdges(PhpControlFlowUtil.java:104)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeAnalyserVisitor.visitPhpVariable(PhpTypeAnalyserVisitor.java:141)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.accept(VariableImpl.java:108)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:51)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getInferredType(PhpTypeInferenceUtil.java:208)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:198)
    at com.jetbrains.php.codeInsight.typeInference.PhpTypeInferenceUtil.getType(PhpTypeInferenceUtil.java:189)
    at com.jetbrains.php.lang.psi.elements.impl.VariableImpl.getType(VariableImpl.java:586)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.impl.source.PsiFileImpl.calcStubTree(PsiFileImpl.java:966)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:45)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:229)
    at com.intellij.psi.stubs.StubIndexImpl$1.perform(StubIndexImpl.java:221)
    at com.intellij.util.indexing.ValueContainer.forEach(ValueContainer.java:60)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:221)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.isContainerGetCall(SymfonyContainerTypeProvider.java:69)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:40)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecurs

Plugin Errors in Silex

I'm switching between Symfony2 and Silex projects so it would be usefull create some detection or enable/disable per project couse inside Silex plugin is cousing errors like these:

Operation not supported in: class com.jetbrains.php.lang.documentation.phpdoc.psi.impl.PhpDocMethodImpl: Operation not supported in: class com.jetbrains.php.lang.documentation.phpdoc.psi.impl.PhpDocMethodImpl
com.intellij.util.IncorrectOperationException: Operation not supported in: class com.jetbrains.php.lang.documentation.phpdoc.psi.impl.PhpDocMethodImpl
    at com.jetbrains.php.lang.documentation.phpdoc.psi.impl.PhpDocMethodImpl.getControlFlow(PhpDocMethodImpl.java:185)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isCallTo(SymfonyInterfacesHelper.java:72)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isCallTo(SymfonyInterfacesHelper.java:84)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isCallTo(SymfonyInterfacesHelper.java:30)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isContainerGetCall(SymfonyInterfacesHelper.java:16)
    at fr.adrienbrault.idea.symfony2plugin.dic.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:24)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:123)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at com.jetbrains.php.lang.annotator.PhpAnnotatorVisitor.checkAccessModifiers(PhpAnnotatorVisitor.java:303)
    at com.jetbrains.php.lang.annotator.PhpAnnotatorVisitor.visitPhpMethodReference(PhpAnnotatorVisitor.java:286)
    at com.jetbrains.php.lang.psi.elements.impl.MethodReferenceImpl.accept(MethodReferenceImpl.java:31)
    at com.jetbrains.php.lang.annotator.PhpAnnotator.annotate(PhpAnnotator.java:17)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:160)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:103)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$10.run(GeneralHighlightingPass.java:644)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:757)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$3500(GeneralHighlightingPass.java:83)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$12.run(GeneralHighlightingPass.java:763)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:87)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:760)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:717)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:208)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:58)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:357)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1182)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:348)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:345)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:321)
    at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:145)
    at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:142)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

Type missmatch error

Hi, I had the following error:

Stub and PSI element type mismatch in UnavailabilityFunction.php: stub PhpMethodStubImpl, AST Class field; Element(Class field)
java.lang.Throwable
  at com.intellij.openapi.diagnostic.Logger.error(Logger.java:54)
    at com.intellij.psi.impl.source.PsiFileImpl$1.visitNode(PsiFileImpl.java:299)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitComposite(RecursiveTreeElementWalkingVisitor.java:76)
    at com.intellij.psi.impl.source.tree.CompositeElement.acceptTree(CompositeElement.java:157)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor$1.visit(RecursiveTreeElementWalkingVisitor.java:65)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor$1.visit(RecursiveTreeElementWalkingVisitor.java:58)
    at com.intellij.util.WalkingState.walkChildren(WalkingState.java:65)
    at com.intellij.util.WalkingState.elementStarted(WalkingState.java:52)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitNode(RecursiveTreeElementWalkingVisitor.java:81)
    at com.intellij.psi.impl.source.PsiFileImpl$1.visitNode(PsiFileImpl.java:313)
    at com.intellij.psi.impl.source.tree.RecursiveTreeElementWalkingVisitor.visitComposite(RecursiveTreeElementWalkingVisitor.java:76)
    at com.intellij.psi.impl.source.tree.CompositeElement.acceptTree(CompositeElement.java:157)
    at com.intellij.psi.impl.source.PsiFileImpl.a(PsiFileImpl.java:278)
    at com.intellij.psi.impl.source.PsiFileImpl.b(PsiFileImpl.java:212)
    at com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:736)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:87)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getFirstChild(ASTDelegatePsiElement.java:87)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:68)
    at com.jetbrains.php.codeInsight.controlFlow.PhpControlFlowBuilder.build(PhpControlFlowBuilder.java:105)
    at com.jetbrains.php.codeInsight.PhpScopeImpl.getControlFlow(PhpScopeImpl.java:35)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getControlFlow(FunctionImpl.java:224)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isCallTo(SymfonyInterfacesHelper.java:72)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isCallTo(SymfonyInterfacesHelper.java:30)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isContainerGetCall(SymfonyInterfacesHelper.java:16)
    at fr.adrienbrault.idea.symfony2plugin.dic.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:24)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:64)
    at com.intellij.psi.stubs.StubUpdatingIndex$3$1.run(StubUpdatingIndex.java:120)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
    at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:117)
    at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:111)
    at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:215)
    at com.intellij.util.indexing.FileBasedIndexImpl$24.run(FileBasedIndexImpl.java:1706)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:137)
    at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1702)
    at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1666)
    at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.processFileImpl(FileBasedIndexImpl.java:2128)
    at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.forceUpdate(FileBasedIndexImpl.java:2091)
    at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.access$1600(FileBasedIndexImpl.java:1787)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:779)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:751)
    at com.intellij.psi.stubs.StubIndexImpl.process(StubIndexImpl.java:205)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:194)
    at com.jetbrains.php.PhpIndexImpl.getClassesByNameInScope(PhpIndexImpl.java:257)
    at com.jetbrains.php.PhpIndexImpl.getClassesByName(PhpIndexImpl.java:251)
    at com.jetbrains.php.PhpIndexImpl.getClassesByFQN(PhpIndexImpl.java:460)
    at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:505)
    at com.jetbrains.php.lang.psi.elements.impl.MemberReferenceImpl.resolveGlobal(MemberReferenceImpl.java:147)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:106)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl$1.resolve(PhpReferenceImpl.java:103)
    at com.intellij.psi.impl.source.resolve.ResolveCache$2.compute(ResolveCache.java:107)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:104)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:132)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:124)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.multiResolve(PhpReferenceImpl.java:98)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.resolve(PhpReferenceImpl.java:85)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isCallTo(SymfonyInterfacesHelper.java:47)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isCallTo(SymfonyInterfacesHelper.java:30)
    at fr.adrienbrault.idea.symfony2plugin.SymfonyInterfacesHelper.isContainerGetCall(SymfonyInterfacesHelper.java:16)
    at fr.adrienbrault.idea.symfony2plugin.dic.SymfonyContainerTypeProvider.getType(SymfonyContainerTypeProvider.java:24)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:46)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo$1.internalCompute(PhpTypeInfo.java:41)
    at com.intellij.openapi.util.Computable$NotNullCachedComputable.compute(Computable.java:52)
    at com.intellij.openapi.util.RecursionManager$2.doPreventingRecursion(RecursionManager.java:110)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:41)
    at com.jetbrains.php.lang.psi.resolve.types.PhpTypeInfo.getType(PhpTypeInfo.java:23)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReferenceImpl.getType(PhpReferenceImpl.java:152)
    at com.jetbrains.php.lang.psi.resolve.types.PhpType.add(PhpType.java:152)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl$3.visitPhpReturn(FunctionImpl.java:208)
    at com.jetbrains.php.lang.psi.elements.impl.PhpReturnImpl.accept(PhpReturnImpl.java:19)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpGroupStatement(PhpElementVisitor.java:200)
    at com.jetbrains.php.lang.psi.elements.impl.GroupStatementImpl.accept(GroupStatementImpl.java:60)
    at com.jetbrains.php.lang.psi.visitors.PhpRecursiveElementVisitor.visitElement(PhpRecursiveElementVisitor.java:29)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpElement(PhpElementVisitor.java:20)
    at com.jetbrains.php.lang.psi.visitors.PhpElementVisitor.visitPhpMethod(PhpElementVisitor.java:28)
    at com.jetbrains.php.lang.psi.elements.impl.MethodImpl.accept(MethodImpl.java:97)
    at com.jetbrains.php.lang.psi.elements.impl.FunctionImpl.getLocalType(FunctionImpl.java:194)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:30)
    at com.jetbrains.php.lang.psi.stubs.PhpMethodElementType.createStub(PhpMethodElementType.java:20)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTreeFor(DefaultStubBuilder.java:59)
    at com.intellij.psi.stubs.DefaultStubBuilder.buildStubTree(DefaultStubBuilder.java:37)
    at com.intellij.psi.stubs.StubTreeBuilder.buildStubTree(StubTreeBuilder.java:64)
    at com.intellij.psi.stubs.StubUpdatingIndex$3$1.run(StubUpdatingIndex.java:120)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:929)
    at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:117)
    at com.intellij.psi.stubs.StubUpdatingIndex$3.map(StubUpdatingIndex.java:111)
    at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:215)
    at com.intellij.util.indexing.FileBasedIndexImpl$24.run(FileBasedIndexImpl.java:1706)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:137)
    at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1702)
    at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1666)
    at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.processFileImpl(FileBasedIndexImpl.java:2128)
    at com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.access$3100(FileBasedIndexImpl.java:1787)
    at com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1630)
    at com.intellij.util.indexing.FileBasedIndexProjectHandler$RefreshCacheUpdater.processFile(FileBasedIndexProjectHandler.java:131)
    at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
    at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:231)
    at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:240)
    at com.intellij.openapi.project.CacheUpdateRunner$4.run(CacheUpdateRunner.java:265)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:454)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152)

Hope it can help to fix a bug, thank you! :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.