Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: cannot build static include with more than 50 files #6

Closed
iceblue13 opened this issue Jan 21, 2011 · 1 comment
Closed

BUG: cannot build static include with more than 50 files #6

iceblue13 opened this issue Jan 21, 2011 · 1 comment

Comments

@iceblue13
Copy link

$phpab -s includes
phpab 1.3.3 - Copyright (C) 2009 - 2011 by Arne Blankerts

Error while processing request:

  • Can't resolve more than 50 levels of dependencies

ClassDependencySorter::resolve increases level, but does not decrease at and of method
This fix works for me:

--- TheSeer/Autoload/dependencysorter.php     2011-01-19 14:50:56.000000000 +0000
+++ TheSeer/Autoload/dependencysorter.php     2011-01-21 13:07:55.000000000 +0000
@@ -87,6 +87,7 @@
             }
          }
          $this->sorted[] = $class;
+         $this->level--;
       }
    }

Best Regards Matthias

@theseer
Copy link
Owner

theseer commented Jan 23, 2011

Hmpf, I knew commiting it without unit tests to cover it was a bad idea ;) Thanx for the fix.

hco pushed a commit to hco/Autoload that referenced this issue Nov 5, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants