Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Add support for PHPCodeSniffer Composer Installer (#1)
Browse files Browse the repository at this point in the history
* Add support for PHPCodeSniffer Composer Installer

This "type" property is required for the PHPCodeSniffer Composer Installer package to automatically install the ruleset into phpcs. 

https://github.com/Dealerdirect/phpcodesniffer-composer-installer#developing-coding-standards

https://github.com/Dealerdirect/phpcodesniffer-composer-installer/wiki/Change-%60composer.json%60-%22type%22-to-%60phpcodesniffer-standard%60

* Use the existing 'type' property

There is no need to add another :)
  • Loading branch information
jamesmehorter authored and emielmolenaar committed Mar 17, 2019
1 parent 63170db commit f4af44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emielmolenaar/phpcs-laravel",
"type": "library",
"type": "phpcodesniffer-standard",
"description": "PHPCS libraries and configuration for Laravel",
"keywords": [
"phpcs",
Expand Down

0 comments on commit f4af44e

Please sign in to comment.