ZF2-250: classmap_generator.php and Windows paths

Issue Type: Bug Created: 2012-04-03T04:43:52.000+0000 Last Updated: 2012-06-02T22:51:22.000+0000 Status: Resolved Fix version(s): Reporter: Mat Berchtold (mberchtold) Assignee: Maks 3w (maks3w) Tags: Related issues: Attachments:


It seems that bin\classmap_generator.php is not aware of Windows paths.

Running the following command C:\My Projects\Web\test2.local\htdocs\module\Application: php "....\vendor\ZendFramework\bin\classmap_generator.php" --library . --output .\test.php --overwrite

Generates the following line in the output: 'Application\Controller\ContentController' => DIR . '/../C:/My Projects/Web/test2.local/htdocs/module/Application/src/Application/Controller/ContentController.php',

The correct line should be: 'Application\Controller\ContentController' => DIR . '\src\Application\Controller\ContentController.php',


Posted by Maks 3w (maks3w) on 2012-06-02T22:51:22.000+0000

Fixed with PR #1437

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.