nextcloud / password_policy

:lock: Let the admin define certain rules for passwords, e.g. a minimum length
GNU Affero General Public License v3.0
35 stars 19 forks source link

refactor: Migrate away from deprecated `ILogger` to PSR-3 #641

Closed susnux closed 4 weeks ago

susnux commented 4 weeks ago

Mostly replace ILogger with LoggerInterface and some minor cleanup (constructor property promotion).

Some places used the deprecated logException, this is easy to migrate: Simply use the appropriate log level on the logger and place the exception under the exception key in the context.