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
GetParametersNamedTest: revert skipping of a test case
16281f5099421e56cb0c31649701a99dd0e32f4f authored almost 3 years ago by Juliette <[email protected]>The bug fix for the upstream bug - squizlabs/PHP_CodeSniffer 3546 - has been merged, so the test...
6c560f6607d195320539c510c3e76cb24ca0bb9d authored almost 3 years ago by jrfnl <[email protected]>GH Actions: version update for various predefined actions
390432cd3ea05f2eef3dedad0f2e1d3f9d577217 authored almost 3 years ago by Juliette <[email protected]>
A number of predefined actions have had major release, which warrant an update the workflow(s).
...
This add support for the explicit octal notation using a `0o`/`0O` prefix as supported in PHP as...
52c2176818dd579a17bd69178dd27b76a71a131d authored almost 3 years ago by jrfnl <[email protected]>Docs: add command
c9d4794118405a9ac7c67b49139294641de7a6a0 authored almost 3 years ago by Juliette <[email protected]>Follow up on #291
cd6f520dcff5d67e8455e27ce500e6cfb6ffe7b5 authored almost 3 years ago by jrfnl <[email protected]>Update for Composer 2.2
6e5b2337ecfe6de235e649411682bf743a6e08a1 authored almost 3 years ago by Juliette <[email protected]>The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is a non-dev requirement fo...
e8255b7dbf172ab955e0e80ad1f7dd75911cc206 authored almost 3 years ago by jrfnl <[email protected]>GH Actions: split off the linting to separate job
2a445aaecc73a1a04a7e387a0b82dca0e6c5891c authored almost 3 years ago by Juliette <[email protected]>... and run against a smaller selection of PHP versions.
375dfc839c68f487ffa64c5344020b491694e599 authored almost 3 years ago by jrfnl <[email protected]>GetParametersNamedTest: temporarily skip one test case
ba316b0dee385a8bfb3ac5a5361cfba66c4ab363 authored almost 3 years ago by Juliette <[email protected]>... which is failing due to an upstream bug.
Once the bug fix pulled upstream has been merged, ...
64b609823901c5381af7bbf51d64fc2d8161ddde authored almost 3 years ago by jrfnl <[email protected]>UseStatements::splitImportUseStatement: improve test consistency
0c3da06830122b94f84717743a9abab6291191fa authored almost 3 years ago by Juliette <[email protected]>The "parse error due to reserved keyword as alias" tests for `use .... as function` and `use ......
7c53236f3489d484795b6d5385695e4e849fce47 authored almost 3 years ago by jrfnl <[email protected]>GetVersionTest: update version number of last release
237fa37f0c38fa57541b969c1d84045d55176c1a authored almost 3 years ago by Juliette <[email protected]>207bada9d5a569360f2d18e5a804ba176640f632 authored almost 3 years ago by jrfnl <[email protected]>
BCTokens: update `scopeOpeners()` and `ooScopeTokens()`
0656888c9e48c50f028220a18688c1bead2766eb authored almost 3 years ago by Juliette <[email protected]>.. to account for the PHP 8.1 `enum` keyword token `T_ENUM`.
These were added to PHPCS as part ...
447a397be7daed9b4afbd2002697d8e39b718c7a authored almost 3 years ago by jrfnl <[email protected]>GH Actions/Quicktest: use PHPUnit 9 for PHP 8+
dbc6c5d0991c23ea1e3b1c22d9f25e81677e867b authored almost 3 years ago by Juliette <[email protected]>2e669a114b6d3a5732a26f46de1fe9c842c7e692 authored almost 3 years ago by jrfnl <[email protected]>
GH Actions: version update for `ramsey/composer-install`
5908002baaf857f23c2afcc35c4408d4ad4965da authored about 3 years ago by Juliette <[email protected]>The action used to install Composer packages and handle the caching has released a new major (an...
0bd7f57bdbfaf4d603c2cfa00c79a76c24c5a2f5 authored about 3 years ago by jrfnl <[email protected]>GH Actions: various updates
7a0401d40639c7955e8fd7cd808c17cb620455c8 authored about 3 years ago by Juliette <[email protected]>Previously, in Travis, when the same branch was pushed again and the "Auto cancellation" option ...
ebc2fb4c0d9e32ecb030456b636c25248bc46fea authored about 3 years ago by jrfnl <[email protected]>8dd5b88fba670ab3bd1f3e6b935b214b9ef94b28 authored about 3 years ago by jrfnl <[email protected]>
045965d3e91f1404afb84238cd89ead43180e738 authored about 3 years ago by jrfnl <[email protected]>
Composer: allow the PHPCS plugin
35a06f86f320b51ab4e6afcf1e0f5d532dbfc200 authored about 3 years ago by Juliette <[email protected]>The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is used to register externa...
96a5de2e6647d3633e61e9a05317ed4537594f71 authored about 3 years ago by jrfnl <[email protected]>Composer: use PHPCSDevCS v 1.1.3
f9f15b770eac828f950a5ce8f5ad944c8728b2ad authored about 3 years ago by Juliette <[email protected]>Ref: https://github.com/PHPCSStandards/PHPCSDevCS/releases/tag/1.1.3
af49d3d5978f553ef287ce60ecbc508798426c19 authored about 3 years ago by jrfnl <[email protected]>PHPUnit: update configuration
593249e791047c5156cd13de69ea49e102b8509f authored over 3 years ago by Juliette <[email protected]>PHPUnit just released version 9.5.10 and 8.5.21.
This contains a particular (IMO breaking) chan...
9519552b0cd8379faa4fece6bfee9e29d80c7ee6 authored over 3 years ago by jrfnl <[email protected]>Composer: update dev dependencies
d3e198329944cabb6d1ad19584e285c0ef905641 authored over 3 years ago by Juliette <[email protected]>Most notably, PHP Parallel Lint 1.3.1 has improved compatibility with PHP 8.1.
Refs:
* https://...
Tests: use PHPUnit Polyfills
64da18cf34eab19c6673a2aa0afbdd8d38aaf18c authored over 3 years ago by Juliette <[email protected]>... in favour of using the PHPUnit Polyfills.
e21c525cf22e804ed7cc4c7b17faefe17248cde8 authored over 3 years ago by jrfnl <[email protected]>... to always check that a `composer install` has been run and to load the PHPUnit Polyfill auto...
a80afa9b7d52b855cae2c50b5fc5ae594f337a4d authored over 3 years ago by jrfnl <[email protected]>While generally speaking, the `require-dev` for PHPUnit should now be removed, I'm leaving it in...
43bda04dedada2ad346c480d67f997ccdbec4eb6 authored over 3 years ago by jrfnl <[email protected]>This test case extends the `UtilityMethodTestCase` from which most test classes extend and makes...
dc1b61ab6e81a02e066aa527acbab143dbc61864 authored over 3 years ago by jrfnl <[email protected]>GH Actions: turn display_errors on
403ad2cabaef06b7edc14d04e1853ff50a3eae83 authored over 3 years ago by Juliette <[email protected]>Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_report...
609a1953f64d466715191b998962ec67be60d2af authored over 3 years ago by jrfnl <[email protected]>Tests: use most appropriate assertion
8e9e117e49e6a672868cfa174b088c2cf27fdfab authored over 3 years ago by Juliette <[email protected]>34ec2c8d43686b43dc139b3f5508cba2fec6ce75 authored over 3 years ago by jrfnl <[email protected]>
Composer: tweak the PHPUnit 4.x version used
18067c8df78bb74ef7d65e9035a88196da790849 authored over 3 years ago by Juliette <[email protected]>The PHPUnit 4.x version used was based on a bug previously encountered via the PHPCompatibility ...
dd8aa06b65452765740d9bf84eb9dd93def44f78 authored over 3 years ago by jrfnl <[email protected]>UtilityMethodTestCase: fail test on missing test marker comment
59657358458cf18d24bcaf5176e292842bf62cab authored over 3 years ago by Juliette <[email protected]>When a test marker comment was not found, the `UtilityMethodTestCase::getTargetToken()` would se...
9b8cf600bab42821d46de3e2df1e9868e2209735 authored over 3 years ago by jrfnl <[email protected]>Arrays::isShortArray()/Lists::isShortList(): bugfix for tokenizer issue icw short open tag
995ce0780fb9051b295f65fc00fc46d9cf217a75 authored over 3 years ago by Juliette <[email protected]>The tokenizer issue as tested for in the BC1 and BC2 test case files and described in squizlabs/...
b15bae447921a7b8f6191d0098c318ae9799a487 authored over 3 years ago by jrfnl <[email protected]>Tests/PassedParameters::getParameters(): document behaviour with empty list items
0cf9a857d86f4a07331e2537474fa64d309dc1b7 authored over 3 years ago by Juliette <[email protected]>... when using the `$isShortArray = true` parameter.
Includes fixing a small error in one of th...
6d1ef62c7947012cd23b34df679023c160d8f243 authored over 3 years ago by jrfnl <[email protected]>PassedParameters::[has|get]Parameters(): add new, optional `$isShortArray` parameter
4968182496655f3ab1b7016b23aed7778180fce1 authored over 3 years ago by Juliette <[email protected]>This adds a new, optional `$isShortArray` parameter to the `PassedParameters::hasParameters()` a...
0afbbf018ce23c0e114067ccb4d8ad5fbbcc57f9 authored over 3 years ago by jrfnl <[email protected]>GH Actions: minor clean up
935c27f3a4ad23219e6edac2cbcc9ae2f26c2104 authored over 3 years ago by Juliette <[email protected]>* Skip the `quicktest` on `develop` as those are the same builds as for `coverage`, so no need t...
d8bbb68047456c6e741124286b31d7fc91c5e72c authored over 3 years ago by jrfnl <[email protected]>GH Actions: yet another attempt
e7eb0b9eb480d6242fa46be53fe7f3b9ad5162d7 authored over 3 years ago by Juliette <[email protected]>... inspired by example found here: https://github.com/babel/babel/blob/672a58660f0b15691c44582f...
be40a659d95496e32382d40d293714b25899e782 authored over 3 years ago by jrfnl <[email protected]>GH Actions: tweak condition further
3022c519535a8c353c765e0e6e23653c364823fb authored over 3 years ago by Juliette <[email protected]>... let's hope this will work.
445edb088249a50b879716337b6dcdccd7f4a520 authored over 3 years ago by jrfnl <[email protected]>GH Actions: tweak order
ef6e2a90185a78c4ccc9135f89a2ed4b866221c2 authored over 3 years ago by Juliette <[email protected]>... hoping that will make a difference...
f5f29043a8c23eba3910cba4a8213a9b43974b83 authored over 3 years ago by jrfnl <[email protected]>Add a release checklist
0dcb702fd00d8f84af7c1bc5b2f4a9ca179c5b75 authored over 3 years ago by Juliette <[email protected]>GH Actions: tweak coverage run
bc1838d6b4900fee7e70bf774ead79e92bf78f45 authored over 3 years ago by Juliette <[email protected]>
As things were, coverage would only be run on pull requests and on `master`.
Generally speaking,...
... to document the release process and as a reminder for the future.
198c2ffc506f1111dc6902cf175b194c3aa60036 authored over 3 years ago by jrfnl <[email protected]>PassedParameters::getParameter(): add one extra test
f2fc2369c53a7da1b00aeb080d28c1cb8bf1a6ae authored over 3 years ago by Juliette <[email protected]>... for a non-function call with no parameters (and naturally, no param names) where the limit g...
abb41dd426840a4eec5189bb86e73c4a130d9d19 authored over 3 years ago by jrfnl <[email protected]>PassedParameters::getParameters(): add new, optional $limit parameter
000626c4dde3c43d4d045211590eca6142bb6fd7 authored over 3 years ago by Juliette <[email protected]>This adds a new, optional `$limit` parameter to the `PassedParameters::getParameters()` method t...
205e9de92131768a7f0cbe66392ca9095f20848e authored over 3 years ago by jrfnl <[email protected]>PassedParameters: minor efficiency tweak
e6f27a9763396d09210bf30f1b11a03a69033d65 authored over 3 years ago by Juliette <[email protected]>Only `array_flip()` when there are parameter names.
0f5cf09e9039330172c0c38a28e2d19ae8ba7a9c authored over 3 years ago by jrfnl <[email protected]>GetVersionTest: update PHPCS version number
79a8501e8608bde5c8ff8c3756efd0aa8c01cb58 authored over 3 years ago by Juliette <[email protected]>Composer: update PHP Parallel Lint
74db37667aa0f48192ad91d2cab41ef552ae1492 authored over 3 years ago by Juliette <[email protected]>... to match the last released version.
022cce1f24ab65bdd34c9f8abc5fab99004db5d0 authored over 3 years ago by jrfnl <[email protected]>Update version constraint for PHP Parallel Lint after new release.
Refs:
* https://github.com/p...
CS: minor cleanup
6cf56c37c75603543ba4c8f668ff3a0625660239 authored over 3 years ago by Juliette <[email protected]>PHP 8.0 | QA/CS: don't use reserved keywords as parameter names
653720c537523fa66a9490d5a4a06ce451d29ca8 authored over 3 years ago by Juliette <[email protected]>fb9da6a11f1cfc3cb156cfb7882b5d6389de294f authored over 3 years ago by jrfnl <[email protected]>
... to prevent confusion when PHP 8.0 named parameters in function calls would be used.
11c87313bffb79305d414d8232e68a7d3d55796a authored over 3 years ago by jrfnl <[email protected]>Collections: add new `phpOpenTags()` method
97d81019b7139fe9106db0f03865e9ab6d264c07 authored over 3 years ago by Juliette <[email protected]>... to retrieve the tokens available for opening PHP.
bf1334619442406f1e79a8ac97bdefdc8cb9850c authored over 3 years ago by jrfnl <[email protected]>QA: rename a variable to be more descriptive
8c392d4c438b0c0dcb7f118a8300b1d6c48a5520 authored over 3 years ago by Juliette <[email protected]>ObjectDeclarations::getClassProperties(): allow for `abstract final`
7a4fab4f9332bec8844dc180465e5fcff7f6f45d authored over 3 years ago by Juliette <[email protected]>CS/QA: minor tweaks
af111854475aa89e557b26754cdba36238568dc0 authored over 3 years ago by Juliette <[email protected]>Methods in this class are listed in alphabetic order and this one was breaking the ordering.
dfe8793078b0f1daf4f13b25ff3acf70cce7eb42 authored over 3 years ago by jrfnl <[email protected]>Copy/pasta snafu.
d42e75976bf91e2fea132c5ac9be904dcdb166ea authored over 3 years ago by jrfnl <[email protected]>Having both `abstract` as well as `final` as a modifier for a class is an oxymoron (and a parse ...
513a078e981ee0674fe0b6a070ae8a9f5d254d2f authored over 3 years ago by jrfnl <[email protected]>f7dd674cd5383eee3339842e52fd8384116d68e8 authored over 3 years ago by jrfnl <[email protected]>
PHPCS 4.x | Handle closure use being a parenthesis owner
089c165bb71ac075839d5ffbcc08abc775350894 authored over 3 years ago by Juliette <[email protected]>`T_USE` tokens used for closure use statements are parentheses owners as of PHPCS 4.x.
The `Fun...
56388c57ecf097e23494442776b88277d5fa7718 authored over 3 years ago by jrfnl <[email protected]>`T_USE` tokens used for closure use statements are parentheses owners as of PHPCS 4.x.
This fix...
ff705f0ef9f6d2e767dcb5e1ff76e388990ba65b authored over 3 years ago by jrfnl <[email protected]>`T_USE` tokens used for closure use statements are parentheses owners as of PHPCS 4.x.
So, as o...
6e377c078fe3dd2981048d8732d17f6736b27eab authored over 3 years ago by jrfnl <[email protected]>New `Utils\MessageHelper` class
cb5f20cd458e5505115dc59712f90e7e476b312a authored over 3 years ago by Juliette <[email protected]>This class initially introduces five new utility methods for working with error/warning messages...
581c21af9551348e42213648959b74fc0a9abb02 authored over 3 years ago by jrfnl <[email protected]>BCTokens: polyfill the tokenName() method
1fb03d58f5e87464be9c50915cd0688582c5388a authored over 3 years ago by Juliette <[email protected]>UtilityMethodTestCase::getTargetToken(): add option to throw an exception...
d2e0918b00439c20c4fa263a153d8d7e0e231328 authored over 3 years ago by Juliette <[email protected]>This PHPCS method was introduced in PHPCS 3.0.0.
Includes unit tests.
Co-authored-by: Greg She...
183274ce4ffdd62fa912af6646ee66fbf402fcf7 authored over 3 years ago by jrfnl <[email protected]>By default, if the target token cannot be found, the `UtilityMethodTestCase::getTargetToken()` m...
ffaa3777597625bf73697aa2daf2e159fbce8515 authored over 3 years ago by jrfnl <[email protected]>Operators::isTypeUnion() + BCFile/FunctionDeclarations::get[Method]Parameters(): add some additi...
bf8c4d2f854422895c7b925a31e6ad5646e8bd4a authored over 3 years ago by Juliette <[email protected]>