Releases: mamazu/documentation-parser
Releases · mamazu/documentation-parser
Adding directory support and more validators
Infrastructure
- You can now validate directories (recursively)
- Adding a warning for files that can not be parsed
- Adding support for partial classes like
public function hello() {}
Which does not compile in standard php because methods are only allowed inside of classes.
Parser
- Adding a parser that can ignore certain file types
Validators
- Adding json validator
Note: If you update the symfony yaml parser you to get correct error locations in yaml blocks
Fixing validation of indeted YAML blocks
1.5.3 Adding assertion to the indentation cleaning
Allowing Symfony 5 packages as well
1.5.2 Also allowing Symfony 5 packages
Fixing some tests and the autoloading for php 8
1.5.1 Only check classes in php7
Adding simple Latex parser to the validator
This adds a Latex parser for this project this only supports the lstlisting
package with language.
Adding support for PHP 8
Added
- Added support for php 8 and testing against it
Changed
- Moved the CI to Gitlab
- PhpStan integration uses exec now
- Removed the
thecodingmachine\safe
package
Trying out gitattributes
Now if you install the distributable version you will no longer get the tests. For development run composer install --prefer-source
Fixing composer dependencies
While I tried to install this package I noticed it is not working because of the RST parser. I replaced it with my own package.
Adding RST support
1.3.0 Adding rst-support
More Features
Features
- Added JsonFormatter
- Formatter can now be changed
- Adding Yaml Validator
Changes:
- Errors now have a type: yaml or php