Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
PHP CodeSniffer
Maintains PHP_CodeSniffer, a number of external standards for PHP_CodeSniffer and tooling to make it easier to use and develop for PHP_CodeSniffer.
Collective -
Host: opensource -
https://opencollective.com/php_codesniffer
- Code: https://github.com/PHPCSStandards
:sparkles: New `Universal.Classes.ModifierKeywordOrder` sniff
github.com/PHPCSStandards/PHPCSExtra - d714b5830cb95e24249d7d171ef4d521ad0f47b0 authored about 2 years ago by Juliette <[email protected]>Sniff to standardize the modifier keyword order for OO constant declarations.
The sniff contain...
github.com/PHPCSStandards/PHPCSExtra - ad1a954381fa80a06acd0cbd11a0ebd54949ea30 authored about 2 years ago by jrfnl <[email protected]>Sniff to standardize the modifier keyword order for class declarations, what with the `readonly`...
github.com/PHPCSStandards/PHPCSExtra - d960fd60da47c4c9f051797a069fef2c59a60f48 authored about 2 years ago by jrfnl <[email protected]>Universal/ConstructorDestructorReturn: add auto-fixer for return type
github.com/PHPCSStandards/PHPCSExtra - d8916a19ae5bd71c69ffd74822ffe98895cdcc7b authored about 2 years ago by Juliette <[email protected]>The "returns a value" warning cannot be auto-fixed as it should be looked at by a developer. How...
github.com/PHPCSStandards/PHPCSExtra - 92f65a5815922a015c9807232d9e17da8c62b420 authored about 2 years ago by jrfnl <[email protected]>DisallowInlineTabsUnitTest: skip on PHP 5.5
github.com/PHPCSStandards/PHPCSExtra - 2c8c6187620c8367772dc1b54ef14f6b488303b5 authored about 2 years ago by Juliette <[email protected]>For some weird and unknown reason, the tests for this sniff have started to fail intermittently ...
github.com/PHPCSStandards/PHPCSExtra - f6606d7a4a9a2797fd3b3b1e76dee0ab6d3c1022 authored about 2 years ago by jrfnl <[email protected]>Documentation: various minor fixes
github.com/PHPCSStandards/PHPCSExtra - 9c494e6a023c0c8ed19001d39e144bae87240301 authored about 2 years ago by Juliette <[email protected]>QA: remove some redundant/unused code & minor CS fix
github.com/PHPCSStandards/PHPCSExtra - fb29632b15de6a76a5cb03cb6a34713a6daeb00a authored about 2 years ago by Juliette <[email protected]>:sparkles: New `Universal.CodeAnalysis.ConstructorDestructorReturn` sniff
github.com/PHPCSStandards/PHPCSExtra - 8304a557efd20516be5a37d77af556c5abf25248 authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSExtra - f8efa5dc9c184b4e9264242bf07020c01aa4bba3 authored about 2 years ago by jrfnl <[email protected]>
New sniff to verify that class constructor/destructors:
* [error] Do not have a return type decl...
github.com/PHPCSStandards/PHPCSExtra - 510a9989bd2a26ca579974a36c1428fe0a9cc915 authored about 2 years ago by jrfnl <[email protected]>
github.com/PHPCSStandards/PHPCSExtra - 9a7d54950373b427967765535730d110ecd58694 authored about 2 years ago by jrfnl <[email protected]>
DisallowStandalonePostIncrementDecrement: prevent looking for nullsafe object operator
github.com/PHPCSStandards/PHPCSExtra - 7e1cae26f55ebfe042bbfdd861937b4cb850fe32 authored about 2 years ago by Juliette <[email protected]>NormalizedArrays/ArrayBraceSpacing: safeguard upstream bugfix
github.com/PHPCSStandards/PHPCSExtra - 6c5998282ca7844330fa95ecc4a0d1566fd63ce5 authored about 2 years ago by Juliette <[email protected]>New `Universal.Files.SeparateFunctionsFromOO` sniff
github.com/PHPCSStandards/PHPCSExtra - 49b13882370338a4cc1814588c9fed79c0e2f957 authored about 2 years ago by Juliette <[email protected]>This sniff will enforce that a file should either declare (global/namespaced) functions or decla...
github.com/PHPCSStandards/PHPCSExtra - 5b10c0ba3141e04a2674572c19cdcad08af1e8ba authored about 2 years ago by jrfnl <[email protected]>The PHPCSUtils `Collections::$objectOperators` property has been deprecated in favour of a `Coll...
github.com/PHPCSStandards/PHPCSExtra - b74734d8033112f01aeb8a31e1e635d4290a20f8 authored about 2 years ago by jrfnl <[email protected]>The `SpacesFixer` in PHPCSUtils contains a bugfix for a specific situation which affected this s...
github.com/PHPCSStandards/PHPCSExtra - 773aa930129b786fca0042dd6521aec70d31c594 authored about 2 years ago by jrfnl <[email protected]>Upgrade to PHPCSUtils 1.0.0-alpha4
github.com/PHPCSStandards/PHPCSExtra - fe509f998a46f89f23dcea87947c5c7f50a2427b authored about 2 years ago by Juliette <[email protected]>Take advantage of new features in PHPCSUtils 1.0.0-alpha4.
Ref: https://github.com/PHPCSStandar...
github.com/PHPCSStandards/PHPCSExtra - e1e2033baf9fc9a9a16b466fa4bcdb4b7287b09e authored about 2 years ago by jrfnl <[email protected]>Release 1.0.0-alpha4
github.com/PHPCSStandards/PHPCSUtils - 37c6da9a0aede973974ae02ef1af2dd641355e86 authored about 2 years ago by Juliette <[email protected]>Changelog for PHPCSUtils 1.0.0-alpha4
github.com/PHPCSStandards/PHPCSUtils - e3bb76d8320e376404d36e5de949825899ad8945 authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSUtils - 379efa887b9a96dd90e6b887d4622e84c3f296f1 authored about 2 years ago by jrfnl <[email protected]>
Update all references to the main branch from `master` to `stable`
github.com/PHPCSStandards/PHPCSUtils - f530fbc6a9588a087cd553e51c7d7d6fe8246f1f authored about 2 years ago by Juliette <[email protected]>... ahead of actually renaming the branch (just before release).
github.com/PHPCSStandards/PHPCSUtils - f3b2b9820c7063ceab9975d43178b9651b8083e4 authored about 2 years ago by jrfnl <[email protected]>Docs website: update for release of PHPCSUtils 1.0.0-alpha4
github.com/PHPCSStandards/PHPCSUtils - 21c03f1987f46b5ffb473e0386e74d8c3b90a42f authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSUtils - ba0f993873bf8ad7ee5f6e31d817785e7cd3bbc8 authored about 2 years ago by jrfnl <[email protected]>
Includes adding a `commonmark` configuration to prevent Commonmark blindly stripping _all_ HTML.
github.com/PHPCSStandards/PHPCSUtils - 00fc5ee97a283885506ca174f4dcc383585d5e16 authored about 2 years ago by jrfnl <[email protected]>
* Always display link to the project on GH.
The `site.github.is_project_page` key does not s...
... using the latest released version of phpDocumentor (`3.3.1`) so the diff for the actual rege...
github.com/PHPCSStandards/PHPCSUtils - b172b3a91c28ac805d2e800113e699ec0c8abea0 authored about 2 years ago by jrfnl <[email protected]>The docs have been regenerated using phpDocumentor 3.3.1 with `--visibility=public,protected`.
github.com/PHPCSStandards/PHPCSUtils - 265bff6861e1fb2b1738d37b6b1579848e6cc7a5 authored about 2 years ago by jrfnl <[email protected]>... after recent fixes in phpDocumentor3.
github.com/PHPCSStandards/PHPCSUtils - ac66cb6ce0f681fe8e851b917db6176c058be060 authored about 2 years ago by jrfnl <[email protected]>Docs: miscellanuous other updates
github.com/PHPCSStandards/PHPCSUtils - ce90dbfc8b186ce288a7087eb8af620819cd2a1b authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSUtils - 97f5dd2e807576b069418b6c5dfa86fa22f9ab14 authored about 2 years ago by jrfnl <[email protected]>
github.com/PHPCSStandards/PHPCSUtils - 441270a10b2317772317ec83b63fba2922419c86 authored about 2 years ago by jrfnl <[email protected]>
Includes:
* Updating the "Tested on PHP" badge to include PHP 8.2.
* A few `http` to `https` fix...
Docs: various updates to the docblocks and inline comments
github.com/PHPCSStandards/PHPCSUtils - 34bcef60543b1397ef50ca57303ac438f34c1f5c authored about 2 years ago by Juliette <[email protected]>CS/QA: minor clean-up
github.com/PHPCSStandards/PHPCSUtils - e3aa8ab9bf9e725be7424b7c3410e95e0be6b344 authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSUtils - fd2686474a43c4a83f621a21807835183f4e35e5 authored about 2 years ago by jrfnl <[email protected]>
Includes:
* Fixing some spelling errors.
* Adding missing `@since` tags.
* Adding missing link d...
IsShortArrayOrList: refactor for better accuracy and improved performance
github.com/PHPCSStandards/PHPCSUtils - 75e13f41377e66a814770a2ecae8837c19511026 authored about 2 years ago by Juliette <[email protected]>A significant number of these tests would previously lead to incorrect results for the short lis...
github.com/PHPCSStandards/PHPCSUtils - 6cd5532006de10d26438d5b661b865b3220fcf4a authored about 2 years ago by jrfnl <[email protected]>This is step 3 in a refactor to improve short list/short array determination.
This refactor add...
github.com/PHPCSStandards/PHPCSUtils - a6b0cf1297a353ef53a706ec431c74e5bd2afbc7 authored about 2 years ago by jrfnl <[email protected]>github.com/PHPCSStandards/PHPCSUtils - e22e1f297087c1aa7653f6ee44155db3e959c9d3 authored about 2 years ago by jrfnl <[email protected]>
github.com/PHPCSStandards/PHPCSUtils - 37eabc66fe6c691f99fcff4eca5d10a8373dcf2c authored about 2 years ago by jrfnl <[email protected]>
github.com/PHPCSStandards/PHPCSUtils - d2c4a4186b381c2e8df23a5289fcf728778fefd0 authored about 2 years ago by jrfnl <[email protected]>
This is step 2 in a refactor to improve short list/short array determination.
While caching had...
github.com/PHPCSStandards/PHPCSUtils - 36c0cf7255a04fe1ca44d3908efd2095a674a92f authored about 2 years ago by jrfnl <[email protected]>As the new `IsShortArrayOrListWithCache` class will now be the entry point to the `IsShortArrayO...
github.com/PHPCSStandards/PHPCSUtils - c387f30b2eedcc6c164cb0dd7795806baf9bca71 authored about 2 years ago by jrfnl <[email protected]>github.com/PHPCSStandards/PHPCSUtils - c23599095ec32075cc3e70f1aa7ad34e1b2e62e9 authored about 2 years ago by jrfnl <[email protected]>
Split off the tests which are specific to the `IsShortArrayOrList::isSquareBracket()` method to ...
github.com/PHPCSStandards/PHPCSUtils - e02006aef00e10492544f21a8d662eecfed397df authored about 2 years ago by jrfnl <[email protected]>Split off the tests which are specific to the `IsShortArrayOrList::isInForeach()` method to a de...
github.com/PHPCSStandards/PHPCSUtils - ad46d8113abda635b2691b22b090a12c4cde26e7 authored about 2 years ago by jrfnl <[email protected]>Turns out a square bracket after a non-braced control structure is always tokenized as `T_OPEN_S...
github.com/PHPCSStandards/PHPCSUtils - 5a038f79d1c626094b7ae8ca8e80238c09a8fc98 authored about 2 years ago by jrfnl <[email protected]>Make sure all named data sets use keys within the data set as well for a more readable data prov...
github.com/PHPCSStandards/PHPCSUtils - 2711dd96c90f1e9ab51bfae2b6d4a91e648518de authored about 2 years ago by jrfnl <[email protected]>
This commit improves the stability of the `IsShortArrayOrList::isInForeach()` method by:
* Using...
This is step 1 in a refactor to improve short list/short array determination.
In this commit, t...
github.com/PHPCSStandards/PHPCSUtils - 7d512752622956f8a0ea089984c63dd8d5625e39 authored about 2 years ago by jrfnl <[email protected]>Split off the tests which are specific to the `IsShortArrayOrList::__construct()` method to a de...
github.com/PHPCSStandards/PHPCSUtils - bd71b8ad3b821bc82d17175aa23bc4c0cdd6dd95 authored about 2 years ago by jrfnl <[email protected]>This commit moves the original test set for the `IsShortArrayOrList` functionality from the `Uti...
github.com/PHPCSStandards/PHPCSUtils - 4e7c1194a2f37d86c3709116068cf825eb2dfec1 authored about 2 years ago by jrfnl <[email protected]>This commit updates most tests to use the `IsShortArrayOrList` class directly instead of going v...
github.com/PHPCSStandards/PHPCSUtils - b711d9e1d51800fef0661971086972075755e66c authored about 2 years ago by jrfnl <[email protected]>
Making sure that:
1. All types of nesting is being tested, i.e. start of outer, middle of outer,...
* Add test with PHP 8.0 nullsafe object operators to safeguard against a potential tokenizer iss...
github.com/PHPCSStandards/PHPCSUtils - 26dcd69108a0294358318512290ed87d578eccf0 authored about 2 years ago by jrfnl <[email protected]>MessageHelper::stringToErrorcode(): add option to lowercase the text
github.com/PHPCSStandards/PHPCSUtils - 9a6d622d7aae21704a29bfb92ed317540b246a3a authored about 2 years ago by Juliette <[email protected]>Includes tests.
github.com/PHPCSStandards/PHPCSUtils - 6106f810bad9a13130bf74bfdd1c78f0275141b1 authored about 2 years ago by jrfnl <[email protected]>:sparkles: New `Context::inAttribute()` method
github.com/PHPCSStandards/PHPCSUtils - 6c3e9be58a8288e341580031a0f6dc3bf5113972 authored about 2 years ago by Juliette <[email protected]>... to determine whether an arbitrary token is within an attribute.
Includes unit tests.
github.com/PHPCSStandards/PHPCSUtils - bdf70c8c2afa599d3bd3d6bbae8a9ae15b784e94 authored about 2 years ago by jrfnl <[email protected]>GH Actions: few tweaks
github.com/PHPCSStandards/PHPCSExtra - cb7cfbffc0a5d934a2216e3ec0d9ef31ffb5c5a9 authored about 2 years ago by Juliette <[email protected]>If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a...
github.com/PHPCSStandards/PHPCSExtra - e689c49ed951527d108cbb5db5b0b2cf4a23f007 authored about 2 years ago by jrfnl <[email protected]>As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...
github.com/PHPCSStandards/PHPCSExtra - e28cb70da4b32c6ae7af2c9259a6b1ab315e4a78 authored about 2 years ago by jrfnl <[email protected]>GH Actions: few tweaks
github.com/PHPCSStandards/PHPCSDevTools - 85bca53988ec0cc072f48101cc8a7f238a936183 authored about 2 years ago by Juliette <[email protected]>If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a...
github.com/PHPCSStandards/PHPCSDevTools - d8f22ed732f35b0838a17658fed8ef3709e1781d authored about 2 years ago by jrfnl <[email protected]>As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...
github.com/PHPCSStandards/PHPCSDevTools - 2bfca0023a78294afa97feb1f8ad41b1fd258386 authored about 2 years ago by jrfnl <[email protected]>GH Actions/basics: revert to xmllint-problem-matcher v1
github.com/PHPCSStandards/PHPCSDevCS - dbf6ec1a4b82a1c01a14a20fb49ddff0f6689ce8 authored about 2 years ago by Juliette <[email protected]>As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...
github.com/PHPCSStandards/PHPCSDevCS - a235c59ff3de66bc910d05098e19ca8de4e6e312 authored about 2 years ago by jrfnl <[email protected]>PHPCS: fix ruleset
github.com/PHPCSStandards/PHPCSUtils - e13d929c60cc7b4b20b6b1238697621da86f2c19 authored about 2 years ago by Juliette <[email protected]>The sniff this exclusion refers to is not (yet) in use in PHPCSDevCS.
github.com/PHPCSStandards/PHPCSUtils - 3734842cba0efd5a62ae90ee839696f5b0a9b60f authored about 2 years ago by jrfnl <[email protected]>If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a...
github.com/PHPCSStandards/PHPCSUtils - 276b6f8c51f4a3f09f6b66490f5c4b7c4b14ea1b authored about 2 years ago by jrfnl <[email protected]>GH Actions: various tweaks
github.com/PHPCSStandards/PHPCSUtils - 0c2289a51bb285d8515091d10b078e1841743564 authored about 2 years ago by Juliette <[email protected]>GH Actions: Bump xt0rted/markdownlint-problem-matcher from 1 to 2
github.com/PHPCSStandards/PHPCSUtils - be3eff37672713877fc70f124a4b1efb7bcef79d authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSUtils - 404dcb183f937c687ff6e38e38eaf56b9d4720e3 authored about 2 years ago by jrfnl <[email protected]>
... as per https://pages.github.com/versions/
github.com/PHPCSStandards/PHPCSUtils - 23557436065ac1d497f0bd095cb62713da5e6d2e authored about 2 years ago by jrfnl <[email protected]>Bumps [xt0rted/markdownlint-problem-matcher](https://github.com/xt0rted/markdownlint-problem-mat...
github.com/PHPCSStandards/PHPCSUtils - e24655e912b2b6d0da152e843c7fe6c8b7d513f7 authored about 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...
github.com/PHPCSStandards/PHPCSUtils - 753488aaf741570fdee2954c8d30c13cae04da2a authored about 2 years ago by jrfnl <[email protected]>UtilityMethodTestCase::skipJSCSSTestsOnPHPCS4(): rename test file
github.com/PHPCSStandards/PHPCSUtils - 1a8057988c4fdc2adfd3f23a7533f6b0812b5e6a authored about 2 years ago by Juliette <[email protected]>UtilityMethodTestCase::getTargetToken(): throw exception when method called without tokenized te...
github.com/PHPCSStandards/PHPCSUtils - f8e211022add38ab686b3c1d9cb1c4f2a183fe39 authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSUtils - 77ab4256e92116c28ffe9b277f4a1b59ea447d8a authored about 2 years ago by jrfnl <[email protected]>
Follow up on 382 which made the method `static`.
As the method _could_ conceivably now be calle...
github.com/PHPCSStandards/PHPCSUtils - 53e38c02242cde86efea96a8eb8fcb95e4354a23 authored about 2 years ago by jrfnl <[email protected]>AbstractArrayDeclarationSniff: use available token array collection
github.com/PHPCSStandards/PHPCSUtils - 1e251c66037ca5073f23a4a2149d224d88a95ff8 authored about 2 years ago by Juliette <[email protected]>github.com/PHPCSStandards/PHPCSUtils - 20347fa8f94f222246b12afc8c6f5a6a306016ef authored about 2 years ago by jrfnl <[email protected]>
PHP 8.1 | Utils\PassedParameters: change named param implementation/named params after variadic
github.com/PHPCSStandards/PHPCSUtils - f89d144d07b8ea00715f98a0f42b301438c27ec7 authored about 2 years ago by Juliette <[email protected]>Follow up on 235 and 361.
As of PHP 8.1, named parameters after argument unpacking in function ...
github.com/PHPCSStandards/PHPCSUtils - 0effc58e4dffb69beca8fba15c8a5ff89420e5b5 authored about 2 years ago by jrfnl <[email protected]>UtilityMethodTestCase::getTargetToken(): change to a static method
github.com/PHPCSStandards/PHPCSUtils - 3f75cc5e019c09f975801b24a0305a4066939a5b authored about 2 years ago by Juliette <[email protected]>The method effectively was already `static` as it didn't use `$this`. Making it explicitly stati...
github.com/PHPCSStandards/PHPCSUtils - 8aebf8a4fa5e44d5211a2c91e8aeabdc04c09720 authored about 2 years ago by jrfnl <[email protected]>Collections: add new `shortArrayListOpenTokensBC()` token array
github.com/PHPCSStandards/PHPCSUtils - e11d8f990590b54c1c44f2ed5ca5326dd6cc517b authored about 2 years ago by Juliette <[email protected]>Includes tests.
Includes implementing the new token array in all the appropriate places.
github.com/PHPCSStandards/PHPCSUtils - 8ee11f261f02d190796fa3da1b87e08705fb53d8 authored about 2 years ago by jrfnl <[email protected]>AbstractArrayDeclarationSniff::getActualArrayKey(): improve handling of escaped embedded vars
github.com/PHPCSStandards/PHPCSUtils - 18f5d8fae440664ac2cf13e79d53b5476667ef8a authored about 2 years ago by Juliette <[email protected]>... in heredocs by using the new `TextStrings::stripEmbeds()` method.
Includes additional tests.
github.com/PHPCSStandards/PHPCSUtils - e7f28ccca0316709318ad151b347dc24e30c9d21 authored about 2 years ago by jrfnl <[email protected]>FunctionDeclarations::getParameters(): add caching
github.com/PHPCSStandards/PHPCSUtils - 0fb0345b48dc6685502bb6d1028228a809e357e7 authored about 2 years ago by Juliette <[email protected]>Follow up on 332
While most function declarations will be quite straight-forward, for function ...
github.com/PHPCSStandards/PHPCSUtils - c8136436905e6007b3bb31cda80e1213f8ba620c authored about 2 years ago by jrfnl <[email protected]>QA: make all classes final
github.com/PHPCSStandards/PHPCSUtils - be2cdceba0707bacdb249de1c155128698b744ef authored about 2 years ago by Juliette <[email protected]>