{"action":"created","issue":{"url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/710","repository_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin","labels_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/710/comments","events_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/710/events","html_url":"https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/710","id":146547659,"number":710,"title":"[Yaml] Expected instance of: <FQCN of last parameter>","user":{"login":"MisatoTremor","id":3536384,"avatar_url":"https://avatars.githubusercontent.com/u/3536384?v=3","gravatar_id":"","url":"https://api.github.com/users/MisatoTremor","html_url":"https://github.com/MisatoTremor","followers_url":"https://api.github.com/users/MisatoTremor/followers","following_url":"https://api.github.com/users/MisatoTremor/following{/other_user}","gists_url":"https://api.github.com/users/MisatoTremor/gists{/gist_id}","starred_url":"https://api.github.com/users/MisatoTremor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MisatoTremor/subscriptions","organizations_url":"https://api.github.com/users/MisatoTremor/orgs","repos_url":"https://api.github.com/users/MisatoTremor/repos","events_url":"https://api.github.com/users/MisatoTremor/events{/privacy}","received_events_url":"https://api.github.com/users/MisatoTremor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/labels/fixed","name":"fixed","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-07T08:38:23Z","updated_at":"2016-04-12T09:07:47Z","closed_at":"2016-04-12T09:07:47Z","body":"I think this started after updating to 0.12.115.\r\nI get warnings for every service defined in YAML using multiple arguments. Using the following definition\r\n\r\n```yaml\r\nservices:\r\n    foo_bar.baz_subscriber:\r\n        class: 'Foo\\BarBundle\\EventSubscriber\\BazSubscriber'\r\n        arguments: ['@security.authorization_checker', '@security.token_storage', '@router']\r\n        tags:\r\n            - { name: 'kernel.event_subscriber' }\r\n```\r\n\r\n```php\r\nnamespace Foo\\BarBundle\\EventSubscriber;\r\n\r\nuse Symfony\\Component\\EventDispatcher\\EventSubscriberInterface;\r\nuse Symfony\\Component\\Routing\\RouterInterface;\r\nuse Symfony\\Component\\Security\\Core\\Authentication\\Token\\Storage\\TokenStorageInterface;\r\n\r\nclass BazSubscriber implements EventSubscriberInterface\r\n{\r\n    /**\r\n     * @var AuthorizationCheckerInterface\r\n     */\r\n    private $authorizationChecker;\r\n    /**\r\n     * @var TokenStorageInterface\r\n     */\r\n    private $tokenStorage;\r\n    /**\r\n     * @var RouterInterface\r\n     */\r\n    private $router;\r\n\r\n    /**\r\n     * @param AuthorizationCheckerInterface $authorizationChecker\r\n     * @param TokenStorageInterface         $tokenStorage\r\n     * @param RouterInterface               $router\r\n     */\r\n    public function __construct(\r\n        AuthorizationCheckerInterface $authorizationChecker,\r\n        TokenStorageInterface $tokenStorage,\r\n        RouterInterface $router\r\n    ) {\r\n        $this->authorizationChecker = $authorizationChecker;\r\n        $this->tokenStorage = $tokenStorage;\r\n        $this->router = $router;\r\n    }\r\n\r\n    // ...\r\n}\r\n```\r\n\r\nWill show warnings for the first 2 arguments:\r\n``Expected instance of: Symfony\\Component\\Routing\\RouterInterface``"},"comment":{"url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/comments/208805357","html_url":"https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/710#issuecomment-208805357","issue_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/710","id":208805357,"user":{"login":"Haehnchen","id":1011712,"avatar_url":"https://avatars.githubusercontent.com/u/1011712?v=3","gravatar_id":"","url":"https://api.github.com/users/Haehnchen","html_url":"https://github.com/Haehnchen","followers_url":"https://api.github.com/users/Haehnchen/followers","following_url":"https://api.github.com/users/Haehnchen/following{/other_user}","gists_url":"https://api.github.com/users/Haehnchen/gists{/gist_id}","starred_url":"https://api.github.com/users/Haehnchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Haehnchen/subscriptions","organizations_url":"https://api.github.com/users/Haehnchen/orgs","repos_url":"https://api.github.com/users/Haehnchen/repos","events_url":"https://api.github.com/users/Haehnchen/events{/privacy}","received_events_url":"https://api.github.com/users/Haehnchen/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T09:07:47Z","updated_at":"2016-04-12T09:07:47Z","body":"fixed because of migration"}}