cartalyst / sentinel

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

Use square bracket syntax for array destructuring #495

Closed 8633brown closed 5 years ago

brunogaspar commented 5 years ago

Nice one @8633brown , i tend to forget about this feature :)

8633brown commented 5 years ago

@brunogaspar sorry about this i'm terrible at remembering to run composer cs:fix turns out you guys hve cs fixer setup to expand these out. https://github.com/cartalyst/php-cs-fixer-config/blob/1ee153df72a79d71e459e398de1a6d26f1fd3e36/src/Config.php#L35

brunogaspar commented 5 years ago

Ya, that's correct.

Probably better to keep it that way, as it's consistent every where, will run it locally.