Created
July 29, 2016 15:14
-
-
Save andkirby/21beed0b38e6685c3783f7ebef4ca842 to your computer and use it in GitHub Desktop.
Symfony console .phpstorm.meta.php file for helpers.
Actual for v3.1.2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace PHPSTORM_META { // we want to avoid the pollution | |
/** @noinspection PhpUnusedLocalVariableInspection */ | |
/** @noinspection PhpIllegalArrayKeyTypeInspection */ | |
$STATIC_METHOD_TYPES = [ | |
\Symfony\Component\Console\Command\Command::getHelper('') => [ | |
'question' instanceof \Symfony\Component\Console\Helper\QuestionHelper, | |
'process' instanceof \Symfony\Component\Console\Helper\ProcessHelper, | |
'debug_formatter' instanceof \Symfony\Component\Console\Helper\DebugFormatterHelper, | |
'descriptor' instanceof \Symfony\Component\Console\Helper\DescriptorHelper, | |
'formatter' instanceof \Symfony\Component\Console\Helper\FormatterHelper, | |
'input_aware' instanceof \Symfony\Component\Console\Helper\InputAwareHelper, | |
'symfony_question' instanceof \Symfony\Component\Console\Helper\SymfonyQuestionHelper, | |
], | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment