{"action":"created","issue":{"url":"https://api.github.com/repos/Symplify/Symplify/issues/774","repository_url":"https://api.github.com/repos/Symplify/Symplify","labels_url":"https://api.github.com/repos/Symplify/Symplify/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/Symplify/Symplify/issues/774/comments","events_url":"https://api.github.com/repos/Symplify/Symplify/issues/774/events","html_url":"https://github.com/Symplify/Symplify/issues/774","id":312994516,"number":774,"title":"[ECS] running on a single file throws an error","user":{"login":"unhawkable","id":14310995,"avatar_url":"https://avatars2.githubusercontent.com/u/14310995?v=4","gravatar_id":"","url":"https://api.github.com/users/unhawkable","html_url":"https://github.com/unhawkable","followers_url":"https://api.github.com/users/unhawkable/followers","following_url":"https://api.github.com/users/unhawkable/following{/other_user}","gists_url":"https://api.github.com/users/unhawkable/gists{/gist_id}","starred_url":"https://api.github.com/users/unhawkable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unhawkable/subscriptions","organizations_url":"https://api.github.com/users/unhawkable/orgs","repos_url":"https://api.github.com/users/unhawkable/repos","events_url":"https://api.github.com/users/unhawkable/events{/privacy}","received_events_url":"https://api.github.com/users/unhawkable/received_events","type":"User","site_admin":false},"labels":[{"id":462484371,"url":"https://api.github.com/repos/Symplify/Symplify/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-10T16:16:14Z","updated_at":"2018-04-26T11:56:27Z","closed_at":null,"author_association":"NONE","body":"Running ecs (v4.0.4) on a single php file throws an error. The yml is as simple as importing psr2.yml only.\r\n\r\n```\r\nλ ecs check init.php --config=easy-coding-standard-test.yml\r\n 1/1 [============================] 100%\r\nIn AppliedCheckersCollector.php line 35:\r\n\r\n  File \"\\init.php\" was changed, but no responsible checkers were added to \"Symplify\\EasyCodingStandard\\Application\\AppliedCheckersCollector\".\r\n\r\n\r\ncheck [--fix] [--clear-cache] [--show-performance] [--no-progress-bar] [--no-error-table] [--] <source> (<source>)...```"},"comment":{"url":"https://api.github.com/repos/Symplify/Symplify/issues/comments/384614171","html_url":"https://github.com/Symplify/Symplify/issues/774#issuecomment-384614171","issue_url":"https://api.github.com/repos/Symplify/Symplify/issues/774","id":384614171,"user":{"login":"TomasVotruba","id":924196,"avatar_url":"https://avatars1.githubusercontent.com/u/924196?v=4","gravatar_id":"","url":"https://api.github.com/users/TomasVotruba","html_url":"https://github.com/TomasVotruba","followers_url":"https://api.github.com/users/TomasVotruba/followers","following_url":"https://api.github.com/users/TomasVotruba/following{/other_user}","gists_url":"https://api.github.com/users/TomasVotruba/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasVotruba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasVotruba/subscriptions","organizations_url":"https://api.github.com/users/TomasVotruba/orgs","repos_url":"https://api.github.com/users/TomasVotruba/repos","events_url":"https://api.github.com/users/TomasVotruba/events{/privacy}","received_events_url":"https://api.github.com/users/TomasVotruba/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T11:56:27Z","updated_at":"2018-04-26T11:56:27Z","author_association":"OWNER","body":"Ok. Try looking on this line: https://github.com/Symplify/Symplify/blob/5603ed130bfd29bfdad050b7726b9c8e65a558fd/packages/EasyCodingStandard/src/Application/AppliedCheckersCollector.php#L31\r\n\r\nIt would be probably caused by path miss match.\r\n\r\nHere might be added different path: https://github.com/Symplify/Symplify/blob/5603ed130bfd29bfdad050b7726b9c8e65a558fd/packages/EasyCodingStandard/src/Application/AppliedCheckersCollector.php#L22\r\n\r\nThen asked here: https://github.com/Symplify/Symplify/blob/5603ed130bfd29bfdad050b7726b9c8e65a558fd/packages/EasyCodingStandard/src/Application/AppliedCheckersCollector.php#L29\r\n\r\nIf you provide me some test data from those spots (`var_dump()` is enough), I could fix it.\r\n\r\nUsing `SplFileInfo` would probably help."}}
{"actor":{"display_login":"TomasVotruba"}}