Commit ea18b1a
committed
Review
- Move DocBlock-related regular expressions from `Regex` to
`PHPDocRegex`
- Move `normaliseType()` from `AbstractTag` to `PHPDoc`
- Move tag classes to `PHPDoc\Tag`, then rename and make them immutable
- Detect parameters passed by reference
- Improve parsing, e.g. when invalid whitespace is added between tokens
- Fail with an exception when a DocBlock cannot be parsed
- Remove `$legacyNullable` support
- Fix issue where `PHPDoc::$Summary` may not be `null` when a DocBlock
has no summary
- Fix issue where `/***/` is not recognised as an invalid DocBlockPHPDoc classes1 parent 4cf8f3a commit ea18b1a
File tree
15 files changed
+1176
-787
lines changed- src
- Sli/Command/Generate
- Toolkit
- Contract/Core
- PHPDoc
- Exception
- Tag
- tests/unit/Toolkit/PHPDoc
15 files changed
+1176
-787
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments