History log of /PHP-Parser/ (Results 376 – 400 of 1692)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
eccf1bf414-Jun-2021 Krystian Marcisz

Add Attribute builder and support for named args (#781)

Add BuilderFactory::attribute() and support named args in BuilderFactory::args().

b67560d304-May-2021 Tom Klingenberg <352517+ktomk@users.noreply.github.com>

Update CHANGELOG.md

very minor for the year.

4432ba3903-May-2021 Nikita Popov

Release PHP-Parser 4.10.5

37ac4ea925-Apr-2021 Nikita Popov

Document that namespaced names containing whitespace are not supported

4848a0d725-Apr-2021 Nikita Popov

Check for \r as newline in closing tag

Fixes #761.

8eb194ea25-Apr-2021 Nikita Popov

Add never type

This should be recognized as Identifier instead of Name now.

e03d63cf25-Apr-2021 Nikita Popov

Fix precedence of arrow functions

Arrow functions should have lowest precedence.

Fixes #769.

ce91d13925-Apr-2021 Nikita Popov

Make sure match is one character long

33d7c8d325-Apr-2021 Nikita Popov

Escape invalid UTF-8 in strings

To be friendlier to tooling that expects PHP files to be UTF-8
encoded, escape any sequences that are not legal under UTF-8.

6b409b9625-Apr-2021 Nikita Popov

Use hex escaping for special characters in strings

Apart from \0, using the \xHH notation is more typical.

f68e1a4325-Apr-2021 Tomas Votruba

[PHP 8.1] Add support for enums (#758)

RFC: https://wiki.php.net/rfc/enumerations

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

f767b9fd25-Apr-2021 Iskander (Alex) Sharipov

ParserAbstract: add missing '*' to the phpdoc

Otherwise, it's somewhat incompatible with the phpdoc definition.

2a4bb7ef10-Apr-2021 Miguel

Moved phpy pseudo lang functions to separate file

4abdcde525-Mar-2021 Maxim L

Fix missing argument in documentation (#767)

Missing argument in the getMessageWithColumnInfo call

d46f261e21-Mar-2021 WhizSid

Adding class constant to builder factory (#765)

* Adding class constant to builder factory

* Fix formatting,doc issues and Tweak returning node from ClassConst

* Fix PHPUnit

38aa092021-Mar-2021 Nikita Popov

Add test for UTF-8 in string

These should not get escaped.

a8223f2220-Mar-2021 Nikita Popov

Add emulation for enum keyword

8165cf6902-Feb-2021 Oskar Stark

CS fix

46221a0906-Jan-2021 Tomas Votruba

Update Use_ builder to return specific type

3b87eb7229-Dec-2020 Tomas Votruba

make Namespace_ builder return Namespace_

Hi, just a little detail. This should fix invalid return type of docs

e3471d9422-Dec-2020 Ayesh Karunaratne

Update `.gitattributes` `export-ignore` rules

- Adds `.github` directory to `.gitattributes` file with an `export-ignore` rule.
- This also aligns all `export-ignore` rules for more re

Update `.gitattributes` `export-ignore` rules

- Adds `.github` directory to `.gitattributes` file with an `export-ignore` rule.
- This also aligns all `export-ignore` rules for more readability.
- Removes `.travis.yml` file that is no longer used.

show more ...

c6d052fc20-Dec-2020 Nikita Popov

Release PHP-Parser 4.10.4

8008d07b20-Dec-2020 Nikita Popov

Remove Travis build badge

We no longer use Travis, so this isn't meaningful... And GitHub
already displays the build status, so there's no value in having
this kind of badge at all.

7284a4d020-Dec-2020 Nikita Popov

Remove no longer necessary class parsing workaround

This was split to work around the attribute assignment bug fixed
in the previous commit, and as such is no longer necessary.

d3d1ee4708-Dec-2020 Nikita Popov

Fix #738 incorrect start line for traits

Empty productions are supposed to be assigned the start attributes
of the lookahead token. Currently, this happens by assigning above
the cur

Fix #738 incorrect start line for traits

Empty productions are supposed to be assigned the start attributes
of the lookahead token. Currently, this happens by assigning above
the current stack position when the token it read.

This fails in a situation where we first reduce an empty production
higher up in the stack, and then again reduce an empty production
lower in the stack, without consuming the lookahead token in the
meantime.

Fix this by moving the assignment into the reduction phase. We
also need to do this for error productions, which are effectively
empty.

show more ...

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