{"push_id":596057142,"size":1,"distinct_size":1,"ref":"refs/heads/patch-1","head":"31533325ae1baa05a62950c15a85fc6e77c106c4","before":"6963887589668ebd78e0499f74ad7d636fb5d734","commits":[{"sha":"31533325ae1baa05a62950c15a85fc6e77c106c4","author":{"email":"538edd5baee9304863e556eeb84011d3bbbb8a5f@zerustech.com","name":"Michael Lee"},"message":"Update Parser.php\n\nI think the correct logic should be: \r\n\r\nIf the name of an 'operator' can also be used as an object's property or method name, then we should NOT throw the exception here, because 'OPERATOR' is processed by the lexer prior to 'NAME', so property/method like 'A.not', 'A.not()' will be recognized as \"OPERATOR\" instead of \"NAME\". \r\n\r\nSo in other words, an exception should be thrown if either the token is NOT an operator, or the name is not a valid property/method name.\r\n\r\nSo the code should be changed to: \r\n\r\n$token->type !== Token::OPERATOR_TYPE || !preg_match('/[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/A', $token->value)","distinct":true,"url":"https://api.github.com/repos/zerustech/symfony/commits/31533325ae1baa05a62950c15a85fc6e77c106c4"}]}