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
Upstream PR squizlabs/PHP_CodeSniffer 3546, which is included in PHPCS 3.7.0, changed the tokeni...
b4ec049e7080b96d9bcb748527bf67c13df439f0 authored over 2 years ago by jrfnl <[email protected]>Tests: introduce generic dummy file
68b9226f1159e1560fef0f3005bc23faf30c0a97 authored over 2 years ago by Juliette <[email protected]>... for tests which do need a `$phpcsFile` object, but don't have code snippet based tests.
c831840ae17ca6906aacdb65656eb86c04e15e66 authored over 2 years ago by jrfnl <[email protected]>UtilityMethodTestCase::resetTestFile(): stabilize the resetting
d66bf2b881e4c0f225e77a6abaa86b991eff2595 authored over 2 years ago by Juliette <[email protected]>GetVersionTest: update for release of PHPCS 3.7.0
22d020a870f03b906edff99f50a4eefd6db9b362 authored over 2 years ago by Juliette <[email protected]>If a child test class would overload one of these properties without resetting, it could break a...
6c9abd958278189706aae0381b697b9c45bbd363 authored over 2 years ago by jrfnl <[email protected]>f35da046033ede4127cc46acbd3d0ac596611936 authored over 2 years ago by jrfnl <[email protected]>
Numbers::getCompleteNumber(): handle invalid explicit octals consistently
73c1b4d6143e7e484525cba1b19867051abf33b6 authored over 2 years ago by Juliette <[email protected]>Only the "valid" part should be included in the "complete" number.
Similar to upstream PR 3579....
c5a9be8844ae8644f24fa10fb6b6cd26d6c84c73 authored over 2 years ago by jrfnl <[email protected]>GetEndOfDoubleQuotedStringTest: update for upstream merge
7f13ba01bba01b62b3890ad05c77ee15be660a57 authored over 2 years ago by Juliette <[email protected]>Now upstream PR 3604 has been merged, the issue this method guards against will no longer exist ...
d2ca45d58607937e9a26908e9be9d0fd17d7cdd1 authored over 2 years ago by jrfnl <[email protected]>TextStrings: add new methods for working with interpolated variables
692c2485b296cce24c1307e91cf30f43e83a4802 authored over 2 years ago by Juliette <[email protected]>This introduces three new methods to the PHPCSUtils\Utils\TextStrings class.
Methods:
* `getEmb...
TextStrings::getCompleteTextString(): split into three methods
0db9570a7a5b3543decaacffbc4db0d5cef7a718 authored over 2 years ago by Juliette <[email protected]>This commit splits the `TextStrings::getCompleteTextString()` method into three distinct methods...
f9388f641ba1a50c383c313a5bfeaa968a73e24c authored over 2 years ago by jrfnl <[email protected]>Collections::textStringStartTokens(): fix typo in method name
8224d2450c9e99535a500469fad0ec82ba701d9d authored over 2 years ago by Juliette <[email protected]>Includes fixing it up in all uses within PHPCSUtils.
937cc0d5dca027f8e83424a95ba797778fef2d76 authored over 2 years ago by jrfnl <[email protected]>GetCompleteTextString3604Test: fix duplicate array key
12c75e7ad673cdbd2fc362d682f5951bd892b035 authored over 2 years ago by Juliette <[email protected]>... which meant one of the tests wasn't running.
9f1489888a3ee81d4e7f7e3f2d3698af91e02cab authored over 2 years ago by jrfnl <[email protected]>TextStrings::getCompleteTextString(): add BC for incorrectly tokenized double quoted strings
76c81154f818576e030d68ff2543603020523dce authored over 2 years ago by Juliette <[email protected]>While creating a sniff for PHPCompatibility to detect the PHP 8.2 deprecation of two of the four...
c9c0266158b57c51d9998391a677696e2f070707 authored over 2 years ago by jrfnl <[email protected]>GH Actions: expand the test matrix
9ecd2974d5c34f267e2828c0c3b16c3bd0ebaf45 authored over 2 years ago by Juliette <[email protected]>This commit expands the test matrix to test against more PHP/PHPCS combinations, thus extending ...
03afe6913b0a60f1d8da82354f2b392f07a8ef0d authored over 2 years ago by jrfnl <[email protected]>c775f22f32b13b786a6c1960b78e1634f493850d authored over 2 years ago by jrfnl <[email protected]>
GH Actions: pass the PHPCS version to test runs
a32f931b1aba80bf689b88b5c460f1ffc57265ef authored over 2 years ago by Juliette <[email protected]>Only just realized that the test for the `BackCompat\Helper::getVersion()` method wasn't running...
f14191006a24a9677eb3c0757df7b9f9883ac4ea authored over 2 years ago by jrfnl <[email protected]>QA: remove some unnecessary micro-optimizations
ea374670453d150e39129197fbf3391811c31520 authored over 2 years ago by Juliette <[email protected]>While it is not a bad thing to optimize for performance, some micro-optimizations, like saving i...
858f702c0503a4f17927b6cd24c575fecc1fb7d6 authored over 2 years ago by jrfnl <[email protected]>GH Actions: add Yamllint to QA basics
41fe01dc29c0ef35d1f4f3e302487221380c5fe2 authored over 2 years ago by Juliette <[email protected]>7de2540c2f0ec23b4379c93a515bb062c91ac460 authored over 2 years ago by jrfnl <[email protected]>
... to loosely safeguard valid and consistent yaml files.
Includes adding a configuration file ...
983f19ba3e5b6ee6c2fb95f030f5efcf8a6c2f57 authored over 2 years ago by jrfnl <[email protected]>GH Actions: add linting and QA checks for markdown documents
661079a9f233bbfe4e19ce0cb89f47b6327c6394 authored over 2 years ago by Juliette <[email protected]>cd5e72d70aab51e3eaa6f388b606c6e23c022e0f authored over 2 years ago by jrfnl <[email protected]>
While MarkdownLint is absolutely great for finding formatting issues, Remark offers some additio...
1c7d576fb8d43cf2b8910275c6a9c871c6509017 authored over 2 years ago by jrfnl <[email protected]>d94fbc4fc51aabe1ad4e5599f96957ac0e6736c7 authored over 2 years ago by jrfnl <[email protected]>
This new check uses the NPM MarkdownLint package via the NPM MarkdownLint-CLI2 package.
It exec...
2a3c77024cc3a7ef86361940602786af8660744a authored over 2 years ago by jrfnl <[email protected]>... to be before the adjustments made to the `composer.json` file.
8624965c9850508fc7417fc01055b48ca01bf312 authored over 2 years ago by jrfnl <[email protected]>Collections: deprecate all properties for methods
4d72dbc80702a8f48ca6d8b1372f7ce38a79bfb1 authored over 2 years ago by Juliette <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
a44b01688c281252512039de87c8e425d9392267 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
17e1b753d910a89540d07fc5c9bc8814df2e70a4 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
8da1f54c82edc3ff43eb92b07af1b00886dc83ed authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
3982d00d41b53f281daa2c8afb08c6875a644b67 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
45a7ef937878605faa54af1b6ba130ae2f7596fc authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
ee549443b7569d89978a636fd6cd0ebd8839d8b2 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
08dd4eb823bddc8b32279347b501ef5abf0a4fb9 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
4cb99eef87cc70d146cf93728bd20b9c36ed1b57 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
92851d66798cb5d23f215cd49fca2e96120fa09a authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
97ab380446faef114ed5a55eab0425e2ccddb8bc authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
5d030c8ae2089a725657fb2707f94f299b41bc65 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
5049b564864e93c9398b9e32b0c9f3acf31ed310 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
ad51382befbdb33c6748d91eb4b756e606c90269 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
f43285b4365bc73cbf1a5c3a530766a10a5cf0e3 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
b562012f2e0cbb2266b0cf801adc1bd93caa76c2 authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
af7cb9ca45974fa5e7d23b12d796ac02922a4dfe authored over 2 years ago by jrfnl <[email protected]>Over the last three PHP versions, PHP has steadily kept on introducing new tokens.
In the conte...
8260154eaaae6c64ebbff8a9a0cdbbd885835dac authored over 2 years ago by jrfnl <[email protected]>README: various updates to the badges
6cecfd6e707d0b6b232d9c4123ac07058047b25e authored over 2 years ago by Juliette <[email protected]>Docs: various minor updates
842f3e25db64be09ffbc903f3e42f5a667974834 authored over 2 years ago by Juliette <[email protected]>Refreshed various links for the badges to use the current canonical links as per the service.
59133eb2075070cb0f1919f514a5231a3297a70a authored over 2 years ago by jrfnl <[email protected]>fa9f874773b195c89b7e7441d7fbbbb57f746daf authored over 2 years ago by jrfnl <[email protected]>
15593dd022d511a7934aba9b373bcc858246d816 authored over 2 years ago by jrfnl <[email protected]>
* For those properties which have been deprecated, make sure the `@since` tag lists the `alpha` ...
a52c3ff323995bd75bcaffdf1a37a058d1d06996 authored over 2 years ago by jrfnl <[email protected]>... in various places.
* Ensure that BCFile changelog is complete and references the correct ve...
590bbcb2a8626536bd240f9c6f81114b85046d5a authored over 2 years ago by jrfnl <[email protected]>6f5cd4be1875da5283a6ba3a9a371e9a4ac6738e authored over 2 years ago by jrfnl <[email protected]>
0183e01bfcd38a86c0d2130500f5622eab6460e2 authored over 2 years ago by jrfnl <[email protected]>
Tests: various improvements
816ffcc701d6bbc89d3820eeaa3262e6dbbe60f9 authored over 2 years ago by Juliette <[email protected]>While the value of `PHP_INT_MAX` will differ depending on whether PHP is compiled as 32-bits or ...
faa4466b85bb9f78c9c5cc9931d21dfaec68ec5f authored over 2 years ago by jrfnl <[email protected]>The `UtilityMethodTestCase::expectPhpcsException()` method provides a polyfill for changed PHPUn...
413cac8653bf400cca2816c2a3b1406e8794c32f authored over 2 years ago by jrfnl <[email protected]>With the changes in PHP 8.0, the `T_STRING` (namespace name) target token _may_ not exist as it ...
08d41fe0dd9f5f2ee323882673d25d1edb389a1d authored over 2 years ago by jrfnl <[email protected]>Turns out those were still PHPCS native tokens, not PHP native ones :joy:
cb43f6a84bdf72ab51721afc5dbb7fafee768d02 authored over 2 years ago by jrfnl <[email protected]>PR 293 split some code from the `getCompleteNumber()` method off into a separate `updateResult()...
664b33471f5f4ddc674fd201ab672eed83e38107 authored over 2 years ago by jrfnl <[email protected]>QA: add type declarations where possible
ef009eff7e1b3419a7f48740c08117b10dec115e authored over 2 years ago by Juliette <[email protected]>Includes adding a reminder in the release checklist to double check for this before a new release.
2a708f975f30a8139d028dea40dbcfe9d969801f authored over 2 years ago by jrfnl <[email protected]>Tests: improve skip info
9255366028d5a9b70149e461334d26f989c6d38d authored over 2 years ago by Juliette <[email protected]>bdfdeabc8d7f0663a7add4c081c243c38dec0861 authored over 2 years ago by jrfnl <[email protected]>
04a793051eb9816d1864cce11f62df6493e4a395 authored over 2 years ago by jrfnl <[email protected]>
... to allow for seeing which tests are being skipped in CI.
e7d150ff1196be2e84ee6979d38f7e339751aa10 authored over 2 years ago by jrfnl <[email protected]>CI: run code coverage on PHPUnit 9.3+
e50c6be8c0c88f310a35439ee944c0ade75bfb65 authored over 2 years ago by Juliette <[email protected]>As of PHPUnit 9.3, PHPUnit started using PHP-Parser as a basis to calculate code coverage. Until...
18be334eefc4fd3638739e40b54e849ecc3bfb96 authored over 2 years ago by jrfnl <[email protected]>New `Tokens\TokenHelper` class
7135466dd1b532a3a314b0de2319bbe3666c093c authored over 2 years ago by Juliette <[email protected]>... in all the appropriate places.
c315c8916b6970cee797c5ebef810555dc2dec53 authored over 2 years ago by jrfnl <[email protected]>As of PHPUnit 9.3, PHPUnit started using PHP-Parser as a basis to calculate code coverage.
The ...
e45947e75375bbda3d7b322634e2a5772ce76384 authored over 2 years ago by jrfnl <[email protected]>PHPUnit config: show code coverage summary
30758497a17e2c83ff583749333db87b75afbd66 authored over 2 years ago by Juliette <[email protected]>... at the end of test runs run with code coverage.
328d850f28fa313b6ce3d56509b603f81257071f authored over 2 years ago by jrfnl <[email protected]>Tests: add new ` IsShortArrayOrListTokenizerBC4Test`
ed5f4be1af76654ab56272d302bba492f62ee11c authored almost 3 years ago by Juliette <[email protected]>... to further safeguard against an upstream tokenizer bug.
Related to 271.
11df3b95744da219c77f5bc518f0101aaa353b66 authored almost 3 years ago by jrfnl <[email protected]>README/Changelog: improve maintainability and update an FAQ entry
3cbe884700e2a9d3ded4911108f17eb586e994e4 authored almost 3 years ago by Juliette <[email protected]>... by moving links to link lists under each release.
9b9fda5e0cf7c2a15405a68cd3f0890ad8dbaa9f authored almost 3 years ago by jrfnl <[email protected]>7a0e60171aaa21e608628f74ee645ad3a9bddcd2 authored almost 3 years ago by jrfnl <[email protected]>
... for which the text had become dated.
e4cb70a89f556f6f4bb2f0ca7e7fb3733832b396 authored almost 3 years ago by jrfnl <[email protected]>GH Actions: remove `--no-interaction` from Composer commands
e38da94723982caec6e1a6fb5884f9236d91daac authored almost 3 years ago by Juliette <[email protected]>... as since `setup-php` version `2.17.0`, this is no longer needed as this is now the default v...
4648a04e03341b595a41465d8ea83afc7851755b authored almost 3 years ago by jrfnl <[email protected]>Composer: update dependencies
8024e18eede4d648d418b061d31c0b5cd775993b authored almost 3 years ago by Juliette <[email protected]>PHP Parallel Lint supports both PHP Console Highlighter < 1.0 and 1.0+ as of PHP Parallel Lint 1...
79317fc13fab334808acb352bb727074ca9229bf authored almost 3 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Add dependabot configuration file
ab305f33a58032e1531e46853c877c1d175f73e7 authored almost 3 years ago by Juliette <[email protected]>
This automatically enabled Dependabot to:
* Submit pull requests for security updates and versio...
GetTokensAsString: minor tweaks
bf528ab64299ffa5e6792ef4bedbab7cb1a747f1 authored almost 3 years ago by Juliette <[email protected]>* Reversed the alias `normal()` vs the real method `tabReplaced()` as the latter is a more descr...
7a01a4591dd5c5ee6e329ea2204a58c890b7e33c authored almost 3 years ago by jrfnl <[email protected]>GH Actions/CS: fix build failure
b880f5dc9b1ef1f826da7daa3e1a4380c6202ad3 authored almost 3 years ago by Juliette <[email protected]>Fix failing installation of the xmllint tooling.
1fd2add916530b2ca3eec41a7a6b7c8112e03fd0 authored almost 3 years ago by jrfnl <[email protected]>PHP 8.1 | Numbers: add support for explicit octal notation
a6fb6616f7e8ea353a9a4f19c620eadc1b7899eb authored almost 3 years ago by Juliette <[email protected]>