History log of /PHP-Parser/ (Results 301 – 325 of 1692)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e3ff8cf019-Jun-2022 Nikita Popov

Add support for true type

The null/false types were alread accepted previously, even though
they are only legal as standalone types since PHP 8.2.

b0469d1212-Jun-2022 Nikita Popov

Rename Expr\ClosureUse -> ClosureUse

This is not a real expression, treat it similarly to Node\Arg
or Node\Param.

The old name is retained as an alias for compatibility.

23be1f9b12-Jun-2022 Nikita Popov

Update doc references

3fd30f6412-Jun-2022 Nikita Popov

Remove deprecated param builder method

55f29b1512-Jun-2022 Nikita Popov

Improve ParserFactory version targeting

Most users will want to pick createForNewestSupportedVersion()
or getForHostVersion(). The currently default is the former,
which can lead to

Improve ParserFactory version targeting

Most users will want to pick createForNewestSupportedVersion()
or getForHostVersion(). The currently default is the former,
which can lead to unwanted surprised due to PHP BC breaks for
users that actually want the latter. Make this choice more
explicit.

show more ...

d3d1297c06-Jun-2022 Nikita Popov

Remove PHP 5 parser


UPGRADE-5.0.md
grammar/php5.y
grammar/php7.y
grammar/rebuildParsers.php
lib/PhpParser/Parser/Multiple.php
lib/PhpParser/Parser/Php5.php
lib/PhpParser/Parser/Php7.php
lib/PhpParser/ParserAbstract.php
lib/PhpParser/ParserFactory.php
test/PhpParser/CodeParsingTest.php
test/PhpParser/CodeTestParser.php
test/PhpParser/Parser/MultipleTest.php
test/PhpParser/Parser/Php5Test.php
test/PhpParser/ParserFactoryTest.php
test/PhpParser/PrettyPrinterTest.php
test/code/parser/errorHandling/recovery.test
test/code/parser/expr/arrayDestructuring.test
test/code/parser/expr/arrow_function.test
test/code/parser/expr/assignNewByRef.test
test/code/parser/expr/closure_use_trailing_comma.test
test/code/parser/expr/exprInIsset.test
test/code/parser/expr/exprInList.test
test/code/parser/expr/fetchAndCall/namedArgs.test
test/code/parser/expr/fetchAndCall/objectAccess.test
test/code/parser/expr/fetchAndCall/staticCall.test
test/code/parser/expr/firstClassCallables.test
test/code/parser/expr/keywordsInNamespacedName.test
test/code/parser/expr/listReferences.test
test/code/parser/expr/listWithKeys.test
test/code/parser/expr/match.test
test/code/parser/expr/newWithoutClass.test
test/code/parser/expr/nullsafe.test
test/code/parser/expr/throw.test
test/code/parser/expr/trailingCommas.test
test/code/parser/expr/uvs/constDeref.test
test/code/parser/expr/uvs/globalNonSimpleVarError.test
test/code/parser/expr/uvs/indirectCall.test
test/code/parser/expr/uvs/isset.test
test/code/parser/expr/uvs/misc.test
test/code/parser/expr/uvs/new.test
test/code/parser/expr/uvs/newInstanceofExpr.test
test/code/parser/expr/uvs/staticProperty.test
test/code/parser/expr/variable.test
test/code/parser/scalar/encapsedNegVarOffset.test
test/code/parser/scalar/invalidOctal.test
test/code/parser/scalar/unicodeEscape.test
test/code/parser/stmt/attributes.test
test/code/parser/stmt/class/constModifierErrors.test
test/code/parser/stmt/class/constModifiers.test
test/code/parser/stmt/class/enum.test
test/code/parser/stmt/class/enum_with_string.test
test/code/parser/stmt/class/modifier.test
test/code/parser/stmt/class/propertyTypes.test
test/code/parser/stmt/class/property_promotion.test
test/code/parser/stmt/class/readonly.test
test/code/parser/stmt/class/readonlyMethod.test
test/code/parser/stmt/class/staticType.test
test/code/parser/stmt/function/builtinTypeDeclarations.test
test/code/parser/stmt/function/intersectionTypes.test
test/code/parser/stmt/function/neverType.test
test/code/parser/stmt/function/nullableTypes.test
test/code/parser/stmt/function/parameters_trailing_comma.test
test/code/parser/stmt/function/typeVersions.test
test/code/parser/stmt/function/unionTypes.test
test/code/parser/stmt/generator/yieldPrecedence.test
test/code/parser/stmt/multiCatch.test
test/code/parser/stmt/namespace/groupUseErrors.test
test/code/parser/stmt/namespace/groupUseTrailingComma.test
test/code/parser/stmt/newInInitializer.test
test/code/parser/stmt/tryCatch_without_variable.test
test/code/prettyPrinter/commentsInCommaList.test
test/code/prettyPrinter/expr/arrayDestructuring.test
test/code/prettyPrinter/expr/arraySpread.test
test/code/prettyPrinter/expr/arrow_function.test
test/code/prettyPrinter/expr/firstClassCallables.test
test/code/prettyPrinter/expr/match.test
test/code/prettyPrinter/expr/namedArgs.test
test/code/prettyPrinter/expr/newVariable.test
test/code/prettyPrinter/expr/nullsafe.test
test/code/prettyPrinter/expr/throw.test
test/code/prettyPrinter/expr/uvs.test
test/code/prettyPrinter/expr/variables.test
test/code/prettyPrinter/expr/yield.test
test/code/prettyPrinter/stmt/attributes.test
test/code/prettyPrinter/stmt/class_const.test
test/code/prettyPrinter/stmt/enum.test
test/code/prettyPrinter/stmt/intersection_types.test
test/code/prettyPrinter/stmt/multiCatch.test
test/code/prettyPrinter/stmt/nullable_types.test
test/code/prettyPrinter/stmt/properties.test
test/code/prettyPrinter/stmt/property_promotion.test
test/code/prettyPrinter/stmt/readonly_class.test
test/code/prettyPrinter/stmt/staticType.test
test/code/prettyPrinter/stmt/tryCatch_without_variable.test
test/code/prettyPrinter/stmt/union_types.test
b4902cef10-Jun-2022 Romain

