cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.51k stars 238 forks source link

Deprecation warnings #571

Closed Dhanzs-chrome closed 1 year ago

Dhanzs-chrome commented 1 year ago

Your Environment

Expected behaviour

Hi there,

If it's not a big hassle would you please consider fixing these deprecation warnings? Thanks

Actual behaviour

Deprecation warnings

[2023-07-27 07:43:44] development.WARNING: Using ${var} in strings is deprecated, use {$var} instead in /src/framework/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php on line 209 [2023-07-27 07:44:14] development.WARNING: Creation of dynamic property Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository::$model is deprecated in /src/framework/vendor/cartalyst/sentinel/src/Throttling/IlluminateThrottleRepository.php on line 131

Steps to reproduce

No steps to reproduce the problem it is always logged in php 8.2 environment with 6.0.0 version perhaps didnt checked yet it is solved in 7.0.0

brunogaspar commented 1 year ago

Should be fixed on v6.0.1 & 7.0.1

Thank you!