#
23835d20 |
| 03-Sep-2022 |
Nikita Popov |
Rename Scalar\LNumber to Scalar\Int_
|
#
dd63ddbc |
| 28-Aug-2022 |
Nikita Popov |
Add php-cs-fixer config and reformat The formatting in this project has become something of a mess, because it changed over time. Add a CS fixer config and reformat to the desired st
Add php-cs-fixer config and reformat The formatting in this project has become something of a mess, because it changed over time. Add a CS fixer config and reformat to the desired style, which is PSR-12, but with sane brace placement.
show more ...
|
#
050342b5 |
| 04-Jul-2022 |
MathiasReker |
Add visibility modifiers to constants Closes GH-848.
|
#
d3eb10ac |
| 15-May-2022 |
Tomas Votruba |
[LNumber] Add rawValue attribute to LNumber to allow numeric separator etc. (#832)
|
#
def24f22 |
| 03-Sep-2021 |
Nikita Popov |
Add support for explicit octal literals
|
Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3 |
|
#
3f718ee2 |
| 30-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.
|
Revision tags: v4.2.2 |
|
#
993f2990 |
| 12-May-2019 |
Nikita Popov |
Avoid parent constructor call during node construction Instead explicitly assign the attributes. This is a minor performance improvement.
|
Revision tags: v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4 |
|
#
248b29ec |
| 10-Jan-2018 |
Gabriel Caruso |
Add public visibility to getType method (#463)
|
Revision tags: v4.0.0alpha3, v3.1.3 |
|
#
1c11626f |
| 12-Nov-2017 |
Nikita Popov |
Add explicit getType() methods Rather than automatically deriving getType() from the class name.
|
Revision tags: v4.0.0alpha2, v3.1.2, v4.0.0alpha1, v3.1.1 |
|
#
e2e99f26 |
| 18-Aug-2017 |
TomasVotruba |
Add strict_types to lib code
|
#
ec535ea1 |
| 13-Aug-2017 |
TomasVotruba |
[cs] use PHP 5.4 short array, since PHP 7.0 is min version
|
Revision tags: v3.1.0, v3.0.6 |
|
#
a32e3797 |
| 28-Apr-2017 |
Nikita Popov |
Generate PHP 7 type annotations
|
Revision tags: v3.0.5, v3.0.4, v3.0.3, v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1, v3.0.0alpha1, v2.1.0 |
|
#
e7869b9f |
| 18-Apr-2016 |
Nikita Popov |
Forbid invalid octals in PHP 7 mode
|
#
fc36239b |
| 10-Mar-2016 |
Nikita Popov |
Remove internal LNumber::parse() method Combine it into ::fromString(), as they both do the same checks.
|
#
f493219c |
| 10-Mar-2016 |
Nikita Popov |
Move "kind" attribute handling out of lexer Doesn't belong there and will cause issue with multiple assignments.
|
#
ae30f97a |
| 09-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 ...
|
Revision tags: v2.0.1, v2.0.0, v2.0.0beta1, v1.4.1, v2.0.0alpha1, v1.4.0 |
|
#
49324ea4 |
| 12-Jul-2015 |
Nikita Popov |
Drop default values from Scalar ctor params
|
#
29b9015f |
| 02-May-2015 |
Nikita Popov |
Drop support for old Node format
|
Revision tags: v1.3.0, v1.2.2, v1.2.1, v1.2.0 |
|
#
a2d7e897 |
| 28-Feb-2015 |
Nikita Popov |
Use real properties for storing subnodes Instead of storing subnodes in a subNodes dictionary, they are now stored as simple properties. This requires declarating the properties, ass
Use real properties for storing subnodes Instead of storing subnodes in a subNodes dictionary, they are now stored as simple properties. This requires declarating the properties, assigning them in the constructor, overriding the getSubNodeNames() method and passing NULL to the first argument of the NodeAbstract constructor. [Deprecated: It's still possible to use the old mode of operation for custom nodes by passing an array of subnodes to the constructor.] The only behavior difference this should cause is that getSubNodeNames() will always return the original subnode names and skip any additional properties that were dynamically added. E.g. this means that the "namespacedName" node added by the NameResolver visitor is not treated as a subnode, but as a dynamic property instead. This change improves performance and memory usage.
show more ...
|
Revision tags: v1.1.0, v1.0.2, v1.0.1 |
|
#
3d40e221 |
| 30-Sep-2014 |
nikic |
Annotate some APIs as @internal
|
Revision tags: v1.0.0, v1.0.0beta2, v0.9.5, v1.0.0beta1 |
|
#
f82862ec |
| 06-Feb-2014 |
nikic |
Port library to use namespaces, with BC for old names
|