optimization haveTokenImmediatelyAfter performance

b6d11da505-Jun-2022 Nikita Popov

Add space after "use" during empty list insertion as well

bdd131d305-Jun-2022 Nikita Popov

Add missing strict_types=1 directive to parser

472e163f05-Jun-2022 Nikita Popov

Use extends instead of class_alias

Apparently we can't alias an internal class.

fe9db37605-Jun-2022 Nikita Popov

Perform token position adjustment during emulator patching

aff98bbf04-Jun-2022 Nikita Popov

Use PHP 8.0 token representation

Migrate everything to use PhpToken-compatible token representation,
rather than the legacy array/string representation.

7c445bb604-Jun-2022 Tomas Votruba

Remove space before return type in insertionMap (#841)

* remove space before colon in PrettyPrinterAbstract

* update tests

5af93eee04-Jun-2022 Nikita Popov

Use nullable type instead of null default

Fixes #752.

27fe7a6804-Jun-2022 Nikita Popov

Include space after closure use

6c0b63d925-Jan-2022 Dominik Peters

Change print order of modifiers

Print abstract/final before visibility modifiers, in line with
PSR-12.

Closes #826.

87387caf04-Jun-2022 Nikita Popov

Remove space before return type in pretty printer

9c5eb3cc04-Jun-2022 Nikita Popov

Add some missing type annotations

e70541f104-Jun-2022 Nikita Popov

Merge branch '4.x'


2d58992104-Jun-2022 Nikita Popov

Fix incorrect doc type

5466ee3604-Jun-2022 Nikita Popov

Drop support for running on PHP 7.0

1f416d9004-Jun-2022 Nikita Popov

Target PHP-Parser 5.0

cdb731fa31-May-2022 Nikita Popov

Update integration test target to 8.1

e727475d31-May-2022 Nikita Popov

Support readonly as function name

This special case was added after the PHP 8.1 release.

34bea19b31-May-2022 Nikita Popov

Release PHP-Parser 4.14.0

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