{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":649664617,"defaultBranch":"3.x","name":"Twig","ownerLogin":"alisqi","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-06-05T11:20:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/783457?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1710603879.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"612852805fdfe94a12a28e1339a5bfd02a3eda9e","ref":"refs/heads/implicit-default-value","pushedAt":"2024-03-16T15:44:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Mark implicit macro argument default values as such with an attribute\n\nThis change causes no difference to compiled templates or to macro argument semantics.\n\nConsider the following macro:\n```twig\n{% macro marco(po, lo = null) %}{% endmacro %}\n```\n\nWith this change, the `ConstantExpression` for argument `po` will have an attribute `isImplicit`, whose value will be `true`. (Note that `lo` will not have that attribute.)\n\nThis allows node visitors to distinguish between arguments that do and those that do not have\nexplicit default values even if the value is `null`.\n\nThis is useful for [static code analysis](https://github.com/twigphp/Twig/issues/4003).\n\nFor example, a static analysis tool might consider arguments with no explicit default value as non-optional.","shortMessageHtmlLink":"Mark implicit macro argument default values as such with an attribute"}},{"before":"07f1b8a9f2815ecb439704d99c0e2acb8313149e","after":"4d41a2caa4e2b220785c4ecd7431ad10f5311e3a","ref":"refs/heads/add-comment-node","pushedAt":"2024-03-16T13:46:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Adjust code style","shortMessageHtmlLink":"Adjust code style"}},{"before":null,"after":"07f1b8a9f2815ecb439704d99c0e2acb8313149e","ref":"refs/heads/add-comment-node","pushedAt":"2024-03-16T13:26:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Add CommentNode to the AST\n\nThese nodes have no effect on compiled templates.\n\nAdding these to the TokenStream and AST enables extensions to add logic in\nnode visitors, such as parsing PHPDoc-style `@var string name` comments.\n\nThis in turn is invaluable for static code analysis of Twig templates as\nbriefly discussed in [#4003](https://github.com/twigphp/Twig/issues/4003) and in more detail in [TwigStan](https://github.com/alisqi/twig-stan/)'s README.","shortMessageHtmlLink":"Add CommentNode to the AST"}},{"before":"981da0599e3c4210e8d07dcdf38f4431d3c64596","after":"b46e93c7257fb01b7c77768210997b1e00643b91","ref":"refs/heads/3.x","pushedAt":"2024-03-16T12:39:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Minor fixes","shortMessageHtmlLink":"Minor fixes"}},{"before":"16488bb0e27fed9c984ccb842191a5a6f4b3714c","after":"02b1fd4a281fef7dd29f9c81faeeba5b68e29c28","ref":"refs/heads/fix-formatDateTime","pushedAt":"2023-06-27T08:22:51.390Z","pushType":"push","commitsCount":2,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Improve tests for Intl extension","shortMessageHtmlLink":"Improve tests for Intl extension"}},{"before":"981da0599e3c4210e8d07dcdf38f4431d3c64596","after":"16488bb0e27fed9c984ccb842191a5a6f4b3714c","ref":"refs/heads/fix-formatDateTime","pushedAt":"2023-06-05T12:46:24.846Z","pushType":"push","commitsCount":1,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Add test for format_datetime","shortMessageHtmlLink":"Add test for format_datetime"}},{"before":null,"after":"a3abbeb4a51c9b80400353eb42b5f6ade2e5e587","ref":"refs/heads/fix-formatDatetime-prototype-pattern","pushedAt":"2023-06-05T11:33:43.054Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Fix IntlExtension::formatDateTime uses prototype pattern if set\n\nSee https://github.com/twigphp/intl-extra/pull/7 for details","shortMessageHtmlLink":"Fix IntlExtension::formatDateTime uses prototype pattern if set"}},{"before":null,"after":"981da0599e3c4210e8d07dcdf38f4431d3c64596","ref":"refs/heads/fix-formatDateTime","pushedAt":"2023-06-05T11:29:20.942Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Fix IntlExtension::formatDateTime use of date formatter prototype\n\nSee https://github.com/twigphp/intl-extra/pull/6 for more details","shortMessageHtmlLink":"Fix IntlExtension::formatDateTime use of date formatter prototype"}},{"before":"833e51ea358e152d41ad46f30a7a4cbb38c44aed","after":"981da0599e3c4210e8d07dcdf38f4431d3c64596","ref":"refs/heads/3.x","pushedAt":"2023-06-05T11:28:37.023Z","pushType":"push","commitsCount":1,"pusher":{"login":"drjayvee","name":"Jeroen Versteeg","path":"/drjayvee","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3079883?s=80&v=4"},"commit":{"message":"Fix IntlExtension::formatDateTime use of date formatter prototype\n\nSee https://github.com/twigphp/intl-extra/pull/6 for more details","shortMessageHtmlLink":"Fix IntlExtension::formatDateTime use of date formatter prototype"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEF2zZuAA","startCursor":null,"endCursor":null}},"title":"Activity ยท alisqi/Twig"}