jwt-auth icon indicating copy to clipboard operation
jwt-auth copied to clipboard

Explicit indirect variable

Open MathiasReker opened this issue 3 years ago • 3 comments

Add curly braces to indirect variables to make them clear to understand.

MathiasReker avatar Jul 04 '22 16:07 MathiasReker

What tool do you use to discover these problems?

szepeviktor avatar Jul 04 '22 16:07 szepeviktor

What tool do you use to discover these problems?

https://github.com/FriendsOfPHP/PHP-CS-Fixer

MathiasReker avatar Jul 05 '22 18:07 MathiasReker

jwt-auth uses StyleCI which is PHP CS Fixer-based.

By adding your rules to https://github.com/tymondesigns/jwt-auth/blob/develop/.styleci.yml it could be automated.

szepeviktor avatar Jul 05 '22 18:07 szepeviktor