laravel-uuid
laravel-uuid copied to clipboard
Dynamic properties are deprecated
Error in logs:
PHP Deprecated: Creation of dynamic property Webpatser\Uuid\Uuid::$bytes is deprecated in [filtered]/vendor/webpatser/laravel-uuid/src/Webpatser/Uuid/Uuid.php on line 127
PHP Deprecated: Creation of dynamic property Webpatser\Uuid\Uuid::$string is deprecated in [filtered]/vendor/webpatser/laravel-uuid/src/Webpatser/Uuid/Uuid.php on line 130
PHP Deprecated: Creation of dynamic property Webpatser\Uuid\Uuid::$uuid_ordered is deprecated in [filtered]/vendor/webpatser/laravel-uuid/src/Webpatser/Uuid/Uuid.php on line 137
Some info from php.net: https://www.php.net/manual/en/migration82.deprecated.php
Package version: "webpatser/laravel-uuid": "^4.0"
PHP:
$ php -v
PHP 8.2.4 (cli) (built: Mar 16 2023 14:34:00) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies
Duplicate of #77 Don't know why this did not get merged. The change is simple and clean.