{"action":"created","issue":{"url":"https://api.github.com/repos/lisachenko/go-aop-php/issues/224","labels_url":"https://api.github.com/repos/lisachenko/go-aop-php/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/lisachenko/go-aop-php/issues/224/comments","events_url":"https://api.github.com/repos/lisachenko/go-aop-php/issues/224/events","html_url":"https://github.com/lisachenko/go-aop-php/issues/224","id":85514861,"number":224,"title":"before first run go-aop-php replaces vendor/autoload.php","user":{"login":"itcreator","id":928509,"avatar_url":"https://avatars.githubusercontent.com/u/928509?v=3","gravatar_id":"","url":"https://api.github.com/users/itcreator","html_url":"https://github.com/itcreator","followers_url":"https://api.github.com/users/itcreator/followers","following_url":"https://api.github.com/users/itcreator/following{/other_user}","gists_url":"https://api.github.com/users/itcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/itcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itcreator/subscriptions","organizations_url":"https://api.github.com/users/itcreator/orgs","repos_url":"https://api.github.com/users/itcreator/repos","events_url":"https://api.github.com/users/itcreator/events{/privacy}","received_events_url":"https://api.github.com/users/itcreator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lisachenko/go-aop-php/labels/Support","name":"Support","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T11:56:34Z","updated_at":"2015-06-09T11:37:21Z","closed_at":null,"body":"before first run go-aop-php replaces vendor/autoload.php\r\n\r\nfrom some like this\r\n```\r\n<?php\r\n\r\n// autoload.php @generated by Composer\r\n\r\nrequire_once __DIR__ . '/composer' . '/autoload_real.php';\r\n\r\nreturn ComposerAutoloaderInit798bcdb19f45fb3fe1a5432366b6f53e::getLoader();\r\n\r\n```\r\n\r\nto\r\n\r\n```\r\n// autoload.php @generated by Composer\r\n\r\nrequire_once \\Go\\Instrument\\Transformer\\FilterInjectorTransformer::rewrite( '/vagrant/vendor' . '/composer' . '/autoload_real.php', '/vagrant/vendor');\r\n\r\nreturn ComposerAutoloaderInit798bcdb19f45fb3fe1a5432366b6f53e::getLoader();\r\n\r\n```\r\n \r\nAnd I see this error\r\n```\r\nPHP Fatal error:  Class 'Go\\Instrument\\Transformer\\FilterInjectorTransformer' not found in /vagrant/vendor/autoload.php on line 5\r\nPHP Stack trace:\r\nPHP   1. {main}() /vagrant/bin/console.php:0\r\nPHP   2. require_once() /vagrant/bin/console.php:4\r\n\r\n```\r\n\r\n\r\nand go-aop php replace directives require/include in other libs\r\n\r\nfor example Symfony\\Component\\Translation\\Translator::initializeCacheCatalogue():373\r\n\r\nbefore: \r\n```\r\n$this->catalogues[$locale] = include $cache;\r\n```\r\nafter:\r\n```\r\n$this->catalogues[$locale] = include \\Go\\Instrument\\Transformer\\FilterInjectorTransformer::rewrite( $cache, '/vagrant/vendor/symfony/translation/Symfony/Component/Translation');\r\n```\r\nIt is correct?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lisachenko/go-aop-php/issues/comments/110327305","html_url":"https://github.com/lisachenko/go-aop-php/issues/224#issuecomment-110327305","issue_url":"https://api.github.com/repos/lisachenko/go-aop-php/issues/224","id":110327305,"user":{"login":"itcreator","id":928509,"avatar_url":"https://avatars.githubusercontent.com/u/928509?v=3","gravatar_id":"","url":"https://api.github.com/users/itcreator","html_url":"https://github.com/itcreator","followers_url":"https://api.github.com/users/itcreator/followers","following_url":"https://api.github.com/users/itcreator/following{/other_user}","gists_url":"https://api.github.com/users/itcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/itcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itcreator/subscriptions","organizations_url":"https://api.github.com/users/itcreator/orgs","repos_url":"https://api.github.com/users/itcreator/repos","events_url":"https://api.github.com/users/itcreator/events{/privacy}","received_events_url":"https://api.github.com/users/itcreator/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T11:37:21Z","updated_at":"2015-06-09T11:37:21Z","body":"latest stable version 0.6.0"}}