laravelcs icon indicating copy to clipboard operation
laravelcs copied to clipboard

Laravel PHP_CodeSniffer

Results 13 laravelcs issues
Sort by recently updated
recently updated
newest added

When trying to use this standard with PHPCS 3.5.4 and PHP 8.1.5 installed globally on my system, the following error occurs - this error doesn't get triggered when using any...

php_codesniffer 2 is not supported in the latest versions of PHP.

Hello, Looks like this package is not being maintained. I've found documentation pointing to Laravael 4.2 which uses and old coding standard in comparison con current version 6.0. It'd be...

Hi, when I tried to install I got this error: ```bash Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for pragmarx/laravelcs...

I am using the standard installed globally, but for some reason, it is expecting tabs to indent code instead of the 4 spaces defined in the https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md that is followed...

The most recent PHPCS is not supported in this repo, also there are PSR2 clashes with the repo. The current repo does not support PHP 7 return type Hinting, which...

``` if (true) { // some code } ``` throws an error > 53 | ERROR | [x] Expected 1 new line after closing parenthesis; | | found " "

I wrote this to check if the class and functions docblocks are present. I used the PEAR check with some modifications (no requirements of tags, just the dockblock). I also...

Use of undefined constant T_DOC_XXXXXXXXXX - assumed 'T_DOC_XXXXXX' I am getting a lot of these errors when running the command. They come from different files located under /vendor/pragmarx/laravelcs/Standards/Laravel/Sniffs/ I am...

Nice! Please add the following to README.md to make Laravel the default standard. Link (or copy) Laravel into the global CodeSniffer directory. Mac OSX Homebrew example: `ln -s LaravelCodeSniffer/Standards/Laravel/ /usr/local/etc/php-code-sniffer/Standards/`...