Seems there is a recursion at vendor/zircote/swagger-php/src/StaticAnalyser.php on line 276
Checked out latest version 2.0.11, ran it through ./vendor/bin/swagger against project that has no annotations and got error in title
Upd. Seems that its caused by consecutive comments with // that are more than 256 lines long — cleaning up project from // to /* lots of lines */ helped
PHP doesn't have a Maximum function nesting level, however when you enable the xdebug extension you do.
I've fixed the issue for // comments, until that's released a quickfix would be set xdebug.max_nesting_level=1000 in your php.ini or disable xdebug
Most helpful comment
PHP doesn't have a
Maximum function nesting level, however when you enable thexdebugextension you do.I've fixed the issue for
//comments, until that's released a quickfix would be setxdebug.max_nesting_level=1000in your php.ini or disable xdebug