glayzzle/php-parser
JavaScriptPHP Parser written in Javascript.
Helping catch up the JavaScript parser to the newest PHP versions.
View on GitHub →Commits 39
ref title
#1272 fix: clone operator precedence #1271 fix: default read visibility to public for shorthand asymmetric syntax #1242 fix: correct location for variadicplaceholder nodes #1236 fix: correct unary minus/plus/tilde precedence #1235 refactor: use explicit T_ATTRIBUTE guard in read_interface_body #1234 fix: raise SyntaxError for final class constants before PHP 8.1 #1233 refactor: remove dead code #1231 fix: pass attrs to trait declarations and support attributes on enum cases #1230 fix: trait alias with no visibility and no alias now raises an error #1229 fix: arrow function version guard never fired due to operator precedence #1225 fix: correct loc.start for classconstant and propertystatement with attributes #1224 fix: throw SyntaxError for invalid modifiers on class constants #1223 fix: throw SyntaxError on leading separator in read_list #1219 feat: asymmetric visibility support (PHP 8.4+) #1218 fix: noop location #1217 fix: attribute location #1216 fix: dnf types #1215 fix: multiple static lookup #1214 fix: class constant location #1213 fix: nullsafe operator location #1211 fix: semicolon-style namespaces incorrectly nested instead of siblings #1210 test: add regression coverage for static property with nullable type #1209 fix: attach doc comments to inner nodes in short-form if/elseif/else #1208 fix: invalid location for union types #1207 fix: precedence of instanceof was wrong #1204 feat: property hooks (PHP 8.4) #1203 test: ignore eslint warnings about assertions #1202 fix: property lookup by reference #1201 chore: improve tests without assertions #1200 update yarn #1197 fix: support readonly modifier before visibility in class properties #1196 fix: resolve property chains in new expression class name #1195 fix: prevent crash when suppressErrors and withPositions are both enabled #1194 fix: CVE-2024-57071 #1193 fix: new line in heredoc #1188 test: inlined comments between parameters #1187 build: update dependencies #1186 fix: invalid properties annotations in ast classes #1172 feat: runtime class static keyword