bug #305 Make Sami skip anonymous classes (fixes #294 and #252) (paulofreitas)
bug #305 Make Sami skip anonymous classes (fixes #294 and #252) (paulofreitas)

This PR was merged into the 4.0-dev branch.

Discussion
----------

Make Sami skip anonymous classes (fixes #294 and #252)

As discussed on issues #294 and #252, there's a bug in Sami that prevents it generating documentations when it reaches anonymous classes nodes - a feature from PHP 7.x.

As it was never supported before and I'm not sure if it's reasonable to have support for that I'm just proposing this PR to skip those anonymous classes and let Sami works flawlessly as before.

Commits
-------

65db55d Make Sami skip anonymous classes

TiS/Sami,FriendsOfPHP/Sami,TiS/Sami,FriendsOfPHP/Sami