{"push_id":2851319007,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"e54dd4e600bab67a5e19da1fecf1ffe6c58f1101","before":"4ad01a95af589289f96076206dc2ede8528ad7f7","commits":[{"sha":"7ef3d39a4c032247d219b871a7b3db43371ae4e3","author":{"name":"Yonel Ceruto","email":"ce0a074821b5ef7979582e46d89bdcdd37c31f61@gmail.com"},"message":"[TwigBridge] Added template \\\"name\\\" argument to debug:twig command to find their paths","distinct":true,"url":"https://api.github.com/repos/symfony/symfony/commits/7ef3d39a4c032247d219b871a7b3db43371ae4e3"},{"sha":"e54dd4e600bab67a5e19da1fecf1ffe6c58f1101","author":{"name":"Fabien Potencier","email":"777bcfcf9efee56bedca63c5eb2304e67df52892@potencier.org"},"message":"feature #27981 [TwigBridge] Added template \"name\" argument to debug:twig command to find their paths (yceruto)\n\nThis PR was squashed before being merged into the 4.2-dev branch (closes #27981).\n\nDiscussion\n----------\n\n[TwigBridge] Added template \"name\" argument to debug:twig command to find their paths\n\n| Q             | A\n| ------------- | ---\n| Branch?       | master\n| Bug fix?      | no\n| New feature?  | yes\n| BC breaks?    | no\n| Deprecations? | no\n| Tests pass?   | yes\n| Fixed tickets | #27911\n| License       | MIT\n| Doc PR        | https://github.com/symfony/symfony-docs/pull/10232\n\nFind the template file (to load by Twig) from a given template name (useful to know which file will be loaded exactly and which ones don't):\n![debug-twig-loader-overridden](https://user-images.githubusercontent.com/2028198/42849959-81a8c49a-89f3-11e8-8d93-21581fe606a9.png)\nThis will also show the overridden files if they exist and the paths corresponding to their namespace.\n\nIn addition, the command suggests alternatives if you made a typo (this way you can check your template name quickly):\n\n| namespace typo | template name typo |\n| --- | --- |\n| ![debug-twig-loader-ns-typo-alt](https://user-images.githubusercontent.com/2028198/42850624-81803e3c-89f6-11e8-8a92-11f09c99d13c.png) | ![debug-twig-loader-typo-alt](https://user-images.githubusercontent.com/2028198/42850644-99571238-89f6-11e8-9cf7-ed9b880f3d81.png) |\n\n<details>\n<summary><strong>Other outputs</strong></summary>\n\nDiscovering more alternatives:\n![debug-twig-loader-not-found-many-alt](https://user-images.githubusercontent.com/2028198/42850815-82a30eb0-89f7-11e8-8d23-530f8ff325bc.png)\n\nUnknown template name:\n![debug-twig-loader-not-found](https://user-images.githubusercontent.com/2028198/42850882-d647aad0-89f7-11e8-9735-94149895437f.png)\n</details>\n\n## Update\nThe feature was introduced into `debug:twig` command and the `filter` argument was converted to `--filter` option. The `name` argument is now the first one of the command.\n\nCommits\n-------\n\n7ef3d39a4c [TwigBridge] Added template \\\"name\\\" argument to debug:twig command to find their paths","distinct":true,"url":"https://api.github.com/repos/symfony/symfony/commits/e54dd4e600bab67a5e19da1fecf1ffe6c58f1101"}]}
{"actor":{"display_login":"fabpot"}}