selective-php / image-type

Image type (format) detection for PHP
MIT License
7 stars 4 forks source link

Consider using PSR-12 coding style #74

Closed peter279k closed 4 years ago

peter279k commented 5 years ago

According to this doc reference, It seems that the PSR-2 coding style is marked as deprecated by PHP-FIG organization.

Should we transfer to PSR-12 coding style?

odan commented 5 years ago

Yes, of course! As soon as PHP-CS is ready for PSR-12. (Afaik, most of the code base is already PSR-12 compatible)

peter279k commented 4 years ago

It seems that this setting has been defined on https://github.com/selective-php/image-type/blob/master/phpcs.xml#L13.

And this issue I think is going to be closed.