Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Added ability to ignore namespaces to classmap generator #3896

Merged
merged 2 commits into from Mar 11, 2013

Conversation

Projects
None yet
4 participants
Member

Freeaqingme commented Feb 25, 2013

This PR allows one to scan an entire project dir at once, and merely specify the namespaces he doesn't want to index (e.g. ZendTest).

@Maks3w Maks3w commented on an outdated diff Feb 25, 2013

bin/classmap_generator.php
@@ -53,6 +53,7 @@
'output|o-s' => 'Where to write autoload file; if not provided, assumes "autoload_classmap.php" in library directory',
'append|a' => 'Append to autoload file if it exists',
'overwrite|w' => 'Whether or not to overwrite existing autoload file',
+ 'ignore|i-s' => 'Comma-separated namespaces to ignore',
@Maks3w

Maks3w Feb 25, 2013

Member

This should be added to the class docblock too

Member

Freeaqingme commented Feb 25, 2013

Updated

Contributor

prolic commented Mar 2, 2013

Good job! Can you do the same for class prefixes? e.g. I want to remove ZendTest_* from my classmaps.

@weierophinney weierophinney was assigned Mar 8, 2013

@weierophinney weierophinney added a commit that referenced this pull request Mar 11, 2013

@weierophinney weierophinney Merge pull request #3896 from Freeaqingme/classmapGenIgnores
Added ability to ignore namespaces to classmap generator
f43111d

@weierophinney weierophinney added a commit that referenced this pull request Mar 11, 2013

@weierophinney weierophinney Merge branch 'hotfix/3896' into develop
Close #3896
fb6c93b

@weierophinney weierophinney merged commit 26205ea into zendframework:develop Mar 11, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment