{"action":"created","issue":{"url":"https://api.github.com/repos/Halleck45/PhpMetrics/issues/139","labels_url":"https://api.github.com/repos/Halleck45/PhpMetrics/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/Halleck45/PhpMetrics/issues/139/comments","events_url":"https://api.github.com/repos/Halleck45/PhpMetrics/issues/139/events","html_url":"https://github.com/Halleck45/PhpMetrics/issues/139","id":94003675,"number":139,"title":"Exception: Closure detected instead of method","user":{"login":"andreimavenhut","id":10139867,"avatar_url":"https://avatars.githubusercontent.com/u/10139867?v=3","gravatar_id":"","url":"https://api.github.com/users/andreimavenhut","html_url":"https://github.com/andreimavenhut","followers_url":"https://api.github.com/users/andreimavenhut/followers","following_url":"https://api.github.com/users/andreimavenhut/following{/other_user}","gists_url":"https://api.github.com/users/andreimavenhut/gists{/gist_id}","starred_url":"https://api.github.com/users/andreimavenhut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreimavenhut/subscriptions","organizations_url":"https://api.github.com/users/andreimavenhut/orgs","repos_url":"https://api.github.com/users/andreimavenhut/repos","events_url":"https://api.github.com/users/andreimavenhut/events{/privacy}","received_events_url":"https://api.github.com/users/andreimavenhut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-09T09:45:41Z","updated_at":"2015-11-28T13:46:57Z","closed_at":null,"body":"[Exception]\r\n  a 'Exception' exception occured analyzing file ./lib/Google/Service/Directory.php\r\n  Message: Closure detected instead of method\r\n  Details:\r\n  ------------\r\n  Stack:\r\n  #0 phar:///usr/local/bin/phpmetrics/src/Hal/Component/OOP/Extractor/Extractor.php(128): Hal\\Component\\OOP\\Extractor\\MethodExtractor->extract(15160, Object(Hal\\Component\\Token\\TokenCollection))\r\n  #1 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/Analyze/FileAnalyzer.php(138): Hal\\Component\\OOP\\Extractor\\Extractor->extract('./lib/Google/Se...')\r\n  #2 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/DoAnalyze.php(121): Hal\\Application\\Command\\Job\\Analyze\\FileAnalyzer->execute('./lib/Google/Se...')\r\n  #3 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/Job/Queue.php(51): Hal\\Application\\Command\\Job\\DoAnalyze->execute(Object(Hal\\Component\\Result\\ResultCollection), Object(Hal\\Component\\Result\\ResultCollection))\r\n  #4 phar:///usr/local/bin/phpmetrics/src/Hal/Application/Command/RunMetricsCommand.php(119): Hal\\Application\\Command\\Job\\Queue->execute(Object(Hal\\Component\\Result\\ResultCollection), Object(Hal\\Component\\Result\\ResultCollection))\r\n  #5 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Hal\\Application\\Command\\RunMetricsCommand->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutpu\r\n  t))\r\n  #6 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n  #7 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\\Component\\Console\\Application->doRunCommand(Object(Hal\\Application\\Command\\RunMetricsCommand), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Obje\r\n  ct(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n  #8 phar:///usr/local/bin/phpmetrics/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n  #9 /usr/local/bin/phpmetrics(17): Symfony\\Component\\Console\\Application->run()\r\n  #10 {main}\r\n  ------------"},"comment":{"url":"https://api.github.com/repos/Halleck45/PhpMetrics/issues/comments/160296760","html_url":"https://github.com/Halleck45/PhpMetrics/issues/139#issuecomment-160296760","issue_url":"https://api.github.com/repos/Halleck45/PhpMetrics/issues/139","id":160296760,"user":{"login":"fonsecas72","id":1098293,"avatar_url":"https://avatars.githubusercontent.com/u/1098293?v=3","gravatar_id":"","url":"https://api.github.com/users/fonsecas72","html_url":"https://github.com/fonsecas72","followers_url":"https://api.github.com/users/fonsecas72/followers","following_url":"https://api.github.com/users/fonsecas72/following{/other_user}","gists_url":"https://api.github.com/users/fonsecas72/gists{/gist_id}","starred_url":"https://api.github.com/users/fonsecas72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonsecas72/subscriptions","organizations_url":"https://api.github.com/users/fonsecas72/orgs","repos_url":"https://api.github.com/users/fonsecas72/repos","events_url":"https://api.github.com/users/fonsecas72/events{/privacy}","received_events_url":"https://api.github.com/users/fonsecas72/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T13:46:57Z","updated_at":"2015-11-28T13:46:57Z","body":"I think that the best solution right now would be to ignore big files. Nevertheless I think we should give the user the possibility of setting this limit."}}