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
New `Utils\Context` class
github.com/PHPCSStandards/PHPCSUtils - 6507ea0ebf3437eeb3c67ebc9831f9e8b19d02e7 authored over 4 years agoThis class introduces five new utility methods to examine the context in which an arbitrary toke...
github.com/PHPCSStandards/PHPCSUtils - 0acbc11558f6d9cfc9104d7cbeb9bd2313f4a9e7 authored over 4 years agoBCFile: sync with PHPCS: support namespace operator in type declarations
github.com/PHPCSStandards/PHPCSUtils - 82eecab58e6a352a57c12d58d1f6c0abf2200e2b authored over 4 years agoPR 180 added support for the namespace keyword used as an operator in type declarations to the `...
github.com/PHPCSStandards/PHPCSUtils - 692d255bfc177e302330632612812685bb899f8a authored over 4 years agoPR 180 added support for the namespace keyword used as an operator in type declarations to the `...
github.com/PHPCSStandards/PHPCSUtils - 3f75d0af544ba20a3086a31591caa7a4a21cdc26 authored over 4 years agoPR 180 added support for the namespace keyword used as an operator in type declarations to the `...
github.com/PHPCSStandards/PHPCSUtils - 5877328895e4191c515eb5e5635d3b9bd0fe9abe authored over 4 years agoCollections/UtilityMethodTestCase: sync with phpcs 3.x/PHP 8.0 identifier name tokens change
github.com/PHPCSStandards/PHPCSUtils - 8d7d32e085898a127690ef9ff88d8dbb466c3e54 authored over 4 years agoUpstream PR 3063 which was merged in PHPCS 3.5.7 effectively "undoes" the PHP 8.0 tokenization f...
github.com/PHPCSStandards/PHPCSUtils - 91f225028ad093cb14ee543fc41cb0b4abd0c1a5 authored over 4 years agoUpstream PR 3063 which was merged in PHPCS 3.5.7 effectively "undoes" the PHP 8.0 tokenization f...
github.com/PHPCSStandards/PHPCSUtils - a5a6ba6c64f961d0e8f29e6230cb49fea047f82f authored over 4 years agoDebug/TokenList: various tweaks
github.com/PHPCSStandards/PHPCSDevTools - 3afa254cb2d159c0efef8384eb2935b71b64eaab authored over 4 years agoThis is based on a count of the `nested_parenthesis` index.
Includes adjusted unit tests.
github.com/PHPCSStandards/PHPCSDevTools - 8ae192ea9dd03aa57eea91f4ee4dd1711f344cf7 authored over 4 years ago* The `level` index already contains the condition count, so no need for doing a `count()` withi...
github.com/PHPCSStandards/PHPCSDevTools - 379f8cdf5b024fb81a16f53c9f955fbeb4f7bf6e authored over 4 years agogithub.com/PHPCSStandards/PHPCSDevTools - e4e05a4f309c6dff9b7e421fd0b6ef871379cad9 authored over 4 years ago
Parentheses: improve method documentation
github.com/PHPCSStandards/PHPCSUtils - 242eac3c8600cb4bba50dd750064308b30e9bd60 authored over 4 years agoAttempt to make the differences between the methods clearer.
github.com/PHPCSStandards/PHPCSUtils - 8a6281aeae0aeecb56437849e942246b8eb9f263 authored over 4 years agoParentheses: recognize more parentheses owners
github.com/PHPCSStandards/PHPCSUtils - ee7baa583301b18e5df820581aa84a7b5e32fafd authored over 4 years agoPHPCS natively does not consider `isset()`, `unset()`, `empty()`, `exit()`, `die()` and `eval()`...
github.com/PHPCSStandards/PHPCSUtils - 00c1206d4674c1efe0c46bb6809f169244cf1793 authored over 4 years agoVarious minor code tweaks
github.com/PHPCSStandards/PHPCSUtils - 8c488a1f0a389503d8da13780e6edd00b7a5df51 authored over 4 years agoComposer/ruleset: allow for more PHP 8.0 token constants
github.com/PHPCSStandards/PHPCSDevCS - 49aba19c249f8e794310e010b46f1f8d050366b2 authored over 4 years agoPHP 8.0 will introduce yet more new token constants. A PR to sniff some more of those will be op...
github.com/PHPCSStandards/PHPCSDevCS - 2faa00d04656721211157d2ee4f711e848ccc967 authored over 4 years agogithub.com/PHPCSStandards/PHPCSUtils - f5e76f50d65330d509f5a1d61c31f49534121a28 authored over 4 years ago
BCFile/various methods: compatibility with the PHP 8 identifier name tokenization
github.com/PHPCSStandards/PHPCSUtils - 276fff0802732ea2eb8b630e88b3522ec7709dae authored over 4 years agoUseStatements::splitImportUseStatement(): compatibility with the PHP 8 identifier name tokenization
github.com/PHPCSStandards/PHPCSUtils - cb58a4134ffabcf22d6392949956740b86a3fc6f authored over 4 years agoPassedParameters::hasParameters(): compatibility with the PHP 8 identifier name tokenization
github.com/PHPCSStandards/PHPCSUtils - 622ea052a7bad1710fb2881465f68625ae943545 authored over 4 years agoWhile PHPCS itself won't backfill, nor start supporting the PHP 8 identifier name tokens until P...
github.com/PHPCSStandards/PHPCSUtils - f957255badf637035888eebf43bfb642c385f9bb authored over 4 years agoAs the PHP 8 identifier name tokens will not always exist in all supported PHP/PHPCS versions, t...
github.com/PHPCSStandards/PHPCSUtils - 4444dc9266c995794f93c819d86f7e779c249454 authored over 4 years agoThe `PassedParameters::hasParameters()` does a token based check on whether or not the passed to...
github.com/PHPCSStandards/PHPCSUtils - 6d5ab56f285cfe0a5a0652775b8aae746a505e8a authored over 4 years agoNamespaces::getType(): compatibility with the PHP 8 identifier name tokenization
github.com/PHPCSStandards/PHPCSUtils - f4d902b02cf83ac1dd780d1b3c08f5b2379d4aad authored over 4 years agoFunctionDeclarations::getParameters(): compatibility with the PHP 8 identifier name tokenization
github.com/PHPCSStandards/PHPCSUtils - d874fd94df7e0204286a06d036f51b9f2d479dfc authored over 4 years agoThe PHP 8 identifier name tokens can occur as part of a (union) type declaration for a function ...
github.com/PHPCSStandards/PHPCSUtils - cac541097d74ebfd913185ec4f4679727d73a9a6 authored over 4 years agoWhen the PHP 8 identifier name tokenization is used, the `Namespace::getType()` method basically...
github.com/PHPCSStandards/PHPCSUtils - 62155d671361c8864a02ef1c81e9eca9a3054193 authored over 4 years agoCollections::parameterTypeTokens[BC](): support the PHP 8 identifier name tokens
github.com/PHPCSStandards/PHPCSUtils - 4220825b239c2232230bd57e20f248fc40a69e1b authored over 4 years agoCollections::propertyTypeTokens[BC](): support the PHP 8 identifier name tokens
github.com/PHPCSStandards/PHPCSUtils - a7d08fdbe64abc6c893b2df2854099074bef1ebc authored over 4 years agoCollections::returnTypeTokens[BC](): support the PHP 8 identifier name tokens
github.com/PHPCSStandards/PHPCSUtils - 85f43a94cf2e3b71ff08fbd362e1cc51bad79d61 authored over 4 years agoIncludes adjusted unit test.
This commit implicitly adds support for PHP 8 identifier name toke...
github.com/PHPCSStandards/PHPCSUtils - 7242ea596987761f97d9f6281c1ac6840ed7daa5 authored over 4 years agoIncludes adjusted unit test.
This commit implicitly adds support for PHP 8 identifier name toke...
github.com/PHPCSStandards/PHPCSUtils - 6ffba3f713794fc0abf052fbf1f794ba290d276a authored over 4 years agoIncludes adjusted unit test.
github.com/PHPCSStandards/PHPCSUtils - 9df05aa6b5f336c1824c0207988b645cffe5bbe7 authored over 4 years agoCollections::namespacedNameTokens(): support the PHP 8 identifier name tokens
github.com/PHPCSStandards/PHPCSUtils - 2786537224e3b85c87597211bdb8114f2109e077 authored over 4 years agoIncludes adjusted unit test.
This change automatically adds compatibility with the PHP 8.0 iden...
github.com/PHPCSStandards/PHPCSUtils - 351d5ae7179efd4bf3834143e47d2c39291bc78f authored over 4 years agoCollections: new nameTokens() method
github.com/PHPCSStandards/PHPCSUtils - f9c3588bce7c72b827873c4e00ccb66188ceff0d authored over 4 years ago... containing the tokens used for "names", be it namespace, OO, function or constant names.
In...
github.com/PHPCSStandards/PHPCSUtils - 96bc79bea8b1f6c5817cfa223328f92401824284 authored over 4 years agoCollections: deprecate $OONameTokens in favour of namespacedNameTokens()
github.com/PHPCSStandards/PHPCSUtils - e01c1708a9ec3f6c28703c068883cff724b1d874 authored over 4 years agoBCFile/GetTokensAsString/GetTokensAsStringTest: make tests independent of PHP 8 identifier names
github.com/PHPCSStandards/PHPCSUtils - 1ba8c9e7f598e7e53e6a8a010e1787ba5354ec90 authored over 4 years agoRelated to 201
As the token counts for identifier names are different between PHP < 8 and PHP 8...
github.com/PHPCSStandards/PHPCSUtils - aad1710d38438b62e44df24496e3d836ff9249fd authored over 4 years agoDeprecate the `$OONameTokens` property in favour of a new `Collections::namespacedNameTokens()` ...
github.com/PHPCSStandards/PHPCSUtils - 13f368c865fdb475cec79c0f9d1764b4db360d15 authored over 4 years agoPHP 8.0 | Tests: set up to work with PHP 8.0 identifier name tokens
github.com/PHPCSStandards/PHPCSUtils - 452bf6b3e409d39e248d409a9e541a83c9b61f53 authored over 4 years agoAdd a toggle to retrieve the right token based on the expected tokenization for a test.
github.com/PHPCSStandards/PHPCSUtils - de30d98afa3af2c7cb5fa0f8b22ceb40b3a2a039 authored over 4 years agoThis adjusts the tests for various utilities to take the different token positions, when PHP 8.0...
github.com/PHPCSStandards/PHPCSUtils - 40a0fe718b04bd52ed118a2a017aebd51d1e7735 authored over 4 years agoWhen the PHP 8 identifier name tokenization is used, the `T_NAMESPACE` token for the `namespace`...
github.com/PHPCSStandards/PHPCSUtils - 26b54d2e54f9af353a588a5fb6dbc5b350075934 authored over 4 years agoAdd a toggle to retrieve the right token based on the expected tokenization for a test.
github.com/PHPCSStandards/PHPCSUtils - 12d512cd048c02e2f116d1252ad0981a3356bb59 authored over 4 years agoUtilityMethodTestCase: new `usesPhp8NameTokens()` method
github.com/PHPCSStandards/PHPCSUtils - ae73a764f02c39d045c5ba0eafda60af91f8803c authored over 4 years agoIn PHP 8.0 identifier name tokenization will change as outline in the [accepted RFC "Treat names...
github.com/PHPCSStandards/PHPCSUtils - c32f10d064ef4cebf6a0454e3d6997d32ae94280 authored over 4 years agoOperators::isTypeUnion(): BC-fix - namespace operator in return type
github.com/PHPCSStandards/PHPCSUtils - be015eaecf545306d0318e3bec894470b270d8e4 authored over 4 years agoThe `Operators::isTypeUnion()` method is subseptible to the Tokenizer bug which will be fixed in...
github.com/PHPCSStandards/PHPCSUtils - 7f72bc6f6fe9a79625d1e963768fbf94b199d28d authored over 4 years agoBCFile::isReference(): sync with upstream
github.com/PHPCSStandards/PHPCSUtils - 783953f79bc5bb801512e86260e3d476a3d0048f authored over 4 years agoMinor code simplification as pulled in upstream PR 3105 and merged in PHPCS 3.5.7.
github.com/PHPCSStandards/PHPCSUtils - 9876b54a841719c9ba1ac6f98950d81ffe9e4ff6 authored over 4 years agoOperators::isUnaryPlusMinus(): bug fix - unary after arrow in arrow function
github.com/PHPCSStandards/PHPCSUtils - 70ea51d17aef7c35168f681df4df8f10857464c3 authored over 4 years agoJust like after the `return` keyword, a plus/minus after the `=>` arrow in an arrow function is ...
github.com/PHPCSStandards/PHPCSUtils - d3535ebbce3a3c8efebd94bf0a4708cc884f382e authored over 4 years agoUseStatements: new `mergeImportUseStatements()` method
github.com/PHPCSStandards/PHPCSUtils - a9e6ce59e31eeae0b82690dce4325baff894a76b authored over 4 years agoThis splits the "merge" functionality off from the `UseStatements::splitAndMergeImportUseStateme...
github.com/PHPCSStandards/PHPCSUtils - 7264b96f99f8cf3933bccffe47d7c1758732d594 authored over 4 years agoPHPCS 4.x | Initial updates to handle T_USE becoming a parentheses owner
github.com/PHPCSStandards/PHPCSUtils - 87ca29d84b9f5f269ae021bb3cb5f60e9c28826d authored over 4 years ago`T_USE` tokens used for closure use statements are parentheses openers as of PHPCS 4.x.
This in...
github.com/PHPCSStandards/PHPCSUtils - 214811882e3d48bdeb7fb63a1cc15eea8891670d authored over 4 years ago`T_USE` tokens used for closure use statements are parentheses owners as of PHPCS 4.x.
This mak...
github.com/PHPCSStandards/PHPCSUtils - 9d7b3c24c7905e7252d510c14664ff76ee48b4e6 authored over 4 years agoBCTokens\UnchangedTokenArraysTest: update PHPUnit properties list
github.com/PHPCSStandards/PHPCSUtils - e8da419aceb960e191f506a50306a3a2357e404a authored over 4 years ago... for new properties introduced in PHPUnit 9.3.x.
github.com/PHPCSStandards/PHPCSUtils - 511a88be160c74782b9b1fd4272ad18b33dda39d authored over 4 years agoBCTokens: test arrays against PHPCS upstream
github.com/PHPCSStandards/PHPCSUtils - d4556fc6a61306b425079f398bff851fca13eaae authored over 4 years agoThis adds tests for all backfilled token arrays in the `BCTokens` class to verify whether they a...
github.com/PHPCSStandards/PHPCSUtils - 23bc69c72b004a83beda452607b99ed9d7ca8ddd authored over 4 years agoOperators::isReference(): bug fix - arrow function params passed by reference
github.com/PHPCSStandards/PHPCSUtils - e012cce8ddf73d63ff7f0e22206e0c0286f03666 authored over 4 years agoThe bitwise and `&` for parameters passed by reference in an arrow function declaration were inc...
github.com/PHPCSStandards/PHPCSUtils - 0587e5aea1fc9170454ee4e862686699a2f00056 authored over 4 years agoParentheses: improve handling of arrow functions returning by reference
github.com/PHPCSStandards/PHPCSUtils - 1065c1b872fe70b0ecbaeef3a46b33631e67be2b authored over 4 years agoIncludes unit tests.
github.com/PHPCSStandards/PHPCSUtils - 14005167888748c248038ac8797d718b9398cd0c authored over 4 years agoOperators::isReference(): remove some redundant code
github.com/PHPCSStandards/PHPCSUtils - 48d881e54e4cfda69b1ccf11aa6318f9043de985 authored over 4 years agoThe "closure use by reference" check only skipped over whitespace, not comments, but in effect, ...
github.com/PHPCSStandards/PHPCSUtils - d8c067bc66d5f7eccb2250a562c25f6673c00468 authored over 4 years agoIsReferenceDiffTest: fix class name
github.com/PHPCSStandards/PHPCSUtils - 3220fbdbda3ff160361c4569121a4f5e1226f466 authored over 4 years agogithub.com/PHPCSStandards/PHPCSUtils - 894739c08f7348352a51a80102c40fa6ed2f9215 authored over 4 years ago
Operators::isReference(): bug fix - parameters passed by reference
github.com/PHPCSStandards/PHPCSUtils - 97c42e935faf57529e18021ba8470c4c4f54825a authored over 4 years agoSomewhere down the line, the key used to look up whether a parameter was passed by reference got...
github.com/PHPCSStandards/PHPCSUtils - bca4c3889e4bb7d52ab8c0bb387248598fda9b2b authored over 4 years agoOperators::isUnaryPlusMinus(): allow for exit, break, continue
github.com/PHPCSStandards/PHPCSUtils - a3a060a01ea0123d75cb234ffe07f50727decad3 authored over 4 years agoTravis/Composer: future-proof the CS setup a little more
github.com/PHPCSStandards/PHPCSExtra - b525f9a0ed7dd7e0578f99af7ff7c7b7942fe8ca authored over 4 years ago... as indicators that a plus/minus is unary when preceded by it.
Includes unit tests.
Inspire...
github.com/PHPCSStandards/PHPCSUtils - 2f3e1db4bb15182ec726771dd1d751f891bd4ca7 authored over 4 years ago
* Composer: add branch aliases
* Travis: move CS install steps to the `Sniff` stage.
See PHPCom...
github.com/PHPCSStandards/PHPCSExtra - 915eb7ae65fe13af6b52fcc91fe0f1ffea936395 authored over 4 years agoQA/CS: update PHPCSDevCS
github.com/PHPCSStandards/PHPCSExtra - 232a81386b1ad04f1fe4ffaa44188e2ee5009db1 authored over 4 years agoTravis/Composer: future-proof the CS setup a little more
github.com/PHPCSStandards/PHPCSUtils - 504aded78f4402e06021659347b880460b3034f1 authored over 4 years agoTravis: various updates
github.com/PHPCSStandards/PHPCSDevTools - cb3024e411a3265cc75bddafdc5239dc2222d3d9 authored over 4 years agoThe new `1.1.x` version already includes a check for short array syntax, so we can remove that f...
github.com/PHPCSStandards/PHPCSExtra - 84bd7a3e5640993ba0ef575ce597a82ae9efa2c0 authored over 4 years agoThere are no builds with `PHPCS_VERSION` set to `n/a` at the moment, so we may as well remove th...
github.com/PHPCSStandards/PHPCSDevTools - 056ea56bd988cabbd0d17d5650b7a289be9c1ea6 authored over 4 years ago... to simplify the script a little more and make it clearer what belongs to what stage.
github.com/PHPCSStandards/PHPCSDevTools - 361b04e7fdfc5b7fba73e8b8f69a928aa97c7df5 authored over 4 years ago
The builds are failing a little too often for my taste on the below error.
```
[Composer\Downloa...
As the "trusty" environment is no longer officially supported by Travis, they decided in their w...
github.com/PHPCSStandards/PHPCSDevTools - eeedea0e6f9f67b4a6c8dece61379796ca66bfdf authored over 4 years ago
* Composer: add branch aliases
* Travis: move CS install steps to the `Sniff` stage.
See PHPCom...
github.com/PHPCSStandards/PHPCSUtils - 0c76615cf51a5c7c899e2ef1ce51d7703234b0a8 authored over 4 years agoQA/CS: update PHPCSDevCS
github.com/PHPCSStandards/PHPCSUtils - 210eed9c74358edda63a8e4e07c48471f1611639 authored over 4 years agoPHPCSDebug/Tests: change set up
github.com/PHPCSStandards/PHPCSDevTools - 8072d01734410a77c982b390c4f6da0c867a56fc authored over 4 years agoThe new `1.1.x` version already includes a check for short array syntax, so we can remove that f...
github.com/PHPCSStandards/PHPCSUtils - 95e8b7b23e0083fc8c576d9b726fd0254cc5c0a5 authored over 4 years agoChange the test setup from being based on the test suite in PHPCS to using the PHPCSUtils `Utili...
github.com/PHPCSStandards/PHPCSDevTools - 34d0bedc32bb1c5d56351ba93a639037f762d103 authored over 4 years agoQA/CS: update PHPCSDevCS
github.com/PHPCSStandards/PHPCSDevTools - 3a93067a53ca04a7fa32c30ec4712b74b34d8b5c authored over 4 years agoThe new `1.1.x` version already includes a check for short array syntax, so we can remove that f...
github.com/PHPCSStandards/PHPCSDevTools - 47646d690553aeab0dcb7a2057b0320d2694adfd authored over 4 years agoChangelog for version 1.1.1
github.com/PHPCSStandards/PHPCSDevCS - c1850e76ba80160adf20415058f5f40baae477da authored over 4 years agogithub.com/PHPCSStandards/PHPCSDevCS - 16d6b2bc5b943ad083e77d185baf479373482308 authored over 4 years ago
Composer/ruleset: update for PHPCompatibility 10.0.0
github.com/PHPCSStandards/PHPCSDevCS - bc121e68287edbd9d8b2fdc7798bf08297758bd3 authored over 4 years agoAlready allow for PHPCompatibility 10.0.0 which is due in not too long.
For external standards ...
github.com/PHPCSStandards/PHPCSDevCS - e63ede7f93875466449186d086cdc568299c08ad authored over 4 years ago