Adopt ekino/phpstan-banned-code and use it to prevent usage of uniqid()

Created on 28 September 2023, over 1 year ago

Problem/Motivation

It's being discussed in the parent to replace calls to uniqid() with something else. If that's done, it would later be rather convenient to prevent it being readded by mistake.

In #2972100-17: Remove usage of uniqid โ†’ it was introduced https://github.com/ekino/phpstan-banned-code as a potential PHPStan based solution.

Proposed resolution

Experiment and if it's worth adopt the PHPStan extension.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
Otherย  โ†’

Last updated about 1 hour ago

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly mondrake ๐Ÿ‡ฎ๐Ÿ‡น

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024