{"action":"opened","issue":{"url":"https://api.github.com/repos/WsdlToPhp/PackageGenerator/issues/11","labels_url":"https://api.github.com/repos/WsdlToPhp/PackageGenerator/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/WsdlToPhp/PackageGenerator/issues/11/comments","events_url":"https://api.github.com/repos/WsdlToPhp/PackageGenerator/issues/11/events","html_url":"https://github.com/WsdlToPhp/PackageGenerator/issues/11","id":95198392,"number":11,"title":"Generated ClassMap::classMap can not be static","user":{"login":"harmonwood","id":460843,"avatar_url":"https://avatars.githubusercontent.com/u/460843?v=3","gravatar_id":"","url":"https://api.github.com/users/harmonwood","html_url":"https://github.com/harmonwood","followers_url":"https://api.github.com/users/harmonwood/followers","following_url":"https://api.github.com/users/harmonwood/following{/other_user}","gists_url":"https://api.github.com/users/harmonwood/gists{/gist_id}","starred_url":"https://api.github.com/users/harmonwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harmonwood/subscriptions","organizations_url":"https://api.github.com/users/harmonwood/orgs","repos_url":"https://api.github.com/users/harmonwood/repos","events_url":"https://api.github.com/users/harmonwood/events{/privacy}","received_events_url":"https://api.github.com/users/harmonwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-15T13:47:47Z","updated_at":"2015-07-15T13:47:47Z","closed_at":null,"body":"PHP believes that the generated method ClassMap::classMap is an \"old style\" constructor and therefore cannot be static.\r\n\r\nI believe this gives further support in the disambiguation of ClassMap mentioned in [here](https://github.com/WsdlToPhp/PackageGenerator/issues/8#issuecomment-119273157)\r\n\r\nStack Trace:\r\n\r\n```\r\nPHP Fatal error:  Constructor ClassMap::classMap() cannot be static in /Users/hwood/sandbox/wsdltophp/vendor/wsdltophp/packagegenerator/code/ClassMap.php on line 30\r\nPHP Stack trace:\r\nPHP   1. {main}() /Users/hwood/sandbox/wsdltophp/vendor/wsdltophp/packagegenerator/console:0\r\nPHP   2. Symfony\\Component\\Console\\Application->run() /Users/hwood/sandbox/wsdltophp/vendor/wsdltophp/packagegenerator/console:14\r\nPHP   3. Symfony\\Component\\Console\\Application->doRun() /Users/hwood/sandbox/wsdltophp/vendor/symfony/console/Application.php:126\r\nPHP   4. Symfony\\Component\\Console\\Application->doRunCommand() /Users/hwood/sandbox/wsdltophp/vendor/symfony/console/Application.php:195\r\nPHP   5. Symfony\\Component\\Console\\Command\\Command->run() /Users/hwood/sandbox/wsdltophp/vendor/symfony/console/Application.php:878\r\nPHP   6. WsdlToPhp\\PackageGenerator\\Command\\GeneratePackageCommand->execute() /Users/hwood/sandbox/wsdltophp/vendor/symfony/console/Command/Command.php:259\r\nPHP   7. WsdlToPhp\\PackageGenerator\\Generator\\Generator->generateClasses() /Users/hwood/sandbox/wsdltophp/vendor/wsdltophp/packagegenerator/Command/GeneratePackageCommand.php:101\r\nPHP   8. WsdlToPhp\\PackageGenerator\\Generator\\Generator->generateTutorialFile() /Users/hwood/sandbox/wsdltophp/vendor/wsdltophp/packagegenerator/Generator/Generator.php:234\r\nPHP   9. require_once() /Users/hwood/sandbox/wsdltophp/vendor/wsdltophp/packagegenerator/Generator/Generator.php:565\r\n```\r\n\r\nMy PHP version:\r\n\r\n```\r\nHP 5.5.20 (cli) (built: Feb 25 2015 23:30:53)\r\nCopyright (c) 1997-2014 The PHP Group\r\nZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies\r\n    with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans\r\n```"}}