Skip to content

Releases: composer/pcre

3.1.4

27 May 13:41
04229f1
Compare
Choose a tag to compare
  • Fixed one last deprecation when running on PHP 8.4

Full Changelog: 3.1.3...3.1.4

3.1.3

19 Mar 10:52
5b16e25
Compare
Choose a tag to compare
  • Fixed deprecations when running on PHP 8.4

Full Changelog: 3.1.2...3.1.3

2.1.3

19 Mar 10:52
540af38
Compare
Choose a tag to compare
  • Fixed deprecations when running on PHP 8.4

Full Changelog: 2.1.2...2.1.3

3.1.2

07 Mar 15:58
4775f35
Compare
Choose a tag to compare
  • Fixed @param-out and $match by-ref args to work better with PHPStan 1.10.60
  • Fixed bug in Preg::replaceCallbackStrictGroups not detecting null values when used with PREG_OFFSET_CAPTURE

Full Changelog: 3.1.1...3.1.2

2.1.2

07 Mar 15:56
02b8774
Compare
Choose a tag to compare
  • Fixed @param-out and $match by-ref args to work better with PHPStan 1.10.60

Full Changelog: 2.1.1...2.2.0

3.1.1

11 Oct 07:17
0010430
Compare
Choose a tag to compare
  • Fixed Preg::matchAllWithOffsets having the wrong phpdoc for $matches (#18)

Full Changelog: 3.1.0...3.1.1

2.1.1

11 Oct 07:16
b439557
Compare
Choose a tag to compare
  • Fixed Preg::matchAllWithOffsets having the wrong phpdoc for $matches (#18)

Full Changelog: 2.1.0...2.1.1

3.1.0

17 Nov 10:00
4bff79d
Compare
Choose a tag to compare

What's Changed

  • Add matchStrictGroups and other strict group operations to avoid nullable matches by @Seldaek in #14
  • Add replaceCallbackStrictGroups by @Seldaek in #15

Full Changelog: 3.0.2...3.1.0

2.1.0

17 Nov 09:59
3fdb280
Compare
Choose a tag to compare

What's Changed

  • Add matchStrictGroups and other strict group operations to avoid nullable matches by @Seldaek in #14
  • Fix PHP 7.2/7.3 handling of PREG_UNMATCHED_AS_NULL by @Seldaek in #16

Full Changelog: 2.0.2...2.1.0

3.0.2

03 Nov 20:27
4482b64
Compare
Choose a tag to compare
  • Improved type annotations for static analysis, $matches will now be populated correctly with @param-out annotations (requires PHPStan 1.9)

Full Changelog: 3.0.1...3.0.2