{"commits":[{"author":{"email":"902a55dc5b2177292400c37fda7b36d6d09fd683@gmail.com","name":"Martin Hasoň"},"sha":"16d780043f20c21fdeef409889051a760ed0a6d6","message":"fixed a crash when an object with __toString() method is passed as template name","url":"https://api.github.com/repos/fabpot/Twig/commits/16d780043f20c21fdeef409889051a760ed0a6d6"},{"author":{"email":"d4f8dcd89cfe40276c0fbf336903f4a05ab082c9@gmail.com","name":"Fabien Potencier"},"sha":"b2149e7955c78f4914935f0bc3f02bb6c96946f2","message":"merged branch hason/arrayloader (PR #542)\n\nCommits\n-------\n\n16d7800 fixed a crash when an object with __toString() method is passed as template name\n\nDiscussion\n----------\n\nfixed a crash when an object with __toString() method is passed as templ...\n\n...ate name\n\n---------------------------------------------------------------------------\n\nby fabpot at 2011/12/01 03:58:47 -0800\n\nNot sure about this one as the phpdoc clearly state that the name is a string. Do you have a specific user case in mind?\n\n---------------------------------------------------------------------------\n\nby hason at 2011/12/01 04:26:47 -0800\n\nI use the class \"Twig_Loader_Chain\" as template loader in Symfony2 application. One of the embeded loaders is \"Twig_Loader_Array\". In Symfony2 is used \"Symfony\\Component\\Templating\\TemplateReferenceInterface\" for internal representation of a template and it causes a crash.","url":"https://api.github.com/repos/fabpot/Twig/commits/b2149e7955c78f4914935f0bc3f02bb6c96946f2"}],"ref":"refs/heads/master","head":"b2149e7955c78f4914935f0bc3f02bb6c96946f2","push_id":52306158,"size":2}