5573afc0 | 18-Sep-2022 |
Nikita Popov |
Test PHP 8.2 in CI |
0dd85ebd | 18-Sep-2022 |
Nikita Popov |
Support readonly before DNF type This makes us match the PHP 8.2 handling of readonly. Handling of "readonly" functions is moved to the parser to allow distinguishing them from reado
Support readonly before DNF type This makes us match the PHP 8.2 handling of readonly. Handling of "readonly" functions is moved to the parser to allow distinguishing them from readonly properties with DNF types. We have to uglify the grammar to avoid some shift/reduce conflicts. Thank you WordPress.
show more ...
|
132690f2 | 17-Sep-2022 |
Nikita Popov |
Slightly more precise type |
f7b448fa | 17-Sep-2022 |
Nikita Popov |
Bail out on list insertion of non-Node PhpStan correctly detected that this is not supported. We could add support for it, but for now just make sure it doesn't crash. |
b3ad14b9 | 17-Sep-2022 |
Nikita Popov |
Fix some types |
9f9c2ea8 | 17-Sep-2022 |
Nikita Popov |
Use PhpStan level 6 New baseline errors are array types that I prefer to leave alone, as well as one PhpStan bug: https://github.com/phpstan/phpstan/issues/4526 |
f98341f6 | 17-Sep-2022 |
Nikita Popov |
Specify more types |
fc6b4890 | 11-Sep-2022 |
Nikita Popov |
Specify more types |
032b1021 | 11-Sep-2022 |
Nikita Popov |
Remove deprecated Error constructor And use this chance to provide accurate position information for namespace errors. |
40c89cf9 | 11-Sep-2022 |
Nikita Popov |
Specify some more types |
a099803d | 11-Sep-2022 |
Nikita Popov |
Use array<string, mixed> type for $attributes Slightly more accurate, and stops PHPStan from complaining about the missing array type information. |
c595989e | 11-Sep-2022 |
Nikita Popov |
Support adding class constants in trait builder These are allowed as of PHP 8.2. |
6af20446 | 11-Sep-2022 |
Nikita Popov |
Add some missing property types |
48f470ea | 11-Sep-2022 |
Nikita Popov |
Add missing return types |
43d6332d | 11-Sep-2022 |
Nikita Popov |
Add return types to PrettyPrinter\Standard |
9b46dffb | 11-Sep-2022 |
Nikita Popov |
Fix formatting preservation for alternative elseif/else syntax Test taken from PR #797. |
205bd75a | 11-Sep-2022 |
Nikita Popov |
Add isPublic() etc methods on Param node Also isPromoted() to check for any flags. |
031c5e6e | 11-Sep-2022 |
Nikita Popov |
Move verifyModifier/verifyClassModifier to Modifiers class Now that the Modifiers are in a separate class, these *internal* verification methods should also be moved there. |
36b2a996 | 19-Jul-2022 |
Christopher Hertel |
Add isReadonly on Param node |
b9fe3449 | 11-Sep-2022 |
Nikita Popov |
Add missing parameter types |
e9800cf7 | 11-Sep-2022 |
Nikita Popov |
Add tools/ directory With php-cs-fixer and phpstan. Also reformat one file. |
2070cb7c | 11-Sep-2022 |
Nikita Popov |
Drop phpstan from composer.json It does not support PHP 7.1, so we should not include it unconditionally. |
9b5a2c89 | 11-Sep-2022 |
Nikita Popov |
Use PHPStan level 5 |
8dfce13d | 11-Sep-2022 |
Nikita Popov |
Add phpstan baseline |
f59f226f | 11-Sep-2022 |
Nikita Popov |
Fix some phpstan warnings |