History log of /PHP-Parser/ (Results 401 – 425 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
7c09e09608-Dec-2020 Nikita Popov

Try to re-enable coveralls

0f64504308-Dec-2020 Nikita Popov

Drop -n flag from test_old

In the hope of fixing the failure on GH actions.

5e36ef7308-Dec-2020 Matt Glaman

Add GitHub Actions workflow (#740)

dbe56d2303-Dec-2020 Nikita Popov

Release PHP-Parser 4.10.3

c64986fa03-Dec-2020 Tommy Quissens

Allow both '{' and T_CURLY_OPEN as curly bracket (#732)

bc7a9bf901-Dec-2020 Stefano Arlandini

Remove useless code left from old implementation

2816485101-Dec-2020 James Titcumb

Updated README to indicate that parsing PHP 8.0 code is supported

1d1bc8a310-Oct-2020 Anders Jürisoo

Upgrade some PrettyPrinter methods to protected

I noticed some methods in the Standard PrettyPrinter is private, can they be upgraded to `protected` to ease when extending it?

d520bc9e30-Sep-2020 Nikita Popov

Don't allow failures on PHP 8.0 integration tests

These are passing now.

51e0b30830-Sep-2020 Nikita Popov

Test against 8.0.0rc1

This should fix the remaining test failures.

eff72eef30-Sep-2020 Nikita Popov

Fix #718: PrettyPrinter breaks nested ternaries

Mark ternary as non-associative operator, as left-associative use
is deprecated in PHP 7.4 and removed in PHP 8.0.

658f1be326-Sep-2020 Nikita Popov

Release PHP-Parser 4.10.2

b9b65a2926-Sep-2020 Nikita Popov

Fix check for token emulation conflicts

1b479e7523-Sep-2020 Nikita Popov

Release PHP-Parser 4.10.1

b5351f8823-Sep-2020 Nikita Popov

Make keyword emulation check case-insensitive

88be612722-Sep-2020 Nikita Popov

FPPP: Fix remove + add at start of list

8a97fa1519-Sep-2020 Nikita Popov

Recover from missing semicolon after property or class const

Fixes #712.

1c13d05019-Sep-2020 Nikita Popov

Release PHP-Parser 4.10.0

c7dc3ce519-Sep-2020 Nikita Popov

Add basic FPPP support for attributes

9f6ad68619-Sep-2020 Nikita Popov

Adjust skip list for moved test

The two remaining test_old failures are due to a bug on the PHP
side.

1899471f19-Sep-2020 Nikita Popov

Update test for PHP 8 error behavior

Replace division by zero with a different error condition that
still warns, and adjust the expected message based on PHP version.

8505acd119-Sep-2020 Nikita Popov

Correctly handle ?-> in encapsed strings

Followup upstream change.

c3e20d9919-Sep-2020 Nikita Popov

Use 8.0.0beta4 to tests against

4c22c62713-Sep-2020 Tomas Votruba

[PHP 8.0] Add attributes support (#661)

Adds support for PHP 8 attributes, represented using `AttrGroup` nodes
containing `Attribute` nodes. The `attrGroup` subnode is added to all
n

[PHP 8.0] Add attributes support (#661)

Adds support for PHP 8 attributes, represented using `AttrGroup` nodes
containing `Attribute` nodes. The `attrGroup` subnode is added to all
nodes that can have attributes.

This is still missing FPPP support.

Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>

show more ...


grammar/php7.y
grammar/rebuildParsers.php
lib/PhpParser/Node/Attribute.php
lib/PhpParser/Node/AttributeGroup.php
lib/PhpParser/Node/Expr/ArrowFunction.php
lib/PhpParser/Node/Expr/Closure.php
lib/PhpParser/Node/FunctionLike.php
lib/PhpParser/Node/Param.php
lib/PhpParser/Node/Stmt/ClassConst.php
lib/PhpParser/Node/Stmt/ClassLike.php
lib/PhpParser/Node/Stmt/ClassMethod.php
lib/PhpParser/Node/Stmt/Class_.php
lib/PhpParser/Node/Stmt/Function_.php
lib/PhpParser/Node/Stmt/Interface_.php
lib/PhpParser/Node/Stmt/Property.php
lib/PhpParser/Node/Stmt/Trait_.php
lib/PhpParser/NodeVisitor/NameResolver.php
lib/PhpParser/Parser/Php7.php
lib/PhpParser/PrettyPrinter/Standard.php
test/PhpParser/NodeAbstractTest.php
test/PhpParser/NodeVisitor/NameResolverTest.php
test/code/parser/commentAtEndOfClass.test
test/code/parser/errorHandling/recovery.test
test/code/parser/expr/arraySpread.test
test/code/parser/expr/arrow_function.test
test/code/parser/expr/closure.test
test/code/parser/expr/closure_use_trailing_comma.test
test/code/parser/expr/uvs/indirectCall.test
test/code/parser/semiReserved.test
test/code/parser/stmt/attributes.test
test/code/parser/stmt/class/abstract.test
test/code/parser/stmt/class/anonymous.test
test/code/parser/stmt/class/class_position.test
test/code/parser/stmt/class/conditional.test
test/code/parser/stmt/class/constModifierErrors.test
test/code/parser/stmt/class/constModifiers.test
test/code/parser/stmt/class/final.test
test/code/parser/stmt/class/implicitPublic.test
test/code/parser/stmt/class/interface.test
test/code/parser/stmt/class/modifier.test
test/code/parser/stmt/class/name.test
test/code/parser/stmt/class/php4Style.test
test/code/parser/stmt/class/propertyTypes.test
test/code/parser/stmt/class/property_promotion.test
test/code/parser/stmt/class/simple.test
test/code/parser/stmt/class/staticMethod.test
test/code/parser/stmt/class/staticType.test
test/code/parser/stmt/class/trait.test
test/code/parser/stmt/function/builtinTypeDeclarations.test
test/code/parser/stmt/function/byRef.test
test/code/parser/stmt/function/conditional.test
test/code/parser/stmt/function/defaultValues.test
test/code/parser/stmt/function/nullableTypes.test
test/code/parser/stmt/function/parameters_trailing_comma.test
test/code/parser/stmt/function/returnTypes.test
test/code/parser/stmt/function/specialVars.test
test/code/parser/stmt/function/typeDeclarations.test
test/code/parser/stmt/function/unionTypes.test
test/code/parser/stmt/function/variadic.test
test/code/parser/stmt/function/variadicDefaultValue.test
test/code/parser/stmt/generator/basic.test
test/code/parser/stmt/generator/yieldPrecedence.test
test/code/parser/stmt/generator/yieldUnaryPrecedence.test
test/code/prettyPrinter/stmt/attributes.test
f66a32e206-Sep-2020 Nikita Popov

Emulate PHP 8 attribute syntax

Perform emulation by replacing #[ with %[, then patching % back
to # and coalescing #[ into T_ATTRIBUTE if it is a freestanding
token.

1...<<11121314151617181920>>...68