coding-standard icon indicating copy to clipboard operation
coding-standard copied to clipboard

DEPRECATED! CodeIgniter 4 Coding Standard for PHP_CodeSniffer 3.

Results 8 coding-standard issues
Sort by recently updated
recently updated
newest added
trafficstars

When I run phpcbf, it replaces indentation tab with 3 spaces in array. command: ```sh-session $ vendor/bin/phpcbf --standard=./vendor/codeigniter4/codeigniter4-standard/CodeIgniter4 --encoding=utf-8 system/Language/en/RESTful.php ``` before: ```php return [ 'notImplemented' => '"{0}" action not...

```diff --- a/system/BaseModel.php +++ b/system/BaseModel.php @@ -299,7 +299,9 @@ abstract class BaseModel $this->tempUseSoftDeletes = $this->useSoftDeletes; $this->tempAllowCallbacks = $this->allowCallbacks; - /** @var Validation $validation */ + /** + * @var Validation...

Paths and links need to change as it's not been updated since moving the project to the codeigniter4 packagist and github namespace. It went from louisl to bcit-ci and is...

It seems to me that phpcs/cbf are getting confused with the braced nesting of arrays in some test classes, and giving up. Two examples: I have found a single method...

Another example of a suspect configuration inside PHPCBF ... it is inappropriately aligning subesquent assignment statements on the = sign, violating any reasonable line length rule. Example: public function testBasicHandle()...

Currently the `int` params and returns are being updated to `integer`. Same from `bool` to `boolean`. The following doc (right): ```php /** * @param int $n * * @return int...

Some are in place, need to complete the rest.

See https://docs.github.com/en/repositories/archiving-a-github-repository/archiving-repositories