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
... to retrieve the file encoding a project supposedly uses. No check is done to see if the `enc...
f717efc84aeb8f305a046297feac405ed9bc93f8 authored almost 5 years ago by jrfnl <[email protected]>Utils\UseStatements: add new `splitAndMergeImportUseStatement()` method
b3f2c961d18a4feac5a1b5a999dc4b806d9f56ee authored almost 5 years ago by Juliette <[email protected]>... which uses the `UseStatements::splitImportUseStatement()` method to retrieve the information...
491adbc5423ba8dd4005a9c8058166edb0aaab1d authored almost 5 years ago by jrfnl <[email protected]>Tests: abstract the assertAttributeSame backfill out to a trait
917f482d0e5dfce159a142bd658b95bf4397a451 authored almost 5 years ago by Juliette <[email protected]>... to allow use of this functionality in other tests.
At some point in the future this may be ...
72f0dcab4eaa4234625aa262195c4be941dd9143 authored almost 5 years ago by jrfnl <[email protected]>Tokens\Collections: add $OOHierarchyKeywords property
3af1c720b17c8d16de61a33488a77565b915d7d7 authored almost 5 years ago by Juliette <[email protected]>a0a119fe4f049823390a43b7aa0ce81e3dced24c authored almost 5 years ago by jrfnl <[email protected]>
... containing tokens representing the keywords to access properties or methods from inside a cl...
1b9a7fa7609bbe0ff05aac67349ba96e4c676e2d authored almost 5 years ago by jrfnl <[email protected]>Utils\ControlStructures: new `getCaughtExceptions()` method
8955a742ce0a88ce3813e1b52c368477e06574dd authored almost 5 years ago by Juliette <[email protected]>This adds a new utility method to retrieve information on the Exceptions being caught in a `catc...
744393d5542b49510edb557b8db8e5b1a16ccf0a authored almost 5 years ago by jrfnl <[email protected]>Tokens\Collections: add $OONameTokens property
3fa56a6957767cd9538a02f09fa82bac9f1f46b1 authored almost 5 years ago by Juliette <[email protected]>6e8b0475e7963f73bac9547440a5c086e7dff5a4 authored almost 5 years ago by jrfnl <[email protected]>
... containing token which can be part of a partially/fully qualified name when used in inline c...
28673373ddc040ef9436e409006dd216190c486b authored almost 5 years ago by jrfnl <[email protected]>Composer: allow installation with PHPCS 4.x for testing purposes + Travis test it
8187668fbc9af27d9fbcb0a0282ec302ecfb14a4 authored almost 5 years ago by Juliette <[email protected]>0c243bf124e3736158f2034f6d4f0f2edcc3923f authored almost 5 years ago by jrfnl <[email protected]>
UtilityMethodTestCase: auto-skip JS/CSS tests when using PHPCS 4.x
39ae56d3b0dd4ada7dcb303f2db6952087a8e382 authored almost 5 years ago by Juliette <[email protected]>Until PHPCS 4.x has been released, PHPCSUtils does not formally support it, though an effort wil...
101a19a6b1fb143a0497320baf802be1fb07eadd authored almost 5 years ago by jrfnl <[email protected]>Start testing against PHPCS 4.x-dev, for which development has started, to get early warning abo...
a9ee40aeecee570ffa2c16ba98ec9b94d9423811 authored almost 5 years ago by jrfnl <[email protected]>BCFile/ObjectDeclarations::getDeclarationName(): compatibility with PHPCS 4.x
e95038f8c82e66e78b15716a5df1cdc49987a23f authored almost 5 years ago by Juliette <[email protected]>Tokens\Collections: new methods for improved compatibility with PHPCS 4.x
203be8d7e168d5d95735645858e5cc8cee78fdf4 authored almost 5 years ago by Juliette <[email protected]>This implements automatic test skipping for JS/CSS tests on PHPCS 4.x, on which support for JS/C...
68118d01f8119d46ad58cc87a7c2c8c230fcab62 authored almost 5 years ago by jrfnl <[email protected]>PHPCS removes support for the JS and CSS tokenizers, which includes removing the `File::$tokeniz...
02411290cf5bd806111d73afe4e49999f87b120e authored almost 5 years ago by jrfnl <[email protected]>This implements use of the `PHPCSUtils\Tokens\Collections::returnTypeTokensBC()` method in the `...
1737d224cdb0d5aa63c65c1fc5da7dd1b7eb7224 authored almost 5 years ago by jrfnl <[email protected]>This implements use of the `PHPCSUtils\Tokens\Collections::propertyTypeTokensBC()` method in the...
73299d6e133bf6f1ad665204ea8e1d271d3b1609 authored almost 5 years ago by jrfnl <[email protected]>This implements use of the `PHPCSUtils\Tokens\Collections::returnTypeTokensBC()` method in the `...
12fdc0c43ef415b564d3904a24a92104716fc1f7 authored almost 5 years ago by jrfnl <[email protected]>** BREAKING CHANGE **
This adds three new methods to the `PHPCSUtils\Tokens\Collections` class:...
55369a5ef49ce61f8ac67639276c92f29654948f authored almost 5 years ago by jrfnl <[email protected]>TestUtils\UtilityMethodTestCase: add new $phpcsVersion property
ed41b59a21c8d0d722dfa429ca45b8d0c71ce67d authored almost 5 years ago by Juliette <[email protected]>Tests will often enough need access to the PHPCS version on which the tests are being run.
This...
34f0dce9679399bcfa3b10f1151f3d6580ab93ee authored almost 5 years ago by jrfnl <[email protected]>... in all relevant places in the existing tests.
788a52b5609e37087bf8628dae1a5e8c3dadd2af authored almost 5 years ago by jrfnl <[email protected]>Revert "PHPUnit: be strict about covers annotations"
816c1be33a8419b8bcb2372406ca6cc96ba7e1a7 authored almost 5 years ago by Juliette <[email protected]>Bit too strict and too fiddly for my liking.
This reverts commit cf90bbcc895e3c2482aa9f66bb9485...
51ffb4be4a3a9042b06d0cd68c952759f7063700 authored almost 5 years ago by jrfnl <[email protected]>Tokens\Collections: add new `$magicConstants` property
d909cb9f511bb1dc438a9af57a324821225fb795 authored almost 5 years ago by Juliette <[email protected]>Ref: https://www.php.net/manual/en/language.constants.predefined.php
79a8aef4b7b81b82bb61245c4c583d97d9434884 authored almost 5 years ago by jrfnl <[email protected]>CI: fix CS check not always running
4a7177dc71b7ad1f4e08e94fbd8558c4616509a9 authored almost 5 years ago by Juliette <[email protected]>Travis clones into a `/home/travis/build/...` directory, so the `build` exclusion for the PHPDoc...
7f35949e328803e406a2fef584fc282aef9f8ddd authored almost 5 years ago by jrfnl <[email protected]>Minor CS clean up
577c0e67668a89735e03f1ed8b9930f38553b7a0 authored almost 5 years ago by Juliette <[email protected]>fbcc5811508547f701fe31c2d61c7636deef079b authored almost 5 years ago by jrfnl <[email protected]>
Document that the TestUtils are compatible with PHPUnit 9.x
85fe2b32d9c61e586c4eb2a21cf78a71ef1a316d authored almost 5 years ago by Juliette <[email protected]>CI: switch to fork of Parallel-lint package
4f311c6c7f5a7ad0fd278527f759372bf48c8ac2 authored almost 5 years ago by Juliette <[email protected]>Tested & found compatible.
d650e5413f180b1b21efbdd6b88f3b3a89a1dea8 authored almost 5 years ago by jrfnl <[email protected]>... as the original appears not to be maintained anymore and is not compatible with PHP 7.4.
ed741fd30f2dde398aa5d901de912dfa0bff7499 authored almost 5 years ago by jrfnl <[email protected]>PHPUnit: make the tests compatible with PHPUnit 9.x
3aad4d6841cc231655efb7522c65301418619281 authored almost 5 years ago by Juliette <[email protected]>There is only one issue this test suite run into and that is the removal of the `assertAttribute...
b9013b1a4d87b4a50123ec60dfbf723066c51877 authored almost 5 years ago by jrfnl <[email protected]>PHPUnit: be strict about covers annotations
26c1407742c857930933360e0d003b36d181bf3e authored almost 5 years ago by Juliette <[email protected]>cf90bbcc895e3c2482aa9f66bb94858deb6050fe authored almost 5 years ago by jrfnl <[email protected]>
AbstractSniffs/AbstractArrayDeclarationSniff: improve handling of parse errors
3f857718b6156a753a37bfed4ceaf2e67c584472 authored almost 5 years ago by Juliette <[email protected]>PassedParameters::getParameterCount(): add extra unit test
31a1bc25caad6ae77641cd55bae678ce4a116b98 authored almost 5 years ago by Juliette <[email protected]>Arrays::getDoubleArrowPtr(): add extra unit test
48cce6a337e60248ef49acb51627b776124b9b3e authored almost 5 years ago by Juliette <[email protected]>Empty array items are not allowed and will trigger a parse error, but the sniff should handle th...
51ea82bfd2ee383e8d42255b368020343fa7dd4c authored almost 5 years ago by jrfnl <[email protected]>9a852195c32156c0f6ddb37ac2b3f2941ec76de9 authored almost 5 years ago by jrfnl <[email protected]>
8d7372d2bef48ad091f76bbeef6afba01578fa0c authored almost 5 years ago by jrfnl <[email protected]>
CNAME for deploy
7fa2a5cf3fd4ec1140a39ebb3edc535b57931acd authored almost 5 years ago by Juliette <[email protected]>Add CNAME file for GitHub Pages
34e50c3d99b84e8761b1e0ab050da3d8e63879d7 authored almost 5 years ago by Juliette <[email protected]>5dbc7fbb411ac6bc4321dbb2b85be2c6395377ac authored almost 5 years ago by jrfnl <[email protected]>
Release 1.0.0-alpha2
4422f0b7cef20556c4c47e5f43579bf5551390ae authored almost 5 years ago by Juliette <[email protected]>Add changelog
a6f14a17b9002abe0708acea7321fe0ecb40389b authored almost 5 years ago by Juliette <[email protected]>f448e9da1273d2b2ff00471a8474a6bba0fecf7e authored almost 5 years ago by jrfnl <[email protected]>
ca72c7f9b8cf886c7088f87198aca163047bfff8 authored almost 5 years ago by jrfnl <[email protected]>
Documentation: add homepage
b50bef5b461346517df949f81361aee855d0c293 authored almost 5 years ago by Juliette <[email protected]>... to be in line with the documentation homepage.
86b523afefd916074f052dc2b380a045e2a9eb59 authored almost 5 years ago by jrfnl <[email protected]>afa25b02725153da12bdf845ca14ebe931c2d200 authored almost 5 years ago by jrfnl <[email protected]>
Set up PHPDocumentor
e3f2b32584511a9a08428203dfe614941ae11d7c authored almost 5 years ago by Juliette <[email protected]>4213746a1d5595514c44fc1437007bda5b17e083 authored almost 5 years ago by jrfnl <[email protected]>
This adds the configuration for running [PHPDocumentor](https://github.com/phpDocumentor/phpDocu...
274d18adee282a9f6da31db3fd56ea0e0bf3c448 authored almost 5 years ago by jrfnl <[email protected]>Readme: add installation instructions
67276e54a9d06838c933ed737972e56d2026622a authored almost 5 years ago by Juliette <[email protected]>Add badges, feature description, installation instructions, a contributing section and license i...
efe38d3c46797af36a22c033c2befaf84971bc7f authored almost 5 years ago by jrfnl <[email protected]>BCFile::getMethodProperties(): minor code tweak
742d85b89b53560e3d1b3ff5e9f13ebd5e161964 authored almost 5 years ago by Juliette <[email protected]>Utils\Numbers: replace `$unsupportedPHPCSVersions` with `UNSUPPORTED_VERSION`
69d85ab42841a9d15fccee3e7cc6278b2a7774f7 authored almost 5 years ago by Juliette <[email protected]>As the fix for the broken backfill in PHPCS 3.5.3 was released in PHPCS 3.5.4, there is only one...
379013fb144d82f0eac16076d4ba306c17d07de9 authored almost 5 years ago by jrfnl <[email protected]>b0301661378481bb925d877b0a8900e7639a6a7b authored almost 5 years ago by jrfnl <[email protected]>
Docs: add some missing `@since` tags
f2c7577cccc38885172d78858fd7565050e46719 authored almost 5 years ago by Juliette <[email protected]>0bce0fb627de4ce1edfa010edbc629ca9031526d authored almost 5 years ago by jrfnl <[email protected]>
QA: Various minor code tweaks
55a36f07fad77b88a755f8c6cffe0b8525eccd43 authored almost 5 years ago by Juliette <[email protected]>Various minor documentation fixes
dfd9c68acbd2d11a51ed2ad0022549b0de40ff5a authored almost 5 years ago by Juliette <[email protected]>d8e4a0a3af0536e5ce472247b53dd7e7d7cb8b65 authored almost 5 years ago by jrfnl <[email protected]>
5238b8dbbe5907fce2a9836203edec48a6148bcb authored almost 5 years ago by jrfnl <[email protected]>
Arrays::getDoubleArrowPtr(): work around tokenizer bug in PHPCS 3.5.4
8d1e029cc1bf7386319746871849af0c13f1fbdf authored almost 5 years ago by Juliette <[email protected]>The double arrow directly after a `fn` would be tokenized as `T_STRING` in PHPCS 3.5.4.
Fixed n...
ad74f77de0d31c83431f620e4924356dbf4c4be0 authored almost 5 years ago by jrfnl <[email protected]>Composer: add PHPCSDevCS dependency
a9ee9e0afffca398df6f997b44628440aa838d41 authored almost 5 years ago by Juliette <[email protected]>The `PHPCSDev` ruleset has been split off from PHPCSDevTools to its own package.
Refs:
* https:...
FindEndOfStatementTest: simplify the tests
c57bcb0c8128513dd720ba3b4490026e63b0d363 authored almost 5 years ago by Juliette <[email protected]>ControlStructures/IsElseIfTest: bug fix
90137f97d890f61e6b73c0dce053802f3f4598bf authored almost 5 years ago by Juliette <[email protected]>These are the same changes as pulled upstream in squizlabs/PHP_CodeSniffer 2866
* Use the `Abst...
b133843232590e13e003af8bb01d7b50371294a3 authored almost 5 years ago by jrfnl <[email protected]>Three tests were using the wrong test markers.
In effect these three cases were therefore not b...
6a4b4fdad03c53c46569cf3ccda26048fd605095 authored almost 5 years ago by jrfnl <[email protected]>Documentation: various minor fixes
cd69520c6f14cc2e14ad8e6afb695406ecbecd5d authored almost 5 years ago by Juliette <[email protected]>Various minor tidying up
6210f71af5e7fec931bee14765312daa17568690 authored almost 5 years ago by Juliette <[email protected]>80c736d4ec3020efd7ff23108b4f27c4f183b1c5 authored almost 5 years ago by jrfnl <[email protected]>
878561f62bf3d9dfbe8bdf181410da573fee5cc4 authored almost 5 years ago by jrfnl <[email protected]>
Improve support for arrow functions / sync with phpcs 3.5.5
00b8ca9bdacd466f4268fece4181349fbc198f99 authored almost 5 years ago by Juliette <[email protected]>* Change checking of the return value of the `FunctionDeclarations::getArrowFunctionOpenClose()`...
37440af5171d44619b8009302a59b58b65f815e2 authored almost 5 years ago by jrfnl <[email protected]>This brings the `FunctionDeclarations::isArrowFunction()` and `FunctionDeclarations::getArrowFun...
ef96ac4d79a18723094989e71bfa2b6e7b28f1e8 authored almost 5 years ago by jrfnl <[email protected]>... in all applicable places.
d5b33dba789b28a1f46bb84ba1ecc4a6756a5abc authored almost 5 years ago by jrfnl <[email protected]>5ecdf04b5be12d084d972184f14dd0211cf57cd6 authored almost 5 years ago by jrfnl <[email protected]>
... to retrieve the tokens which can represent the arrow function keyword.
Includes unit tests.
e2f17bd2ca5aab49b1c6f4f72be322609a203a51 authored almost 5 years ago by jrfnl <[email protected]>Add support for arrow functions
2ad3390d1fc21cc98e961e2ef372fe79bacdb8b5 authored almost 5 years ago by Juliette <[email protected]>Allow for the `PHPCSUtils\Utils\Parentheses::getOwner()` and `PHPCSUtils\Utils\Parentheses::isOw...
020627d0a950da599ffdd302401c318b7dea4109 authored almost 5 years ago by jrfnl <[email protected]>10cf39d24ca81811aeb308fe3c9418dbe281ca66 authored almost 5 years ago by jrfnl <[email protected]>
* Add support for arrow functions to the `BCFile::findStartOfStatement()` method as per upstrea...
6179eb0782bf06a21a71a7c3d7fc46944a798c8d authored almost 5 years ago by jrfnl <[email protected]>In PHPCS 3.5.3+, the double arrow for arrow functions is tokenized as `T_FN_ARROW` and will not ...
090c56682c16c61476c4690c95e7c2c85f6ce85b authored almost 5 years ago by jrfnl <[email protected]>dfdaccb0ee9cdd4e6783da1a4dac5dc534c68868 authored almost 5 years ago by jrfnl <[email protected]>