All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add optional source and line number information to patterns - #34 by kellegous
- Update deprecated string interpolation usage - #33 by kchung
- Change behavior or
*
from[^/]+
to[^/]*
- #31
- Support for inline comments - #25 by DZunke
- Support for PHP 7 has been removed - #27
- Added support for trailing
/**
and leading**/
patterns - #20 by martinssipenko
- Update Psalm and remove deprecated totallyTyped attribute - #21 by martinssipenko
- Added
ParserInterface::parseString()
- Issue #16 by WyriHaximus - Inspections for PHP 8.1
- Move inspections from Travis to Github Actions
- Renamed
ParserInterface::parse()
toParserInterface::parseFile()
- Update PHPUnit from
^7.5
to^9.4
in order to support PHP 8 - Update PHP version requirement to
^7.3 || ^8.0
- Run Travis on PHP versions 7.3, 7.4 and 8.0
- Update Psalm from
^3.0
to^4.2
\CodeOwners\ParserInterface
to enable injection of the parser
- Inspections on PHP 7.4
- Upgraded from PSR-2 coding style to PSR-12
Set PHP requirements.
- Required PHP version set to
^7.1
Updated the source after mutation testing with Infection
- Replaced some occurrences of
mb_substr
withsubstr
as prior checks ensure no multi byte characters are in the string - Changed some testing expectations to be more strict
vimeo/psalm
as development dependencysquizlabs/php_codesniffer
as development dependency- Docblock for
\CodeOwners\Parser::getReadHandle()
asresource
cannot be type hinted .gitattributes
to prevent unnecessary files in archive
- Apply fixes to be compliant with PSR-2 coding style
- Initial version of code, including unit tests
- README
- CHANGELOG
- Composer configuration