phpdoc-parser
phpdoc-parser copied to clipboard
Remove $trimStrings from ConstExprParser
Per https://github.com/phpstan/phpdoc-parser/pull/143#issuecomment-1281099895
This should be fine for the next major as it is a BC break.
I think we could decouple phpdoc-parser version from PHPStan so we could release 2.0 now and update to it in PHPStan 1.x :) On the other hand, this would be a PHPStan-userland BC break too, so it might not be a good idea...
Just checked in PHPStan and for PHPStan users it's not really a BC break because it's already called with true. The only exception are @method tags and that's fine...