phpcheckstyle icon indicating copy to clipboard operation
phpcheckstyle copied to clipboard

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions.

Results 18 phpcheckstyle issues
Sort by recently updated
recently updated
newest added

See http://codingswag.ghost.io/cyclomatic-and-npath-complexity-explained/. We should add some test cases for this calculation.

Consider this example: ```

bug

Some of the checks are inconsistent. A few begin with `check` and others don't. Ideally we'd make the names short but sweet. This would require a lot of changes in...

enhancement

PHPCheckstyle should follow [Semver](http://semver.org/) versioning.

enhancement

Being able to warn about nested ternary statements would be useful. For example: ``` php (1 === TRUE ? "Yay" : "Nay") ``` Would be fine, however: ``` php (1...

enhancement

Currently PHPCheckstyle is only able to check the style guides against files and not a string itself. Rather than messing with `processFiles`, I'm thinking of adding just `process` as a...

enhancement

Documentation is sparse and out of date since adding: - `ArrayReporter` - Array configurations - PSR-0 support We need to be documenting a lot more than what's currently around.

help wanted

I'm setting up a test environment for my upcoming project (in CodeIgniter4, if it's relevant) and stumbled upon this weird behavior. I execute the following (in my CI4 project folder):...