Updated Rector to commit 2aa1c38988c58fda5ae04a5b27fad255eaa2b141

2aa1c38988 Fix undefined MHASH_* constant on running downgrade from php 8.0 (#5585)
This commit is contained in:
Tomas Votruba 2024-02-08 05:40:02 +00:00
parent e79510ae2b
commit 831bb7a9f7
2 changed files with 21 additions and 2 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '0d55791128825909273d0cdd9743470236748d75';
public const PACKAGE_VERSION = '2aa1c38988c58fda5ae04a5b27fad255eaa2b141';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-02-08 04:22:04';
public const RELEASE_DATE = '2024-02-08 05:37:38';
/**
* @var int
*/

View File

@ -0,0 +1,19 @@
<?php
if (PHP_VERSION_ID < 80100) {
if (! defined('MHASH_XXH32')) {
define('MHASH_XXH32', 38);
}
if (! defined('MHASH_XXH64')) {
define('MHASH_XXH64', 39);
}
if (! defined('MHASH_XXH3')) {
define('MHASH_XXH3', 40);
}
if (! defined('MHASH_XXH128')) {
define('MHASH_XXH128', 41);
}
}