X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fnikic%2Fphp-parser%2FCHANGELOG.md;h=4a3f0063f1b9cb33bcf9975e85ef80e569a02431;hp=7309b316587485c4ac9fac09ed2d31bbf428cddb;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/nikic/php-parser/CHANGELOG.md b/vendor/nikic/php-parser/CHANGELOG.md index 7309b3165..4a3f0063f 100644 --- a/vendor/nikic/php-parser/CHANGELOG.md +++ b/vendor/nikic/php-parser/CHANGELOG.md @@ -1,8 +1,67 @@ -Version 4.0.2-dev +Version 4.1.1-dev ----------------- Nothing yet. +Version 4.1.0 (2018-10-10) +-------------------------- + +### Added + +* Added support for PHP 7.3 flexible heredoc/nowdoc strings, completing support for PHP 7.3. There + are two caveats for this feature: + * In some rare, pathological cases flexible heredoc/nowdoc strings change the interpretation of + existing doc strings. PHP-Parser will now use the new interpretation. + * Flexible heredoc/nowdoc strings require special support from the lexer. Because this is not + available on PHP versions before 7.3, support has to be emulated. This emulation is not perfect + and some cases which we do not expect to occur in practice (such as flexible doc strings being + nested within each other through abuse of variable-variable interpolation syntax) may not be + recognized correctly. +* Added `DONT_TRAVERSER_CURRENT_AND_CHILDREN` to `NodeTraverser` to skip both traversal of child + nodes, and prevent subsequent visitors from visiting the current node. + +Version 4.0.4 (2018-09-18) +-------------------------- + +### Added + +* The following methods have been added to `BuilderFactory`: + * `useTrait()` (fluent builder) + * `traitUseAdaptation()` (fluent builder) + * `useFunction()` (fluent builder) + * `useConst()` (fluent builder) + * `var()` + * `propertyFetch()` + +### Deprecated + +* `Builder\Param::setTypeHint()` has been deprecated in favor of the newly introduced + `Builder\Param::setType()`. + +Version 4.0.3 (2018-07-15) +-------------------------- + +### Fixed + +* Fixed possible undefined offset notice in formatting-preserving printer. (#513) + +### Added + +* Improved error recovery inside arrays. +* Preserve trailing comment inside classes. **Note:** This change is possibly BC breaking if your + code validates that classes can only contain certain statement types. After this change, classes + can also contain Nop statements, while this was not previously possible. (#509) + +Version 4.0.2 (2018-06-03) +-------------------------- + +### Added + +* Improved error recovery inside classes. +* Support error recovery for `foreach` without `as`. +* Support error recovery for parameters without variable (`function (Type ) {}`). +* Support error recovery for functions without body (`function ($foo)`). + Version 4.0.1 (2018-03-25) --------------------------