joomla / coding-standards

Joomla Coding Standards Definition
https://developer.joomla.org/coding-standards/basic-guidelines.html
GNU General Public License v2.0
128 stars 129 forks source link

Add "static analysis" Composer keyword #283

Closed GaryJones closed 1 year ago

GaryJones commented 1 year ago

As per https://getcomposer.org/doc/04-schema.md#keywords by including "static analysis" as a keyword in the composer.json file, Composer 2.4.0-RC1 and later will prompt users if the package is installed with composer require instead of composer require --dev. See https://github.com/composer/composer/pull/10960 for more info.

HLeithner commented 1 year ago

The Joomla Coding standard has been deprecated and replaced with PSR-12, I'm closing this but thanks for the PR

GaryJones commented 1 year ago

Thanks @HLeithner - in which case, perhaps an update to the top of the README and repo description to indicate as much would be useful?