#
09691fc8 |
| 13-Mar-2024 |
Markus Staab |
Prevent off-by-one errors in line-number related methods
|
#
ab51e9d3 |
| 17-Sep-2023 |
Nikita Popov |
Remove superfluous phpdoc tags These just specify a type that is already specified as a real PHP type.
|
#
1b346f79 |
| 17-Sep-2023 |
Nikita Popov |
Remove deprecated Comment methods
|
#
2d3dd4e2 |
| 17-Sep-2023 |
Nikita Popov |
Don't align phpdoc tags I did this to start with, but then alignment kept being broken during refactorings, and at some point I switched to not aligning, and now we have a big mess.
Don't align phpdoc tags I did this to start with, but then alignment kept being broken during refactorings, and at some point I switched to not aligning, and now we have a big mess. Add a php-cs-fixer rule to consistently not align phpdoc tags.
show more ...
|
#
502b0909 |
| 16-Aug-2023 |
Nikita Popov |
Add property types Types omitted in two places where we violate them currently: Namespace_::$stmts can be null during parsing, and Enum_::$scalarType can be a complex type for invali
Add property types Types omitted in two places where we violate them currently: Namespace_::$stmts can be null during parsing, and Enum_::$scalarType can be a complex type for invalid programs.
show more ...
|
#
ad8daa12 |
| 21-May-2023 |
Nikita Popov |
Normalize newlines in Comment::getReformattedText() Normalize CRLF to LF in getReformattedText(). That was, if the comment is pretty-printed, we will use proper LF newlines, rather t
Normalize newlines in Comment::getReformattedText() Normalize CRLF to LF in getReformattedText(). That was, if the comment is pretty-printed, we will use proper LF newlines, rather than inserting indentation between the CR and LF. At the same time, this also makes it easier to emit actual CRLF newlines with a custom pretty printer. Fixes #599.
show more ...
|
#
5883189d |
| 21-May-2023 |
Nikita Popov |
Fix return type of Comment::getReformattedText()
|
#
b3ad14b9 |
| 17-Sep-2022 |
Nikita Popov |
Fix some types
|
#
40c89cf9 |
| 11-Sep-2022 |
Nikita Popov |
Specify some more types
|
#
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 ...
|
#
1f504d2c |
| 07-Aug-2022 |
Nikita Popov |
Don't trim in Comment::getReformattedText() In the past, single-line comments were stored together with the trailing newline. Later we switched to the PHP8 comment representation, wh
Don't trim in Comment::getReformattedText() In the past, single-line comments were stored together with the trailing newline. Later we switched to the PHP8 comment representation, where the trailing newline is not part of the comment anymore. As such, there is also no need to trim here. This is split out from GH-867.
show more ...
|
#
4021a63c |
| 04-Jul-2022 |
MathiasReker |
No superfluous elseif Replaces superfluous elseif with if.
|
#
602af906 |
| 09-Feb-2020 |
Nikita Popov |
Add end line / file position / token position to comments
|
Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, 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 |
|
#
68d07c46 |
| 10-Jan-2018 |
Gabriel Caruso |
[CS] New line in the end of file
|
Revision tags: v4.0.0alpha3, v3.1.3, v4.0.0alpha2 |
|
#
68e9b91e |
| 10-Nov-2017 |
Nikita Popov |
Use fully-qualified names for global constant references
|
#
47c973b3 |
| 04-Nov-2017 |
Nikita Popov |
Store start token position in comments
|
Revision tags: v3.1.2, v4.0.0alpha1, v3.1.1 |
|
#
e2e99f26 |
| 18-Aug-2017 |
TomasVotruba |
Add strict_types to lib code
|
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 |
|
#
bfea338d |
| 25-Jan-2017 |
Nikita Popov |
Update doc comments after previous comment Make some of the type annotations more accurate, and complete the generated doc-comments to be complete (with description and parameter ann
Update doc comments after previous comment Make some of the type annotations more accurate, and complete the generated doc-comments to be complete (with description and parameter annotations.)
show more ...
|
#
e3b87f40 |
| 24-Jan-2017 |
Matthew Brown |
Add non-void return types
|
Revision tags: v3.0.2, v3.0.1, v3.0.0, v3.0.0beta2, v3.0.0beta1, v2.1.1 |
|
#
7dae6c7a |
| 25-Jul-2016 |
Nikita Popov |
Implement JsonSerializable for Nodes and Comments Exposes the properties and adds an additional nodeType property.
|
Revision tags: v3.0.0alpha1 |
|
#
7ff12b8f |
| 09-Jul-2016 |
Nikita Popov |
Remove deprecated Comment methods
|
Revision tags: v2.1.0 |
|
#
52cb5ece |
| 07-Apr-2016 |
Nikita Popov |
Fix comment reformatting for some cases It did not correctly deal with non-standard comments containing indented lines.
|
#
60f01bdd |
| 01-Apr-2016 |
Nikita Popov |
Deprecate setters on Comment No point in making it mutable
|
#
15a2388d |
| 01-Apr-2016 |
Nikita Popov |
Add start file offset to Comments
|