Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/PHPCSStandards/PHPCSUtils
A suite of utility functions for use with PHP_CodeSniffer
https://github.com/PHPCSStandards/PHPCSUtils
GH Actions: various tweaks
2622cbdb90dc74db4d8d0e5526f3f7887b9b3a37 authored over 3 years ago by Juliette <[email protected]>Related to upstream issue squizlabs/PHP_CodeSniffer 3267 / PR squizlabs/PHP_CodeSniffer 3268
3dce94e3f4cbe180b7d4747a753c193001bba3f1 authored over 3 years ago by jrfnl <[email protected]>Related to upstream issue squizlabs/PHP_CodeSniffer 3267 / PR squizlabs/PHP_CodeSniffer 3268
104ec788204025f03a51d4a9e7ce42c88d0a9247 authored over 3 years ago by jrfnl <[email protected]>Triggering a workflow for a branch manually is not supported by default in GH Actions, but has t...
738450ae1fa282d75b679907d641b56703ae514e authored over 3 years ago by jrfnl <[email protected]>... on pull requests as it doesn't play nice with required statuses.
c1d4e4f7536d658ad68a81b179cbd86322984fe4 authored over 3 years ago by jrfnl <[email protected]>The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...
9961e024e1f039e38db6619c0920011f9a5f9c15 authored over 3 years ago by jrfnl <[email protected]>The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...
fb12997e72a962512e85a0a269cdb36a0c51de3d authored over 3 years ago by jrfnl <[email protected]>BCTokens: add `scopeOpeners()` method and update `parenthesisOpeners()`
aecf13b37a8ae2d9d4303cb7c7dedb1be68e6378 authored over 3 years ago by Juliette <[email protected]>.. to account for the PHP 8.0 `match` keyword token `T_MATCH`.
These were added to PHPCS as par...
354b582a644d289c915fd269e23f5caab397f902 authored over 3 years ago by jrfnl <[email protected]>PassedParameters: account for upstream support of named parameters
602d7a3a6b41699cc07d821482c63f43189bf93b authored almost 4 years ago by Juliette <[email protected]>Upstream PR 3178 to add support for named function call arguments to PHPCS has been merged.
Thi...
e13f19101919aab71c3ba6892a91202f58372d21 authored almost 4 years ago by jrfnl <[email protected]>PHPCS 4.x | Sync with upstream changes regarding PHP 8 identifier names
3f1a79a35256b41ac5481ab743d04c144365db30 authored about 4 years ago by Juliette <[email protected]>Upstream PR 3155 for PHPCS 4.x adds the PHP 8.0 tokens for identifier names to the `Tokens::$fun...
4837a10172d87355724876fd841b3a3a32a84c98 authored about 4 years ago by jrfnl <[email protected]>
* One test didn't yet take PHP 8 identifier names into account.
* The other did, but contained a...
Upstream PR 3155 for PHPCS 4.x backfills the PHP 8.0 tokenization for identifier names for older...
e233c15c89f88878bdeb44c7ae47336678f2f7ff authored about 4 years ago by jrfnl <[email protected]>Upstream PR 3155 for PHPCS 4.x backfills the PHP 8.0 tokenization for identifier names for older...
4dbdd3a5032b0be19ddfd242cca8ddba1fde3637 authored about 4 years ago by jrfnl <[email protected]>Tests/UtilityMethodTestCase::skipJSCSSTestsOnPHPCS4: get rid of "risky test" warning
edf6a355055ba676bccd362849b2b655b1f26b4a authored about 4 years ago by Juliette <[email protected]>When the `@doesNotPerformAssertions` annotation is used, the test shows as risky when run in com...
9cf84a100a8efad67b05e5c1fb6093bbd17244ff authored about 4 years ago by jrfnl <[email protected]>PassedParameters::getParameterFromStack(): add extra unit test
58bb724e5ba65bf0434a613853563b854ce37508 authored about 4 years ago by Juliette <[email protected]>... documenting the behaviour when a non-existent parameter is requested.
b65ab343453345ff2061cbf935aab3f54d465b40 authored about 4 years ago by jrfnl <[email protected]>CI: switch to GitHub Actions
d018e580b587c82463fa69659b12f55d4c5bcf87 authored about 4 years ago by Juliette <[email protected]>
This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...
This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...
This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...
This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...
Tests: Xdebug 3 compatibility fix
1572bc4d788cd196fe4b5a5e06abd455bb902aeb authored about 4 years ago by Juliette <[email protected]>We are currently limiting the PHPUnit version being used to max PHPUnit 9.2.x due to an issue wi...
b21876f8746ad5232ed1a6024a2e9f9ebb9b90d9 authored about 4 years ago by jrfnl <[email protected]>PassedParameters: add support for PHP 8.0 named arguments in function calls
8655503437ec5a6dc8eab9ae0b342a2c6034c964 authored about 4 years ago by Juliette <[email protected]>While the PHP 8.0 `match` control structure is not yet supported in PHPCS itself, in PHP 8.0, it...
2c0abb2da2ec2503faa2ea5b60fc7209a1d9facb authored about 4 years ago by jrfnl <[email protected]>To support named parameters in older PHPCS versions in which named parameters aren't supported b...
73174e12ca62ebb324fdf7338d64479b67070ecd authored about 4 years ago by jrfnl <[email protected]>
PHP 8.0 introduces named function call parameters:
```php
array_fill(start_index: 0, count: 100,...
PassedParameters: add support for anonymous class instantiation parameters
b50df5f04e836fbe60d537ac009ce801afced864 authored about 4 years ago by Juliette <[email protected]>Includes unit tests.
a1fa7833c1b269305826fe95449844bd4fb5d3a1 authored about 4 years ago by jrfnl <[email protected]>Collections: add new `$arrayOpenTokensBC`, `functionCallTokens()` and `parameterPassingTokens()`
dfceab12dd98e16452d32e9492778f3eefb621cb authored about 4 years ago by Juliette <[email protected]>Tests: fix namespace of a test class
2362464f8a0d4a4648f66cd17d1bdb1d05527a0e authored about 4 years ago by Juliette <[email protected]>e1fb9726623149273e04d56efd533cfa24033bdd authored about 4 years ago by jrfnl <[email protected]>
Move the token collection which handles which tokens are supported in the PassedParameters class...
ef09a58e7a356083887f77229c841ac9e646f6e2 authored about 4 years ago by jrfnl <[email protected]>Arrays::isShortArray()/Lists::isShortList(): sync with upstream
5f196cd6e7c36b34310f12e01fb7ef4129e67f66 authored about 4 years ago by Juliette <[email protected]>Upstream PR 3172 has been merged, this updates the previously pulled fix to take this into accou...
f1e34a5f4b5a058b48367bd1790042a0e3e85936 authored about 4 years ago by jrfnl <[email protected]>Arrays::isShortArray()/Lists::isShortList(): work round PHP8 interpolated string dereferencing
67c43034719b279a6ae0527651820628233446d5 authored about 4 years ago by Juliette <[email protected]>As of PHP 8, text strings containing interpolated variables can be dereferenced, however, the sq...
ebc0a984da68473d36dd7a8ab242c0f91a42981e authored about 4 years ago by jrfnl <[email protected]>SpacesFixer: bugfix for new line vs trailing comment
c677ffcf8b566ed5bf92b74a94a29241e969feda authored about 4 years ago by Juliette <[email protected]>
Bug fix for a quite specific situation:
* If a new line was the expected spacing
* AND the "firs...
GetMemberPropertiesTest: use named dataprovider entries
21f9f0b4208dfe067194eddf7c21a5c8c4eba99b authored about 4 years ago by Juliette <[email protected]>BCFile::getMethodProperties(): sync with PHPCS / 'return_type_end_token' index
e54eaddb3bad811ef7c901569d142497835afad5 authored about 4 years ago by Juliette <[email protected]>The `return_type_end_token` index as a part of the return value for `FunctionDeclarations::getPr...
719af9218c90d09027087fc58424442026267eac authored about 4 years ago by jrfnl <[email protected]>6a78ba5a17ff033e85fb1574e858c9ea5d591070 authored about 4 years ago by jrfnl <[email protected]>
BCFile::getMethodParameters(): sync with PHPCS / constructor property promotion support
672543fa69c1536014c75899ca37fa9621c1e339 authored about 4 years ago by Juliette <[email protected]>PR 169 added support for PHP 8.0 constructor property promotion to the `FunctionDeclarations::ge...
8a86e13d26765cfa191a21cad00180da754b3f91 authored about 4 years ago by jrfnl <[email protected]>PHP 8.0 | Union types - sync with PHPCS
846c93bc5bac049d545499eb27c4a6d7d41320d1 authored about 4 years ago by Juliette <[email protected]>PR 168 added support for union types to the `Variables::getMemberProperties()` method and by ext...
cb87030451468dff8c874c5585a86d7bb02fb202 authored about 4 years ago by jrfnl <[email protected]>Apply the same fix which was previously already applied to the `FunctionDeclarations::getPropert...
8f8fae6489184d3304da81a11b26efbd50cd00f7 authored about 4 years ago by jrfnl <[email protected]>Upstream PR 3032 introduces a new `T_TYPE_UNION` token for the `|` in union types.
This token i...
1907e212d9158f8c3eebc108d0cbd780b460650f authored about 4 years ago by jrfnl <[email protected]>PR 168 added support for union types to the `FunctionDeclarations::getParameters()` method.
Ups...
83c8406a181823483ba6747ce81b45634051832f authored about 4 years ago by jrfnl <[email protected]>PR 168 added support for union types to the `FunctionDeclarations::getProperties()` method and b...
c61c0a835769c86ec9a09801cdbca7bde914cedc authored about 4 years ago by jrfnl <[email protected]>Upstream PR 3032 introduces a new `T_TYPE_UNION` token for the `|` in union types.
This token i...
99a42bc0a866b333a7bd482eb55eae6cf10a606b authored about 4 years ago by jrfnl <[email protected]>Upstream PR 3032 introduces a new `T_TYPE_UNION` token for the `|` in union types.
This token i...
2efa9c605b25b000bd6864d1644877ecc30f4a88 authored about 4 years ago by jrfnl <[email protected]>Operators::isTypeUnion(): account for new T_TYPE_UNION token
82beaa1ed19e071a7d210502cfb216f0484bb735 authored about 4 years ago by Juliette <[email protected]>Minor adjustment, mostly to the unit tests to allow for the new `T_TYPE_UNION` token as introduc...
0368e0ec48d367658f3f890b0e33312fb9c403e3 authored about 4 years ago by jrfnl <[email protected]>Travis: add some extra builds
530048b0306c5fec58e03e79e2cd159fd5fcf7bd authored over 4 years ago by Juliette <[email protected]>... to verify the tokenizer safeguards against certain low PHPCS versions.
781f16b43798109a161926fc721758bccae259ed authored over 4 years ago by jrfnl <[email protected]>Arrays::isShortArray()/Lists::isShortList(): add extra unit tests + minor fix
2014bfa6409d4aed8615c38ea0bd93e6c6d77f9d authored over 4 years ago by Juliette <[email protected]>... to safeguard against a PHPCS 2.8.x specific issue, which was already handled correctly in `A...
3f55da60149816507a559461e7599747e719566e authored over 4 years ago by jrfnl <[email protected]>BCFile::isReference(): sync with PHPCS / arrow function params passed by ref
00b3ea9802e88528c711acf3daf095ab964ac0e7 authored over 4 years ago by Juliette <[email protected]>PR 192 added support for recognizing the reference operator when used for parameters passed by r...
b3f236c245e98f01f0d08b533186cc562844cb0c authored over 4 years ago by jrfnl <[email protected]>Tests: merge the `isShortArray()` and `isShortList()` tests
07a92a7f1a0585263732f28186d6e7f87c50ba01 authored over 4 years ago by Juliette <[email protected]>A square open/close bracket is either a short array or a short list or neither (= plain square b...
95749599168e2e8e94f54bd4356821bdd6f4ddf8 authored over 4 years ago by jrfnl <[email protected]>New `Utils\Context` class
6507ea0ebf3437eeb3c67ebc9831f9e8b19d02e7 authored over 4 years ago by Juliette <[email protected]>This class introduces five new utility methods to examine the context in which an arbitrary toke...
0acbc11558f6d9cfc9104d7cbeb9bd2313f4a9e7 authored over 4 years ago by jrfnl <[email protected]>BCFile: sync with PHPCS: support namespace operator in type declarations
82eecab58e6a352a57c12d58d1f6c0abf2200e2b authored over 4 years ago by Juliette <[email protected]>PR 180 added support for the namespace keyword used as an operator in type declarations to the `...
692d255bfc177e302330632612812685bb899f8a authored over 4 years ago by jrfnl <[email protected]>PR 180 added support for the namespace keyword used as an operator in type declarations to the `...
3f75d0af544ba20a3086a31591caa7a4a21cdc26 authored over 4 years ago by jrfnl <[email protected]>PR 180 added support for the namespace keyword used as an operator in type declarations to the `...
5877328895e4191c515eb5e5635d3b9bd0fe9abe authored over 4 years ago by jrfnl <[email protected]>Collections/UtilityMethodTestCase: sync with phpcs 3.x/PHP 8.0 identifier name tokens change
8d7d32e085898a127690ef9ff88d8dbb466c3e54 authored over 4 years ago by Juliette <[email protected]>Upstream PR 3063 which was merged in PHPCS 3.5.7 effectively "undoes" the PHP 8.0 tokenization f...
91f225028ad093cb14ee543fc41cb0b4abd0c1a5 authored over 4 years ago by jrfnl <[email protected]>Upstream PR 3063 which was merged in PHPCS 3.5.7 effectively "undoes" the PHP 8.0 tokenization f...
a5a6ba6c64f961d0e8f29e6230cb49fea047f82f authored over 4 years ago by jrfnl <[email protected]>Parentheses: improve method documentation
242eac3c8600cb4bba50dd750064308b30e9bd60 authored over 4 years ago by Juliette <[email protected]>Attempt to make the differences between the methods clearer.
8a6281aeae0aeecb56437849e942246b8eb9f263 authored over 4 years ago by jrfnl <[email protected]>Parentheses: recognize more parentheses owners
ee7baa583301b18e5df820581aa84a7b5e32fafd authored over 4 years ago by Juliette <[email protected]>PHPCS natively does not consider `isset()`, `unset()`, `empty()`, `exit()`, `die()` and `eval()`...
00c1206d4674c1efe0c46bb6809f169244cf1793 authored over 4 years ago by jrfnl <[email protected]>Various minor code tweaks
8c488a1f0a389503d8da13780e6edd00b7a5df51 authored over 4 years ago by Juliette <[email protected]>f5e76f50d65330d509f5a1d61c31f49534121a28 authored over 4 years ago by jrfnl <[email protected]>
BCFile/various methods: compatibility with the PHP 8 identifier name tokenization
276fff0802732ea2eb8b630e88b3522ec7709dae authored over 4 years ago by Juliette <[email protected]>UseStatements::splitImportUseStatement(): compatibility with the PHP 8 identifier name tokenization
cb58a4134ffabcf22d6392949956740b86a3fc6f authored over 4 years ago by Juliette <[email protected]>PassedParameters::hasParameters(): compatibility with the PHP 8 identifier name tokenization
622ea052a7bad1710fb2881465f68625ae943545 authored over 4 years ago by Juliette <[email protected]>While PHPCS itself won't backfill, nor start supporting the PHP 8 identifier name tokens until P...
f957255badf637035888eebf43bfb642c385f9bb authored over 4 years ago by jrfnl <[email protected]>As the PHP 8 identifier name tokens will not always exist in all supported PHP/PHPCS versions, t...
4444dc9266c995794f93c819d86f7e779c249454 authored over 4 years ago by jrfnl <[email protected]>The `PassedParameters::hasParameters()` does a token based check on whether or not the passed to...
6d5ab56f285cfe0a5a0652775b8aae746a505e8a authored over 4 years ago by jrfnl <[email protected]>Namespaces::getType(): compatibility with the PHP 8 identifier name tokenization
f4d902b02cf83ac1dd780d1b3c08f5b2379d4aad authored over 4 years ago by Juliette <[email protected]>FunctionDeclarations::getParameters(): compatibility with the PHP 8 identifier name tokenization
d874fd94df7e0204286a06d036f51b9f2d479dfc authored over 4 years ago by Juliette <[email protected]>The PHP 8 identifier name tokens can occur as part of a (union) type declaration for a function ...
cac541097d74ebfd913185ec4f4679727d73a9a6 authored over 4 years ago by jrfnl <[email protected]>When the PHP 8 identifier name tokenization is used, the `Namespace::getType()` method basically...
62155d671361c8864a02ef1c81e9eca9a3054193 authored over 4 years ago by jrfnl <[email protected]>Collections::parameterTypeTokens[BC](): support the PHP 8 identifier name tokens
4220825b239c2232230bd57e20f248fc40a69e1b authored over 4 years ago by Juliette <[email protected]>Collections::propertyTypeTokens[BC](): support the PHP 8 identifier name tokens
a7d08fdbe64abc6c893b2df2854099074bef1ebc authored over 4 years ago by Juliette <[email protected]>Collections::returnTypeTokens[BC](): support the PHP 8 identifier name tokens
85f43a94cf2e3b71ff08fbd362e1cc51bad79d61 authored over 4 years ago by Juliette <[email protected]>Includes adjusted unit test.
This commit implicitly adds support for PHP 8 identifier name toke...
7242ea596987761f97d9f6281c1ac6840ed7daa5 authored over 4 years ago by jrfnl <[email protected]>Includes adjusted unit test.
This commit implicitly adds support for PHP 8 identifier name toke...
6ffba3f713794fc0abf052fbf1f794ba290d276a authored over 4 years ago by jrfnl <[email protected]>Includes adjusted unit test.
9df05aa6b5f336c1824c0207988b645cffe5bbe7 authored over 4 years ago by jrfnl <[email protected]>Collections::namespacedNameTokens(): support the PHP 8 identifier name tokens
2786537224e3b85c87597211bdb8114f2109e077 authored over 4 years ago by Juliette <[email protected]>Includes adjusted unit test.
This change automatically adds compatibility with the PHP 8.0 iden...
351d5ae7179efd4bf3834143e47d2c39291bc78f authored over 4 years ago by jrfnl <[email protected]>