coding-standards
coding-standards copied to clipboard
Joomla Coding Standards Definition
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? 
```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...
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