psl
psl copied to clipboard
rename all parameters to use snake_case everywhere.
currently, functions use $snake_case
for parameters, and methods use $camelCase
, IMO, parameters should be $snake_case
everywhere.
e.g:
$semaphore = new Async\Semaphore(concurrency_limit: $a, operation: $b);
instead of
$semaphore = new Async\Semaphore(concurrencyLimit: $a, operation: $b);
cc @veewee WDYT?
Sounds good: I'm all in on consistancy! I assume there will be a cs rule enforcing and fixing this for us somewhere.
What is the reason not to do like in psr-12 ?