History log of /PHP-Parser/ (Results 526 – 550 of 1692)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
4fd36b9912-Aug-2019 Nikita Popov

Fix compatibility with T_BAD_CHARACTER in PHP 7.4

a1f7269013-Jul-2019 Tyson Andre

Fix harmless typos in documentation

2e2954cc14-Jul-2019 Tyson Andre

Avoid notices in php 7.4 with hexdec/base_convert (#619)

This is made to avoid notices caused by
https://wiki.php.net/rfc/base_convert_improvements

(seen with `php -d error_repo

Avoid notices in php 7.4 with hexdec/base_convert (#619)

This is made to avoid notices caused by
https://wiki.php.net/rfc/base_convert_improvements

(seen with `php -d error_reporting=E_ALL vendor/bin/phpunit`)

show more ...

3f718ee230-Jun-2019 Tomáš Votruba

[PHP 7.4] Add support for numeric literal separators (#615)

Implements RFC https://wiki.php.net/rfc/numeric_literal_separator.

Closes #614.

b9b45dd230-Jun-2019 Nikita Popov

Insert T_BAD_CHARACTER tokens for missing characters

The token stream should cover all characters in the original code,
insert a dummy token for missing illegal characters. We should

Insert T_BAD_CHARACTER tokens for missing characters

The token stream should cover all characters in the original code,
insert a dummy token for missing illegal characters. We should
really be doing this in token_get_all() as well.

show more ...

a4b43edb30-Jun-2019 Chris Hewitt

Fix one-character inconsistency

3cf61fdd23-Jun-2019 Nikita Popov

Only ignore-platform-reqs on nightly

9484baf823-Jun-2019 Nikita Popov

Make compatible with PhpUnit 8

aad0e28923-Jun-2019 Nikita Popov

Remove token registration from TokenEmulator interface

624f71fa04-Jun-2019 hoels <51371415+hoels@users.noreply.github.com>

Resolve return type of arrow functions (#613)

Revision tags: v4.2.2
1bd73cc025-May-2019 Nikita Popov

Release PHP-Parser 4.2.2

94d93f2724-May-2019 Nikita Popov

Revert "Recover from error inside alternative array deref syntax"

This reverts commit 9d44edf85dc5882e45fed37a6c541bf20e7c8495.

a167aa2012-May-2019 Nikita Popov

Optimize attribue checks in the lexer

993f299012-May-2019 Nikita Popov

Avoid parent constructor call during node construction

Instead explicitly assign the attributes. This is a minor
performance improvement.


lib/PhpParser/Node/Arg.php
lib/PhpParser/Node/Const_.php
lib/PhpParser/Node/Expr/ArrayDimFetch.php
lib/PhpParser/Node/Expr/ArrayItem.php
lib/PhpParser/Node/Expr/Array_.php
lib/PhpParser/Node/Expr/ArrowFunction.php
lib/PhpParser/Node/Expr/Assign.php
lib/PhpParser/Node/Expr/AssignOp.php
lib/PhpParser/Node/Expr/AssignRef.php
lib/PhpParser/Node/Expr/BinaryOp.php
lib/PhpParser/Node/Expr/BitwiseNot.php
lib/PhpParser/Node/Expr/BooleanNot.php
lib/PhpParser/Node/Expr/Cast.php
lib/PhpParser/Node/Expr/ClassConstFetch.php
lib/PhpParser/Node/Expr/Clone_.php
lib/PhpParser/Node/Expr/Closure.php
lib/PhpParser/Node/Expr/ClosureUse.php
lib/PhpParser/Node/Expr/ConstFetch.php
lib/PhpParser/Node/Expr/Empty_.php
lib/PhpParser/Node/Expr/Error.php
lib/PhpParser/Node/Expr/ErrorSuppress.php
lib/PhpParser/Node/Expr/Eval_.php
lib/PhpParser/Node/Expr/Exit_.php
lib/PhpParser/Node/Expr/FuncCall.php
lib/PhpParser/Node/Expr/Include_.php
lib/PhpParser/Node/Expr/Instanceof_.php
lib/PhpParser/Node/Expr/Isset_.php
lib/PhpParser/Node/Expr/List_.php
lib/PhpParser/Node/Expr/MethodCall.php
lib/PhpParser/Node/Expr/New_.php
lib/PhpParser/Node/Expr/PostDec.php
lib/PhpParser/Node/Expr/PostInc.php
lib/PhpParser/Node/Expr/PreDec.php
lib/PhpParser/Node/Expr/PreInc.php
lib/PhpParser/Node/Expr/Print_.php
lib/PhpParser/Node/Expr/PropertyFetch.php
lib/PhpParser/Node/Expr/ShellExec.php
lib/PhpParser/Node/Expr/StaticCall.php
lib/PhpParser/Node/Expr/StaticPropertyFetch.php
lib/PhpParser/Node/Expr/Ternary.php
lib/PhpParser/Node/Expr/UnaryMinus.php
lib/PhpParser/Node/Expr/UnaryPlus.php
lib/PhpParser/Node/Expr/Variable.php
lib/PhpParser/Node/Expr/YieldFrom.php
lib/PhpParser/Node/Expr/Yield_.php
lib/PhpParser/Node/Identifier.php
lib/PhpParser/Node/Name.php
lib/PhpParser/Node/NullableType.php
lib/PhpParser/Node/Param.php
lib/PhpParser/Node/Scalar/DNumber.php
lib/PhpParser/Node/Scalar/Encapsed.php
lib/PhpParser/Node/Scalar/EncapsedStringPart.php
lib/PhpParser/Node/Scalar/LNumber.php
lib/PhpParser/Node/Scalar/MagicConst.php
lib/PhpParser/Node/Scalar/String_.php
lib/PhpParser/Node/Stmt/Break_.php
lib/PhpParser/Node/Stmt/Case_.php
lib/PhpParser/Node/Stmt/Catch_.php
lib/PhpParser/Node/Stmt/ClassConst.php
lib/PhpParser/Node/Stmt/ClassMethod.php
lib/PhpParser/Node/Stmt/Class_.php
lib/PhpParser/Node/Stmt/Const_.php
lib/PhpParser/Node/Stmt/Continue_.php
lib/PhpParser/Node/Stmt/DeclareDeclare.php
lib/PhpParser/Node/Stmt/Declare_.php
lib/PhpParser/Node/Stmt/Do_.php
lib/PhpParser/Node/Stmt/Echo_.php
lib/PhpParser/Node/Stmt/ElseIf_.php
lib/PhpParser/Node/Stmt/Else_.php
lib/PhpParser/Node/Stmt/Expression.php
lib/PhpParser/Node/Stmt/Finally_.php
lib/PhpParser/Node/Stmt/For_.php
lib/PhpParser/Node/Stmt/Foreach_.php
lib/PhpParser/Node/Stmt/Function_.php
lib/PhpParser/Node/Stmt/Global_.php
lib/PhpParser/Node/Stmt/Goto_.php
lib/PhpParser/Node/Stmt/GroupUse.php
lib/PhpParser/Node/Stmt/HaltCompiler.php
lib/PhpParser/Node/Stmt/If_.php
lib/PhpParser/Node/Stmt/InlineHTML.php
lib/PhpParser/Node/Stmt/Interface_.php
lib/PhpParser/Node/Stmt/Label.php
lib/PhpParser/Node/Stmt/Namespace_.php
lib/PhpParser/Node/Stmt/Property.php
lib/PhpParser/Node/Stmt/PropertyProperty.php
lib/PhpParser/Node/Stmt/Return_.php
lib/PhpParser/Node/Stmt/StaticVar.php
lib/PhpParser/Node/Stmt/Static_.php
lib/PhpParser/Node/Stmt/Switch_.php
lib/PhpParser/Node/Stmt/Throw_.php
lib/PhpParser/Node/Stmt/TraitUse.php
lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php
lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php
lib/PhpParser/Node/Stmt/Trait_.php
lib/PhpParser/Node/Stmt/TryCatch.php
lib/PhpParser/Node/Stmt/Unset_.php
lib/PhpParser/Node/Stmt/UseUse.php
lib/PhpParser/Node/Stmt/Use_.php
lib/PhpParser/Node/Stmt/While_.php
9d44edf812-May-2019 Nikita Popov

Recover from error inside alternative array deref syntax

This is to improve error recovery for cases like #545.

aa97a9bb11-May-2019 Nikita Popov

Add changelog entries

aa72c5d611-May-2019 Nikita Popov

FPPP: Support inserting into empty lists

60d025a911-May-2019 Nikita Popov

Fix attributes for zero-length nop nodes

Previously zero-length nop nodes used the lookahead start attributes
and current end attributes. This choice ends up being somewhat weird,
be

Fix attributes for zero-length nop nodes

Previously zero-length nop nodes used the lookahead start attributes
and current end attributes. This choice ends up being somewhat weird,
because the end attributes will be the at the last non-whitespace,
non-comment token, which might be quite far back. More problematically,
we may not have encountered any non-discarded token if we're at the
start of the file, in which case we will have no end attributes to
assign.

Change things to use a canonical "zero-length" node representation,
where the end position (token & file) will be exactly one before the
start position.

Fixes #589.

show more ...

b2cecec611-May-2019 Nikita Popov

Remove bogus exprStmt mode test

We're always generating expression statements nowadays, this flag
hasn't existed for a long while now...

8012faea09-May-2019 Tomas Votruba

[PHP 7.4] Add array spread

f3b19c1909-May-2019 Tomáš Votruba

[PHP 7.4] Add support for arrow functions (#602)

Per RFC https://wiki.php.net/rfc/arrow_functions_v2.

78d9985d28-Apr-2019 Andrea Cardaci

Print messages to stderr in bin/php-parse and fix exit status

Close #605.

57b8673e16-Feb-2019 Nikita Popov

Use --ignore-platform-reqs on Travis

Allows testing on nightly, which is PHP 8.

Revision tags: v4.2.1
5221f49a16-Feb-2019 Nikita Popov

Release PHP-Parser 4.2.1

ae4e90d516-Feb-2019 Nikita Popov

Add PHP 7.4 to Travis matrix

1...<<21222324252627282930>>...68