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

Joomla Coding Standards Definition

Results 41 coding-standards issues
Sort by recently updated
recently updated
newest added

I figured this would have to do more with coding standards and it was pointed out the discussion should continue here. Discussion so far can be read here: https://github.com/joomla/joomla-cms/pull/4936 Do...

Ok, what have I done wrong? ![image](https://user-images.githubusercontent.com/1850089/34343555-a0ef5436-e999-11e7-8c92-b75427dfe5bd.png)

```php /** * Add a command to the application. * * @param CommandInterface $command The command to add * * @return CommandInterface|void The registered command or null if the command...

Just curious why something like that is the case. There are a number of instances where the increment operator can be, at the least, jarring. Most obvious example is whether...

I think it's worth considering some revisions to the JS coding standards as there are a few things about them at the moment that stand out to me as a...

The rules for single quoted and double quoted strings differ a bit on the specifics but, in both cases, `\\` is an escaped backslash but `\` followed by any character...

Hi all, we've translated the standard into Traditional Chinese, and made the multi-language support. Here's the details: 1. Traditional Chinese Supported (yet the file structure remain the same). 2. Added...

Just found a tweet about this: http://cssguidelin.es/ Adding it here to review it when we do the Code Style code sprint.

I think the standard needs to be relaxed a little bit for lambdas (if possible). For example: ``` php $mapped = array_map(function ($a) { return $a->prop; }, $someObjects); ``` Will...

code sniffer

Hi, is there a way to solve the errors that thrown by template files? i.e. https://github.com/shopfe/joomla-cms/blob/staging/plugins/twofactorauth/totp/tmpl/form.php

manual