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

Tags: emielmolenaar/phpcs-laravel

Tags

2.1

Toggle 2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix typo (#9)

There's an unexpected character `)` on the rule.

2.0

Toggle 2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update ruleset.xml

Removes default arguments given to phpcs. See #5. This allows for more customization or manually passing preferred arguments to phpcs. This is kind of a breaking change because the default behavior changes. To run phpcs with the same arguments before version ^2.0 of this package, run:

php vendor/bin/phpcs -spvnl --standard=phpcs-laravel <files / directories>

1.3

Toggle 1.3's commit message
Composer 2.x support. Closes #4.

1.2

Toggle 1.2's commit message
Rename phpcs.xml to ruleset.xml so that it may be used by phpcodesnif…

…fer-composer-installer (#2)

This seems to be completely undocumented anywhere :( :(

In order for phpcodesniffer-composer-installer to automatically install rulesets loaded via Composer, the ruleset file _must_ be named ruleset.xml

With this change, after installing with composer, you can immediately call `phpcs -i` and see `phpcs-laravel` listed as an installed sniff. Then you can use it with: `phpcs --standard=phpcs-laravel`

1.1

Toggle 1.1's commit message
Add support for PHPCodeSniffer Composer Installer (#1)

* 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 :)

1.0

Toggle 1.0's commit message
Initial commit