Skip to content

Commit 8e514de

Browse files
committed
Require reverse-regex ^0.7.0 (giorgiosironi#193)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NdNUgmdjuasdPQ7gEMt4BR
1 parent e3fae07 commit 8e514de

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The project follows [semantic versioning](http://semver.org/). `BC` stands for a
88
### Added
99
* Support for PHP 8.5.
1010
* `regex()` accepts a `$random` argument (`srand`, `mersenne` or `simple`) to choose the `reverse-regex` random generator, `simple` by default.
11-
* `regex()` accepts an `$unboundedMax` argument to configure the maximum number of repetitions of `*` and `+` (requires a version of `ilario-pierbattista/reverse-regex` with `Parser::setUnboundedMax()`).
11+
* `regex()` accepts an `$unboundedMax` argument to configure the maximum number of repetitions of `*` and `+` (requires `ilario-pierbattista/reverse-regex` ^0.7.0).
1212
### Fixed
1313
* `regex()` no longer throws a `ReverseRegex\Exception` on patterns with unbounded quantifiers such as `*` and `+`: they are now bounded by `reverse-regex` (#193, [ilario-pierbattista/eris#3](https://github.com/ilario-pierbattista/eris/pull/3)).
1414

‎composer.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
"phpunit/phpunit": "^10.0.4 || ^11.0 || ^12.0 || ^13.0",
2424
"sebastian/comparator": ">=2.1.3",
2525
"friendsofphp/php-cs-fixer": "^3.0",
26-
"ilario-pierbattista/reverse-regex": "dev-master",
26+
"ilario-pierbattista/reverse-regex": "^0.7.0",
2727
"phpstan/phpstan": "^2.0",
2828
"psalm/phar": "^5.4",
2929
"rector/rector": "^2.0"
3030
},
3131
"suggest":
3232
{
3333
"phpunit/phpunit": "Standard way to run generated test cases",
34-
"ilario-pierbattista/reverse-regex": "0.5.0 for the regex() Generator"
34+
"ilario-pierbattista/reverse-regex": "^0.7.0 for the regex() Generator"
3535
},
3636
"autoload": {
3737
"psr-4": {

0 commit comments

Comments
 (0)