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
* The `T_NULLABLE` token was only introduced in PHPCS 2.8.0, so the constant may not exist.
* Pr...
70fa3d8160f2d980425f4468d26a630bde28c3f3 authored about 5 years ago by jrfnl <[email protected]>
* Test the correct determination of the token position for the `type_token` and the `type_end_to...
4e0dc85921964d463ed31519a8b676d6722c440b authored about 5 years ago by jrfnl <[email protected]>... between PHPCS 2.6.0 and now.
0d39db156db1721be9f9204a4d5d1d6fa9df3e45 authored about 5 years ago by jrfnl <[email protected]>3b40648215a38edd6b28bbec2acde1447ca55257 authored about 5 years ago by jrfnl <[email protected]>
* Between PHPCS 2.4.0 and 3.2.3, return types were tokenized as `T_RETURN_TYPE`.
This has be...
* Test the correct determination of the token position for the `return_type_token` index key.
* ...
... between PHPCS 2.6.0 and now.
63926af49dd4e39a23225a3a663b698fecc494d2 authored about 5 years ago by jrfnl <[email protected]>a238a1531471568297c02aebca3f409cdac46ed0 authored about 5 years ago by jrfnl <[email protected]>
* The `T_NULLABLE` token was only introduced in PHPCS 2.8.0, so the constant may not exist.
...
* Between PHPCS 2.4.0 and 3.2.3, array type declaration were tokenized as `T_ARRAY_HINT`.
Th...
Fixed a bug where a subsequent parameter without type declaration would get the `type_hint_end_t...
ecdd40d0248c9068a187148971aecb9e4889d85b authored about 5 years ago by jrfnl <[email protected]>
* Test the situations in which the method returns an empty array.
* Add a significant number of ...
Test the correct determination of the token position for the various `...token` index keys.
b3ab83ea8c053b74ea6b4660195f543157bcd0f6 authored about 5 years ago by jrfnl <[email protected]>List the unit tests in the order they are run.
c5d3bf7ab27f9dac6acc678fee3e751526510318 authored about 5 years ago by jrfnl <[email protected]>... between PHPCS 2.6.0 and now.
b475c0fa2410ca14a26a9be72c49599abd7a52d7 authored about 5 years ago by jrfnl <[email protected]>... between PHPCS 2.6.0 and now.
5d40250b846aee9567489cf953fdafc21bf5650e authored about 5 years ago by jrfnl <[email protected]>a40df92766b1b445971c779671b050cd3b046864 authored about 5 years ago by jrfnl <[email protected]>
Minimal adjustments to the docs and code style to make the classes fit into PHPCSUtils properly....
c1bd924f82489ca2d0aa54ad7f125f4dbbcb37a6 authored about 5 years ago by jrfnl <[email protected]>Minimal adjustments to the docs and code style to make the class fit into PHPCSUtils properly.
...
07ef9ce16b481d5d065a8a82e71d0d8d2d343dc2 authored about 5 years ago by jrfnl <[email protected]>
* Adjust namespace.
* Minor adjustments to import use statements.
* Adjust class name.
The c...
Add author and copyright information for all the imported code.
Note: the names and email addre...
f91f17edd61afbd5a81aa613d3812ac54f1fda86 authored about 5 years ago by jrfnl <[email protected]>Adjust namespace statement, import use statements and the calls to the functions being tested to...
21423b64785efb16179e4b66b938a5fdff5a1fe8 authored about 5 years ago by jrfnl <[email protected]>Import the PHPCS native utility methods from the `File` class as per PHPCS 3.5.0, as well as any...
714fe77e9244aa0384c6a6f6a9435e3f0d00e866 authored about 5 years ago by jrfnl <[email protected]>New BackCompat\BCTokens class
7346987e66ddefa8736076b77e6e53988c39f424 authored about 5 years ago by Juliette <[email protected]>
PHPCS provides a number of static token arrays in the `PHP_CodeSniffer\Util\Tokens` class.
Some ...
BackCompat\Helper: add additional PHPCS cross version utility functions
71f2b8d95c912939562eb2fbf50eae2c69448d48 authored about 5 years ago by Juliette <[email protected]>
This adds the following additional methods:
* `getCommandLineData()` - get PHPCS config data whi...
New `TestUtils\UtilityMethodTestCase`
3be274417d58f2d958c501b4131450c60fe50c64 authored about 5 years ago by Juliette <[email protected]>This `PHPCSUtils\TestUtils\UtilityMethodTestCase` can be used to test arbitrary utility methods ...
3978de5d4d8a491c61b9eb6e5fa8535bdc73a043 authored about 5 years ago by jrfnl <[email protected]>New BackCompat\Helper class (includes unit test setup)
4b1fdbcd76df3800dfd763ccc8d7277a256a2373 authored about 5 years ago by Juliette <[email protected]>Enable Coveralls for code coverage checking.
Includes:
* Convenience script for code coverage c...
This:
* Adds a PHPUnit `phpunit.xml.dist` configuration file.
* Adds a `Tests/bootstrap.php` fil...
Add a `PHPCSUtils\BackCompat\Helper` class for external standards which provides a number of uti...
0d6ada95ced44191965600c06c856ea4d6b9a9e3 authored about 5 years ago by jrfnl <[email protected]>Add the base rulesets
8a17759d0a20c32a67d91ad62dd6d42120c14db5 authored about 5 years ago by Juliette <[email protected]>
This:
* Adds a custom PHPCS ruleset which uses the `PHPCSDev` ruleset to check the code style of...
d6fac72413e820e019336650500831b8b114ebad authored about 5 years ago by jrfnl <[email protected]>
25b10b95240068866f0dabf0660b967f4375f7d7 authored about 5 years ago by jrfnl <[email protected]>
This commit is two-fold:
1. It enhances the `phpcsutils-autoload.php` file to contain class ali...
7dde2d06e7b0b4a3c3dae4c4a3b9ca26c7380923 authored about 5 years ago by jrfnl <[email protected]>... for external standards which have their own test suite.
In PHPCS > 3.0.2+, when using the P...
bb0807336523540a49b2b393f27d734222d2b0b6 authored about 5 years ago by jrfnl <[email protected]>This will allow PHPCS to recognize PHPCSUtils as if it were an external PHPCS standard and handl...
d25e0e9059036b41546f246bcf6aac7f96bf0fed authored about 5 years ago by jrfnl <[email protected]>Some small improvements to the initial dev setup
39c56715a75702c16063bcc1bee0e54d191f9449 authored about 5 years ago by Juliette <[email protected]>... as it would block unit testing this repo on old PHPCS versions.
37cd24d1fd334f537a0ff0b8d4f912ea2479d7a3 authored about 5 years ago by jrfnl <[email protected]>... to prevent conflicts with projects, be it external standards or end-user projects, which req...
fd9ce5ec85b8ce79beadb5cd8bf145e336853944 authored about 5 years ago by jrfnl <[email protected]>When `installed_paths` is set via a custom, the PHPCS native autoloader cannot find non-sniff fi...
d7a2e4314aeec563c4e13d21cdb44fa757f17663 authored about 5 years ago by jrfnl <[email protected]>0c0e8327438310562a41d76cee93824c1d799bbf authored over 5 years ago by jrfnl <[email protected]>
647281871e87ff611d6cddf64305769f9c95480a authored over 5 years ago by Juliette <[email protected]>
f00807655d68095be5f3e8cd5686322a8a733cee authored over 5 years ago by Juliette <[email protected]>