ilario-pierbattista/reverse-regex
ReverseRegex generates random text strings that match a given regular expression, making it easy to create test data for web forms, databases, and regex testing. A fork of icomefromthenet/reverse-regex with lexer, parser, and scope-based generation.
Scope, Node::contains(), Parser and the Parser\Quantifier/Parser\Unicode strategies, and the Parser and Quantifier properties are now typed; classes extending them must use compatible signatures (public interfaces are unchanged)src/ReverseRegex/Test/ to tests/ and are no longer shipped in the package archiveScope::generate() (and LiteralScope) now normalise a null result to an empty string; ContextInterface::generate() docblocks declare the by-reference $result as string|null on input and string on output, so static analysers such as Psalm no longer complainstrict_types=1doctrine/lexer accepts ^3 and doctrine/collections accepts ^2 and ^3 (previously supported versions still work)ArrayCollection::getAt() returns null for positions outside 1..count() as documented, instead of a wrong elementParser no longer attaches a null scope to the result when constructed without an explicit headParser\Short::parse() returns the head scope as documentedNode::detach() no longer triggers the PHP 8.5 SplObjectStorage::detach() deprecationTest\Basic base class (it depended on Pimple, which is not a dependency)cs-check, cs-fix, phpstan, phpstan-baselineHow can I help you explore Laravel packages today?