Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/joomla/coding-standards
Joomla Coding Standards Definition
https://github.com/joomla/coding-standards
823aaea850ddbb57e99b81812df401bd642c9722 authored over 9 years ago
6efa9f72ebf75b17320cf076f4ab455047a36087 authored over 9 years ago
7fd0c9a37b8187ad5c647cc34829a40e00cbefe0 authored over 9 years ago
721b4fefa429597db87986ef91070d2e7d39a6e6 authored over 9 years ago
Phpcs 2
8a6d52d6ba8ff9889f11fd03af4e70ab7cae1c30 authored over 9 years ago5bf196569226ec6affc9029ad5ab8e25dc33b5d8 authored over 9 years ago
0cfe24b749d3f9f49a1adf8beb6a66a95611d36e authored over 9 years ago
Block comments (aka multi-line comments) require an "EmptyLineBefore" and no EmptyLineAfter. The...
a3022d055c2b4bfbdc73384acc4e937046ed4591 authored over 9 years ago7eba23c329538dd0399cd3a977bbf8c1a9e6b199 authored over 9 years ago
Allow newlines instead of spaces for multi-line Concatenation
a9494832082d9f3e1e0adc1ce38b354474fd6f52 authored over 9 years agob88a5d743d648365b5bc7de43cdab655153df9ea authored over 9 years ago
Corrected comment
5e1c67ffe32f580d34d0f62181e35d4000ecb0d8 authored over 9 years agoSmall correction to the comment so that it actually matches the rule it is describing and is rea...
c0f34875c9bfd7888b88fa4802546ea219722145 authored over 9 years agoCorrect File DocBlock Headers list
448b8a1033e8e4727488b81740df4536f297437d authored over 9 years ago
- "Do not use global variables. Use static class properties or constants instead of globals."
-...
PHP 5.3 doesn't allow the short array syntax `[]`, only in php 5.4+ can we replace `array()` wit...
0f9e1ca5ce7e0131ef46ab5a98c6f42d9650ea09 authored over 9 years ago
This sniff should handle and enforce the multi-line comments
```
/*
* A multiline comment
...
TODO - Add a fixer method for removing `()` from new class instantiations that lack parameters
...
fcdbcfa9388918b32162222f7c9b45d257ca3f08 authored over 9 years ago
87a9c5ccaa15eabb718e110dcd3e228c141dfc6f authored over 9 years ago
a89dbeca42b0377d89d308d6c677852a6cb28126 authored over 9 years ago
53eb7e60ea7b925a94e4e513b2115e55196c9ad7 authored over 9 years ago
4497dbb3ab14e3bc0ca10ea5c5353cfb210b97cf authored over 9 years ago
dec81a1d78aad5a35a861cc547eb3f1683b13b1d authored over 9 years ago
a1af467be71b06e38632c3203b8c1e8a85720b96 authored over 9 years ago
175ba3b7ce540797ff24dca450a03def1c5c5217 authored over 9 years ago
62e139e90db41268a2de6777e1f3a64d817638bf authored over 9 years ago
Differs in the protected $magicMethods = array() where we use camelCase
Should be reviewed to ...
18fec75bfb3e76713cc4b068676e9276c10f4a9b authored over 9 years ago
c0cba3270487bed1bcd6f5060710a8bc280a7cbd authored over 9 years ago
7625ffb9afb35ab32af7e74bfddc8670f2788a6c authored over 9 years ago
63544dd671d47bac0cdfd5f34823bc4f09ea9c90 authored over 9 years ago
41617f398c982877e9dea05b8dd55ad564fd3f5f authored over 9 years ago
- Adjusted in the ruleset
```
<rule ref="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed">...
4ec176c6dd3682cd37adc14e0826ea0a81bdf496 authored over 9 years ago
b50595de81c0b9f164452aec0337a2ddc6e1bff4 authored over 9 years ago
6c231eaf9746b22d13a9506a7d2f6f75968878cc authored over 9 years ago
- Use alphabetical ordering for easier reviewing of which standards are being used
- Add rule P...
Class tags read incorrectly
8cea122ced334d4a893583e0400c98122f54479f authored over 9 years ago0bcce0a80d143c78bf4772bb3146fe4a9c071b60 authored over 9 years ago
Method param alignment & indent errors
3f3551c55b17f29c670cd9875658b61d5f066d27 authored over 9 years ago5c4281a557c29a4520ce21048695c6e3f1a2dd2d authored over 9 years ago
b14028ebd263399f9e4601d4fcf722e6c89cf234 authored over 9 years ago
1d0300d4225aaf389283983282b2324420adaf30 authored over 9 years ago
a80975b026bbacedb7425962f781a8caa335d07e authored over 9 years ago
cdf57812b2698dc5b3520aa901a84357ff4bf017 authored over 9 years ago
Misc. fixes
6dc15e5709fd51e131f76234b35f5b3172669ac8 authored over 9 years agoe620d0d29db643e814bd41423a16658111156941 authored over 9 years ago
ddd6bf1f613652ec1abecb727b78f1604bd4c2a6 authored over 9 years ago
21068086260fe28d57d6553d6e45a1573bea493d authored over 9 years ago
5fa312bc30d6efaa991985ca437a4883d2f9948c authored over 9 years ago
85edfb0597f550014f72082d816d375bc56c7abd authored over 9 years ago
Layout files section
a0cd52fd1b16f7ce231664cd447c8fc4f7fa86c9 authored over 9 years agoa28bcc56646a7d6a9eb63112dc703232b7fe7eeb authored over 9 years ago
b26f6dd36ed3f30b8fb7b16a8ce2ce1d09500f6b authored over 9 years ago
c1f40f5de0d03aa7225abcc630c2b1379dfc0c31 authored over 9 years ago
6128d89cc9d9452d211da814501dcbf5aef7820f authored over 9 years ago
c65cd238e67c1f17d54e0ae81e960fc1b3549b55 authored over 9 years ago
2 very mirror fixes
f06a129855e8a09c7a3edf16d1645bc5710f9098 authored over 9 years agobe483603316e82beee0b9e5d965ee0172792b829 authored over 9 years ago
6942983223dc2ab9799de806640952fbc4734eec authored over 9 years ago
c2c65bbf720b4a118229bb9a3aaf761fe384a802 authored over 9 years ago
14737364ccbf435bd9f4acb6982068e8b56886cc authored over 9 years ago
07ed3041551190491919a4bd3f749387f70d9494 authored over 9 years ago
ba6441b8a8389fece3743b06c95660a9ab6b2e80 authored over 9 years ago
19ddbfb0b942662b329e3e2476dfd304d54a1760 authored over 9 years ago
ec794b2b505f46a2d0b1c81a1354f43d88fdb868 authored over 9 years ago
4575ec8224bc98645cb60f58e164b314e154211c authored over 9 years ago
Source PEAR/Sniffs/ControlStructures/ControlSignatureSniff
365335a77dc54cde72c0ec39d7b2d5414c0f5d97 authored over 9 years ago- Change Error message in rule set to `No scope modifier specified for function "%s`
76872c1cf31a64f8751ed825493e7fc0a8f76a15 authored over 9 years ago- Change Error message in rule set to `No scope modifier specified for function "%s`
2c3e3d39936d69cd7aca849b7669f88d1804b963 authored over 9 years agoe7fb506653ae6f9b900f081676a5dbb012eee624 authored over 9 years ago
ac56eb5bde667b5cdc8c8df8257e86de62ce4451 authored over 9 years ago
ea9276629bd749f1b4b5d951f3a995891dc681fa authored over 9 years ago
8604b84e89bea8b87ce5cd7a82dcc1c58caaf146 authored over 9 years ago
- Set Squiz.Strings.ConcatenationSpacing spacing value to 1
- Replaces Joomla.Whitespace.Concat...
43c820e9621c9f2f8a613cbb320865e4baadb3de authored over 9 years ago
There are existing standards that achieve the same results as the customs sniffs, there is no po...
4a00a4966977096205e32af406b18a32f56610b8 authored over 9 years agode071e1b4f884cf2cd63743e1b534a4edec7b62c authored over 9 years ago
37615572522643aaa71d69789352de1f8eeb5c65 authored over 9 years ago
85240315eb5d691b19ea3ec778e1a949f1f6b476 authored over 9 years ago
95ceab8ad6e24788b31472b3276ef0d05bfe6aee authored over 9 years ago
2347cc4b38f61d20afa21a2b477834a2c03bc542 authored over 9 years ago
0cbf8df9bb8584f00a0f77c63043a29e690b2e03 authored over 9 years ago
90699e344ab85f2ed03e4d8cad1e8b37d3f4705f authored over 9 years ago
- Based on PEAR/Sniffs/Commenting/InlineCommentSniff
37c572c11af7aff6a29ca30a20e1322784842a63 authored over 9 years ago6cb1120b2dbd9aa66cb81362f9b2ad90a1be7c9e authored over 9 years ago
471f9f2c02a265a1002675d07bfe9854018ed9ab authored over 9 years ago
- follow the definitions structure listed in https://github.com/joomla/coding-standards/blob/mas...
de7bd56fdc5a0640e568c3600a32230a0594d0ba authored over 9 years agotypo correction
6ec0be2e6cd396daa906fe513e6813fbddfeb875 authored almost 10 years agoBetter documentation of differences from core standards
521dbb2268aa2fbb42e1d900fb397cd3dbfea551 authored almost 10 years agofix wrong syntax for JRoute::_();
a3af281fa38950e094e64e39f4ebd4f9d75f316e authored almost 10 years ago2e989522b8bfb1a1038adda1013f149f2089710b authored almost 10 years ago
- Try to include some better documentation of differences from core standards to help with curre...
5aa57824567a6cf6300df0602893d14cc8fbfff3 authored almost 10 years ago971e93cb0d737bcd5b7fe7dd2069c48501696d5a authored almost 10 years ago
8f7a0137b06756f77fd32bea15e0338b84e0684a authored almost 10 years ago
10be72033e3bdafad199ef8fd9be3e7725dc62ca authored almost 10 years ago
PHPCS 2.x is stable but Joomla Sniffers is not yet compatible
d78aa2fb39a454fd6a80e021b87b573768f7bac9 authored almost 10 years agoReorder to better match the Squiz/ruleset.xml order
0cf117a6357c80165dff52e5cb50858224480f63 authored almost 10 years ago