History log of /PHP-Parser/ (Results 1051 – 1075 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d1dd9f5a15-Apr-2016 Remi Collet

support -h and --help standard options

e7f0860d09-Apr-2016 Graham Campbell

Tweaked a phpdoc description

954051f207-Apr-2016 Nikita Popov

Run test_old using php -n

Xdebug is killing performance.

39f93f0909-Apr-2016 lvht

Add setReturnType() method to function/method builders

Also support scalar type hints in existing setTypeHint() method on params.

2d0c3b7007-Apr-2016 Nikita Popov

Fix .travis.yml

4252ffa407-Apr-2016 Nikita Popov

Run test_old against php-src on travis

8cacc85907-Apr-2016 Nikita Popov

"Fix" HHVM build

588e6a4d02-Apr-2016 Nikita Popov

Add string kinds and doc string labels

Scalar\String_ and Scalar\Encapsed now have an additional "kind"
attribute, which may be one of:

* String_::KIND_SINGLE_QUOTED
* Str

Add string kinds and doc string labels

Scalar\String_ and Scalar\Encapsed now have an additional "kind"
attribute, which may be one of:

* String_::KIND_SINGLE_QUOTED
* String_::KIND_DOUBLE_QUOTED
* String_::KIND_NOWDOC
* String_::KIND_HEREDOC

Additionally, if the string kind is one of the latter two, an
attribute "docLabel" is provided, which contains the doc string
label (STR in <<<STR) that was originally used.

The pretty printer will try to take the original kind of the string,
as well as the used doc string label into account.

show more ...

fa6a177507-Apr-2016 Nikita Popov

Add two files to test_old skip list

The parse after pretty printing differs here, because these tests
contain nop (;) statements, which the pretty printer does not
preserve.

52cb5ece07-Apr-2016 Nikita Popov

Fix comment reformatting for some cases

It did not correctly deal with non-standard comments containing
indented lines.

1565a28105-Apr-2016 Nikita Popov

Add --verbose option to test_old/run.php

14de718905-Apr-2016 Nikita Popov

Fix nop statement comment assignment

Keep around the start attributes on the lookahead token around in
a separate parser property.

5fa8493605-Apr-2016 Nikita Popov

Make canonicalization less aggressive

b31a973f04-Apr-2016 Nikita Popov

Another fix for B"" handling

The lexer fix also need to account for uppercase B.

9ac3592102-Apr-2016 Nikita Popov

Handle uppercase B"" prefix

35011d2e01-Apr-2016 Nikita Popov

Deduplicate attribute assignment code a bit

60f01bdd01-Apr-2016 Nikita Popov

Deprecate setters on Comment

No point in making it mutable

15a2388d01-Apr-2016 Nikita Popov

Add start file offset to Comments

68b4c03801-Apr-2016 Nikita Popov

Fix Serializer/XML test output indent

This causes a failure here, but not on another machine, not sure
why.

eb4bfe1327-Mar-2016 Nikita Popov

Add sanity check for leaveNode() return value

Revision tags: v2.0.1
e7ca4b7b15-Feb-2016 Théo FIDRY

Better Travis configuration

* Enable Travis cache for Composer
* Use `--prefer-dist` over `--prefer-source` to download less and
make it faster

fc36239b10-Mar-2016 Nikita Popov

Remove internal LNumber::parse() method

Combine it into ::fromString(), as they both do the same checks.

f493219c10-Mar-2016 Nikita Popov

Move "kind" attribute handling out of lexer

Doesn't belong there and will cause issue with multiple assignments.

aa19912009-Mar-2016 Nikita Popov

Add kind attribute for arrays

To distinguish array() and [] syntax. The pretty printer respects
this attribute. The shortArraySyntax pretty printer option acts as
a default in case t

Add kind attribute for arrays

To distinguish array() and [] syntax. The pretty printer respects
this attribute. The shortArraySyntax pretty printer option acts as
a default in case the attribute is not specified.

show more ...

ae30f97a09-Mar-2016 Nikita Popov

Add "kind" attribute to LNumbers

Kind specifies whether the number was formatted as decimal, octal,
binary or hex. The pretty printer reproduces the number kind (but
not necessarily

Add "kind" attribute to LNumbers

Kind specifies whether the number was formatted as decimal, octal,
binary or hex. The pretty printer reproduces the number kind (but
not necessarily the exact formatting).

show more ...

1...<<41424344454647484950>>...68