Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

PHP CodeSniffer

Maintains PHP_CodeSniffer, a number of external standards for PHP_CodeSniffer and tooling to make it easier to use and develop for PHP_CodeSniffer.
Collective - Host: opensource - https://opencollective.com/php_codesniffer - Code: https://github.com/PHPCSStandards

Merge pull request #142 from PHPCSStandards/universal/new-class-modifier-keyword-order-sniff

:sparkles: New `Universal.Classes.ModifierKeywordOrder` sniff

github.com/PHPCSStandards/PHPCSExtra - d714b5830cb95e24249d7d171ef4d521ad0f47b0 authored about 2 years ago by Juliette <[email protected]>
:sparkles: New `Universal.Constants.ModifierKeywordOrder` sniff

Sniff to standardize the modifier keyword order for OO constant declarations.

The sniff contain...

github.com/PHPCSStandards/PHPCSExtra - ad1a954381fa80a06acd0cbd11a0ebd54949ea30 authored about 2 years ago by jrfnl <[email protected]>
:sparkles: New `Universal.Classes.ModifierKeywordOrder` sniff

Sniff to standardize the modifier keyword order for class declarations, what with the `readonly`...

github.com/PHPCSStandards/PHPCSExtra - d960fd60da47c4c9f051797a069fef2c59a60f48 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #140 from PHPCSStandards/universal/constructordestructorreturn-autofix-returntype

Universal/ConstructorDestructorReturn: add auto-fixer for return type

github.com/PHPCSStandards/PHPCSExtra - d8916a19ae5bd71c69ffd74822ffe98895cdcc7b authored about 2 years ago by Juliette <[email protected]>
Universal/ConstructorDestructorReturn: add auto-fixer for return type

The "returns a value" warning cannot be auto-fixed as it should be looked at by a developer. How...

github.com/PHPCSStandards/PHPCSExtra - 92f65a5815922a015c9807232d9e17da8c62b420 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #141 from PHPCSStandards/feature/disallowinlinetabs-skip-on-php-5.5

DisallowInlineTabsUnitTest: skip on PHP 5.5

github.com/PHPCSStandards/PHPCSExtra - 2c8c6187620c8367772dc1b54ef14f6b488303b5 authored about 2 years ago by Juliette <[email protected]>
DisallowInlineTabsUnitTest: skip on PHP 5.5

For some weird and unknown reason, the tests for this sniff have started to fail intermittently ...

github.com/PHPCSStandards/PHPCSExtra - f6606d7a4a9a2797fd3b3b1e76dee0ab6d3c1022 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #138 from PHPCSStandards/feature/various-docs-fixes

Documentation: various minor fixes

github.com/PHPCSStandards/PHPCSExtra - 9c494e6a023c0c8ed19001d39e144bae87240301 authored about 2 years ago by Juliette <[email protected]>
Merge pull request #139 from PHPCSStandards/feature/various-minor-code-tweaks

QA: remove some redundant/unused code & minor CS fix

github.com/PHPCSStandards/PHPCSExtra - fb29632b15de6a76a5cb03cb6a34713a6daeb00a authored about 2 years ago by Juliette <[email protected]>
Merge pull request #137 from PHPCSStandards/universal/new-constructordestructorreturn-sniff

:sparkles: New `Universal.CodeAnalysis.ConstructorDestructorReturn` sniff

github.com/PHPCSStandards/PHPCSExtra - 8304a557efd20516be5a37d77af556c5abf25248 authored about 2 years ago by Juliette <[email protected]>
Documentation: various minor fixes

github.com/PHPCSStandards/PHPCSExtra - f8efa5dc9c184b4e9264242bf07020c01aa4bba3 authored about 2 years ago by jrfnl <[email protected]>
:sparkles: New `Universal.CodeAnalysis.ConstructorDestructorReturn` sniff

New sniff to verify that class constructor/destructors:
* [error] Do not have a return type decl...

github.com/PHPCSStandards/PHPCSExtra - 52456f665d1a4bc6cf6c5bf21b9f2f8a73340468 authored about 2 years ago by jrfnl <[email protected]>
QA: remove some redundant/unused code

github.com/PHPCSStandards/PHPCSExtra - 510a9989bd2a26ca579974a36c1428fe0a9cc915 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #136 from PHPCSStandards/universal/disallowstandalonepostincdec-use-objoperators-method

DisallowStandalonePostIncrementDecrement: prevent looking for nullsafe object operator

github.com/PHPCSStandards/PHPCSExtra - 7e1cae26f55ebfe042bbfdd861937b4cb850fe32 authored about 2 years ago by Juliette <[email protected]>
Merge pull request #135 from PHPCSStandards/normalizedarrays/arraybracespacing-safeguard-bugfix

NormalizedArrays/ArrayBraceSpacing: safeguard upstream bugfix

github.com/PHPCSStandards/PHPCSExtra - 6c5998282ca7844330fa95ecc4a0d1566fd63ce5 authored about 2 years ago by Juliette <[email protected]>
Merge pull request #95 from PHPCSStandards/feature/new-universal-functions-or-classes-sniff

New `Universal.Files.SeparateFunctionsFromOO` sniff

github.com/PHPCSStandards/PHPCSExtra - 49b13882370338a4cc1814588c9fed79c0e2f957 authored about 2 years ago by Juliette <[email protected]>
:sparkles: New `Universal.Files.SeparateFunctionsFromOO` sniff

This sniff will enforce that a file should either declare (global/namespaced) functions or decla...

github.com/PHPCSStandards/PHPCSExtra - 5b10c0ba3141e04a2674572c19cdcad08af1e8ba authored about 2 years ago by jrfnl <[email protected]>
DisallowStandalonePostIncrementDecrement: prevent looking for nullsafe object operator

The PHPCSUtils `Collections::$objectOperators` property has been deprecated in favour of a `Coll...

github.com/PHPCSStandards/PHPCSExtra - b74734d8033112f01aeb8a31e1e635d4290a20f8 authored about 2 years ago by jrfnl <[email protected]>
NormalizedArrays/ArrayBraceSpacing: safeguard upstream bugfix

The `SpacesFixer` in PHPCSUtils contains a bugfix for a specific situation which affected this s...

github.com/PHPCSStandards/PHPCSExtra - 773aa930129b786fca0042dd6521aec70d31c594 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #134 from PHPCSStandards/feature/update-for-phpcsutils-alpha4

Upgrade to PHPCSUtils 1.0.0-alpha4

github.com/PHPCSStandards/PHPCSExtra - fe509f998a46f89f23dcea87947c5c7f50a2427b authored about 2 years ago by Juliette <[email protected]>
Upgrade to PHPCSUtils 1.0.0-alpha4

Take advantage of new features in PHPCSUtils 1.0.0-alpha4.

Ref: https://github.com/PHPCSStandar...

github.com/PHPCSStandards/PHPCSExtra - e1e2033baf9fc9a9a16b466fa4bcdb4b7287b09e authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #399 from PHPCSStandards/develop

Release 1.0.0-alpha4

github.com/PHPCSStandards/PHPCSUtils - 37c6da9a0aede973974ae02ef1af2dd641355e86 authored about 2 years ago by Juliette <[email protected]>
Merge pull request #398 from PHPCSStandards/feature/changelog-1.0.0-alpha4

Changelog for PHPCSUtils 1.0.0-alpha4

github.com/PHPCSStandards/PHPCSUtils - e3bb76d8320e376404d36e5de949825899ad8945 authored about 2 years ago by Juliette <[email protected]>
Changelog for PHPCSUtils 1.0.0-alpha4

github.com/PHPCSStandards/PHPCSUtils - 379efa887b9a96dd90e6b887d4622e84c3f296f1 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #397 from PHPCSStandards/feature/290-follow-up-branch-rename

Update all references to the main branch from `master` to `stable`

github.com/PHPCSStandards/PHPCSUtils - f530fbc6a9588a087cd553e51c7d7d6fe8246f1f authored about 2 years ago by Juliette <[email protected]>
Update all references to the main branch from `master` to `stable`

... ahead of actually renaming the branch (just before release).

github.com/PHPCSStandards/PHPCSUtils - f3b2b9820c7063ceab9975d43178b9651b8083e4 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #396 from PHPCSStandards/docs-website/update-configuration-and-content

Docs website: update for release of PHPCSUtils 1.0.0-alpha4

github.com/PHPCSStandards/PHPCSUtils - 21c03f1987f46b5ffb473e0386e74d8c3b90a42f authored about 2 years ago by Juliette <[email protected]>
Docs website: sync readme changes into docs index.md

github.com/PHPCSStandards/PHPCSUtils - ba0f993873bf8ad7ee5f6e31d817785e7cd3bbc8 authored about 2 years ago by jrfnl <[email protected]>
GH Pages: minor tweaks to the configuration file

Includes adding a `commonmark` configuration to prevent Commonmark blindly stripping _all_ HTML.

github.com/PHPCSStandards/PHPCSUtils - 00fc5ee97a283885506ca174f4dcc383585d5e16 authored about 2 years ago by jrfnl <[email protected]>
GH Pages: minor template tweaks

* Always display link to the project on GH.
The `site.github.is_project_page` key does not s...

github.com/PHPCSStandards/PHPCSUtils - 4a80d51d38d4a0e963939c401df9484514f7fa23 authored about 2 years ago by jrfnl <[email protected]>
Doc website: regen of PHPCSUtils 1.0.0-alpha3 documentation

... using the latest released version of phpDocumentor (`3.3.1`) so the diff for the actual rege...

github.com/PHPCSStandards/PHPCSUtils - b172b3a91c28ac805d2e800113e699ec0c8abea0 authored about 2 years ago by jrfnl <[email protected]>
Doc website: update documentation for PHPCSUtils 1.0.0-alpha4

The docs have been regenerated using phpDocumentor 3.3.1 with `--visibility=public,protected`.

github.com/PHPCSStandards/PHPCSUtils - 265bff6861e1fb2b1738d37b6b1579848e6cc7a5 authored about 2 years ago by jrfnl <[email protected]>
Doc website: update the phpDocumentor configuration

... after recent fixes in phpDocumentor3.

github.com/PHPCSStandards/PHPCSUtils - ac66cb6ce0f681fe8e851b917db6176c058be060 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #395 from PHPCSStandards/feature/various-misc-updates

Docs: miscellanuous other updates

github.com/PHPCSStandards/PHPCSUtils - ce90dbfc8b186ce288a7087eb8af620819cd2a1b authored about 2 years ago by Juliette <[email protected]>
Composer: remove the `phpcs2` keyword

github.com/PHPCSStandards/PHPCSUtils - 97f5dd2e807576b069418b6c5dfa86fa22f9ab14 authored about 2 years ago by jrfnl <[email protected]>
Misc/configs: update links

github.com/PHPCSStandards/PHPCSUtils - 441270a10b2317772317ec83b63fba2922419c86 authored about 2 years ago by jrfnl <[email protected]>
README/Changelog: various improvements

Includes:
* Updating the "Tested on PHP" badge to include PHP 8.2.
* A few `http` to `https` fix...

github.com/PHPCSStandards/PHPCSUtils - 0bdd41186a8cd7b2c3dbec29ef75a32ce10c742a authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #394 from PHPCSStandards/feature/various-doc-fixes

Docs: various updates to the docblocks and inline comments

github.com/PHPCSStandards/PHPCSUtils - 34bcef60543b1397ef50ca57303ac438f34c1f5c authored about 2 years ago by Juliette <[email protected]>
Merge pull request #393 from PHPCSStandards/feature/various-minor-cleanup-and-tweaks

CS/QA: minor clean-up

github.com/PHPCSStandards/PHPCSUtils - e3aa8ab9bf9e725be7424b7c3410e95e0be6b344 authored about 2 years ago by Juliette <[email protected]>
CS/QA: various minor clean-up

github.com/PHPCSStandards/PHPCSUtils - fd2686474a43c4a83f621a21807835183f4e35e5 authored about 2 years ago by jrfnl <[email protected]>
Docs: various updates to the docblocks and inline comments

Includes:
* Fixing some spelling errors.
* Adding missing `@since` tags.
* Adding missing link d...

github.com/PHPCSStandards/PHPCSUtils - e7a3d6363c48bb640d7647afc786a6219d078184 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #392 from PHPCSStandards/utils/isshortlist-isshortarray-refactor-improve-performance

IsShortArrayOrList: refactor for better accuracy and improved performance

github.com/PHPCSStandards/PHPCSUtils - 75e13f41377e66a814770a2ecae8837c19511026 authored about 2 years ago by Juliette <[email protected]>
Tests/IsShortArrayOrList: add even more tests

A significant number of these tests would previously lead to incorrect results for the short lis...

github.com/PHPCSStandards/PHPCSUtils - 6cd5532006de10d26438d5b661b865b3220fcf4a authored about 2 years ago by jrfnl <[email protected]>
IsShortArrayOrList: refactor for accuracy and improved performance [3]

This is step 3 in a refactor to improve short list/short array determination.

This refactor add...

github.com/PHPCSStandards/PHPCSUtils - a6b0cf1297a353ef53a706ec431c74e5bd2afbc7 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: add tests with match expressions (PHP 8.0)

github.com/PHPCSStandards/PHPCSUtils - e22e1f297087c1aa7653f6ee44155db3e959c9d3 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: add tests with attributes (PHP 8.0)

github.com/PHPCSStandards/PHPCSUtils - 37eabc66fe6c691f99fcff4eca5d10a8373dcf2c authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: add extra test with arrow function (PHP 7.4)

github.com/PHPCSStandards/PHPCSUtils - d2c4a4186b381c2e8df23a5289fcf728778fefd0 authored about 2 years ago by jrfnl <[email protected]>
Arrays::isShortArray()/Lists::isShortList(): consolidate the caching [2]

This is step 2 in a refactor to improve short list/short array determination.

While caching had...

github.com/PHPCSStandards/PHPCSUtils - 36c0cf7255a04fe1ca44d3908efd2095a674a92f authored about 2 years ago by jrfnl <[email protected]>
IsShortArrayOrList: only accept bracket opener tokens

As the new `IsShortArrayOrListWithCache` class will now be the entry point to the `IsShortArrayO...

github.com/PHPCSStandards/PHPCSUtils - c387f30b2eedcc6c164cb0dd7795806baf9bca71 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: add extra test with array unpacking (PHP 7.4/8.1)

github.com/PHPCSStandards/PHPCSUtils - c23599095ec32075cc3e70f1aa7ad34e1b2e62e9 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: split test file [2]

Split off the tests which are specific to the `IsShortArrayOrList::isSquareBracket()` method to ...

github.com/PHPCSStandards/PHPCSUtils - e02006aef00e10492544f21a8d662eecfed397df authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: split test file [3]

Split off the tests which are specific to the `IsShortArrayOrList::isInForeach()` method to a de...

github.com/PHPCSStandards/PHPCSUtils - ad46d8113abda635b2691b22b090a12c4cde26e7 authored about 2 years ago by jrfnl <[email protected]>
IsShortArrayOrList::isShortArrayBracket(): account for newly discovered tokenizer issue

Turns out a square bracket after a non-braced control structure is always tokenized as `T_OPEN_S...

github.com/PHPCSStandards/PHPCSUtils - 5a038f79d1c626094b7ae8ca8e80238c09a8fc98 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrListTest: minor improvements

Make sure all named data sets use keys within the data set as well for a more readable data prov...

github.com/PHPCSStandards/PHPCSUtils - 2711dd96c90f1e9ab51bfae2b6d4a91e648518de authored about 2 years ago by jrfnl <[email protected]>
IsShortArrayOrList::isInForeach(): improve logic

This commit improves the stability of the `IsShortArrayOrList::isInForeach()` method by:
* Using...

github.com/PHPCSStandards/PHPCSUtils - b7f3904971eac5109afeecdca00f658b5ddf08bc authored about 2 years ago by jrfnl <[email protected]>
Arrays::isShortArray()/Lists::isShortList(): consolidate the logic [1]

This is step 1 in a refactor to improve short list/short array determination.

In this commit, t...

github.com/PHPCSStandards/PHPCSUtils - 7d512752622956f8a0ea089984c63dd8d5625e39 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: split test file [1]

Split off the tests which are specific to the `IsShortArrayOrList::__construct()` method to a de...

github.com/PHPCSStandards/PHPCSUtils - bd71b8ad3b821bc82d17175aa23bc4c0cdd6dd95 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: move original tests

This commit moves the original test set for the `IsShortArrayOrList` functionality from the `Uti...

github.com/PHPCSStandards/PHPCSUtils - 4e7c1194a2f37d86c3709116068cf825eb2dfec1 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: refactor to directly use the `IsShortArrayOrList` class

This commit updates most tests to use the `IsShortArrayOrList` class directly instead of going v...

github.com/PHPCSStandards/PHPCSUtils - b711d9e1d51800fef0661971086972075755e66c authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList::isShortArrayBracket: enhance and expand the tests

Making sure that:
1. All types of nesting is being tested, i.e. start of outer, middle of outer,...

github.com/PHPCSStandards/PHPCSUtils - 8570c9c7a92aa6a048420aa965d2207143babf68 authored about 2 years ago by jrfnl <[email protected]>
Tests/IsShortArrayOrList: various test enhancements

* Add test with PHP 8.0 nullsafe object operators to safeguard against a potential tokenizer iss...

github.com/PHPCSStandards/PHPCSUtils - 26dcd69108a0294358318512290ed87d578eccf0 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #391 from PHPCSStandards/utils/messagehelper-stringtoerrorcode-optionally-lowercase-it

MessageHelper::stringToErrorcode(): add option to lowercase the text

github.com/PHPCSStandards/PHPCSUtils - 9a6d622d7aae21704a29bfb92ed317540b246a3a authored about 2 years ago by Juliette <[email protected]>
MessageHelper::stringToErrorcode(): add option to lowercase the text

Includes tests.

github.com/PHPCSStandards/PHPCSUtils - 6106f810bad9a13130bf74bfdd1c78f0275141b1 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #390 from PHPCSStandards/utils/context-new-inattribute-method

:sparkles: New `Context::inAttribute()` method

github.com/PHPCSStandards/PHPCSUtils - 6c3e9be58a8288e341580031a0f6dc3bf5113972 authored about 2 years ago by Juliette <[email protected]>
:sparkles: New `Context::inAttribute()` method

... to determine whether an arbitrary token is within an attribute.

Includes unit tests.

github.com/PHPCSStandards/PHPCSUtils - bdf70c8c2afa599d3bd3d6bbae8a9ae15b784e94 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #133 from PHPCSStandards/feature/ghactions-tweaks

GH Actions: few tweaks

github.com/PHPCSStandards/PHPCSExtra - cb7cfbffc0a5d934a2216e3ec0d9ef31ffb5c5a9 authored about 2 years ago by Juliette <[email protected]>
GH Actions: harden the workflow against PHPCS ruleset errors

If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a...

github.com/PHPCSStandards/PHPCSExtra - e689c49ed951527d108cbb5db5b0b2cf4a23f007 authored about 2 years ago by jrfnl <[email protected]>
GH Actions/basics: revert to xmllint-problem-matcher v1

As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...

github.com/PHPCSStandards/PHPCSExtra - e28cb70da4b32c6ae7af2c9259a6b1ab315e4a78 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #115 from PHPCSStandards/feature/ghactions-tweaks

GH Actions: few tweaks

github.com/PHPCSStandards/PHPCSDevTools - 85bca53988ec0cc072f48101cc8a7f238a936183 authored about 2 years ago by Juliette <[email protected]>
GH Actions: harden the workflow against PHPCS ruleset errors

If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a...

github.com/PHPCSStandards/PHPCSDevTools - d8f22ed732f35b0838a17658fed8ef3709e1781d authored about 2 years ago by jrfnl <[email protected]>
GH Actions/basics: revert to xmllint-problem-matcher v1

As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...

github.com/PHPCSStandards/PHPCSDevTools - 2bfca0023a78294afa97feb1f8ad41b1fd258386 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #33 from PHPCSStandards/feature/ghactions-tweak

GH Actions/basics: revert to xmllint-problem-matcher v1

github.com/PHPCSStandards/PHPCSDevCS - dbf6ec1a4b82a1c01a14a20fb49ddff0f6689ce8 authored about 2 years ago by Juliette <[email protected]>
GH Actions/basics: revert to xmllint-problem-matcher v1

As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...

github.com/PHPCSStandards/PHPCSDevCS - a235c59ff3de66bc910d05098e19ca8de4e6e312 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #389 from PHPCSStandards/feature/phpcs-fix-ruleset

PHPCS: fix ruleset

github.com/PHPCSStandards/PHPCSUtils - e13d929c60cc7b4b20b6b1238697621da86f2c19 authored about 2 years ago by Juliette <[email protected]>
PHPCS: fix ruleset

The sniff this exclusion refers to is not (yet) in use in PHPCSDevCS.

github.com/PHPCSStandards/PHPCSUtils - 3734842cba0efd5a62ae90ee839696f5b0a9b60f authored about 2 years ago by jrfnl <[email protected]>
GH Actions: harden the workflow against PHPCS ruleset errors

If there is a ruleset error, the `cs2pr` action doesn't receive an `xml` report and exits with a...

github.com/PHPCSStandards/PHPCSUtils - 276b6f8c51f4a3f09f6b66490f5c4b7c4b14ea1b authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #388 from PHPCSStandards/feature/ghactions-various-tweaks

GH Actions: various tweaks

github.com/PHPCSStandards/PHPCSUtils - 0c2289a51bb285d8515091d10b078e1841743564 authored about 2 years ago by Juliette <[email protected]>
Merge pull request #387 from PHPCSStandards/dependabot/github_actions/xt0rted/markdownlint-problem-matcher-2

GH Actions: Bump xt0rted/markdownlint-problem-matcher from 1 to 2

github.com/PHPCSStandards/PHPCSUtils - be3eff37672713877fc70f124a4b1efb7bcef79d authored about 2 years ago by Juliette <[email protected]>
GH Actions: update a few links in inline comments

github.com/PHPCSStandards/PHPCSUtils - 404dcb183f937c687ff6e38e38eaf56b9d4720e3 authored about 2 years ago by jrfnl <[email protected]>
GH Actions: update Ruby for GH Pages workflow

... as per https://pages.github.com/versions/

github.com/PHPCSStandards/PHPCSUtils - 23557436065ac1d497f0bd095cb62713da5e6d2e authored about 2 years ago by jrfnl <[email protected]>
GH Actions: Bump xt0rted/markdownlint-problem-matcher from 1 to 2

Bumps [xt0rted/markdownlint-problem-matcher](https://github.com/xt0rted/markdownlint-problem-mat...

github.com/PHPCSStandards/PHPCSUtils - e24655e912b2b6d0da152e843c7fe6c8b7d513f7 authored about 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GH Actions/basics: revert to xmllint-problem-matcher v1

As the `korelstar/xmllint-problem-matcher` repo now has a long-running `v1` branch, this update ...

github.com/PHPCSStandards/PHPCSUtils - 753488aaf741570fdee2954c8d30c13cae04da2a authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #386 from PHPCSStandards/tests/utilitymethodtestcase-skipjscss-rename-test-files

UtilityMethodTestCase::skipJSCSSTestsOnPHPCS4(): rename test file

github.com/PHPCSStandards/PHPCSUtils - 1a8057988c4fdc2adfd3f23a7533f6b0812b5e6a authored about 2 years ago by Juliette <[email protected]>
Merge pull request #385 from PHPCSStandards/testutils/utilitymethodtestcase-gettargettoken-stabilize

UtilityMethodTestCase::getTargetToken(): throw exception when method called without tokenized te...

github.com/PHPCSStandards/PHPCSUtils - f8e211022add38ab686b3c1d9cb1c4f2a183fe39 authored about 2 years ago by Juliette <[email protected]>
UtilityMethodTestCase::skipJSCSSTestsOnPHPCS4(): rename test file to match method name

github.com/PHPCSStandards/PHPCSUtils - 77ab4256e92116c28ffe9b277f4a1b59ea447d8a authored about 2 years ago by jrfnl <[email protected]>
UtilityMethodTestCase::getTargetToken(): throw exception when method called without tokenized test case file

Follow up on 382 which made the method `static`.

As the method _could_ conceivably now be calle...

github.com/PHPCSStandards/PHPCSUtils - 53e38c02242cde86efea96a8eb8fcb95e4354a23 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #384 from PHPCSStandards/feature/abstractarraydeclarationsniff-use-collections

AbstractArrayDeclarationSniff: use available token array collection

github.com/PHPCSStandards/PHPCSUtils - 1e251c66037ca5073f23a4a2149d224d88a95ff8 authored about 2 years ago by Juliette <[email protected]>
AbstractArrayDeclarationSniff: use available token array collection

github.com/PHPCSStandards/PHPCSUtils - 20347fa8f94f222246b12afc8c6f5a6a306016ef authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #383 from PHPCSStandards/php-8.1/passedparameters-getfromstack-handle-named-after-variadic

PHP 8.1 | Utils\PassedParameters: change named param implementation/named params after variadic

github.com/PHPCSStandards/PHPCSUtils - f89d144d07b8ea00715f98a0f42b301438c27ec7 authored about 2 years ago by Juliette <[email protected]>
PHP 8.1 | Utils\PassedParameters: change named param implementation/named params after variadic

Follow up on 235 and 361.

As of PHP 8.1, named parameters after argument unpacking in function ...

github.com/PHPCSStandards/PHPCSUtils - 0effc58e4dffb69beca8fba15c8a5ff89420e5b5 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #382 from PHPCSStandards/testutils/utilitymethodtestcase-make-gettargettoken-method-static

UtilityMethodTestCase::getTargetToken(): change to a static method

github.com/PHPCSStandards/PHPCSUtils - 3f75cc5e019c09f975801b24a0305a4066939a5b authored about 2 years ago by Juliette <[email protected]>
UtilityMethodTestCase::getTargetToken(): change to a static method

The method effectively was already `static` as it didn't use `$this`. Making it explicitly stati...

github.com/PHPCSStandards/PHPCSUtils - 8aebf8a4fa5e44d5211a2c91e8aeabdc04c09720 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #381 from PHPCSStandards/tokens/collection-add-new-shortarraylistopentokensbc

Collections: add new `shortArrayListOpenTokensBC()` token array

github.com/PHPCSStandards/PHPCSUtils - e11d8f990590b54c1c44f2ed5ca5326dd6cc517b authored about 2 years ago by Juliette <[email protected]>
Collections: add new `shortArrayListOpenTokensBC()` token array

Includes tests.

Includes implementing the new token array in all the appropriate places.

github.com/PHPCSStandards/PHPCSUtils - 8ee11f261f02d190796fa3da1b87e08705fb53d8 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #379 from PHPCSStandards/abstractsniffs/arraydeclaration-improve-handling-of-textstring-keys

AbstractArrayDeclarationSniff::getActualArrayKey(): improve handling of escaped embedded vars

github.com/PHPCSStandards/PHPCSUtils - 18f5d8fae440664ac2cf13e79d53b5476667ef8a authored about 2 years ago by Juliette <[email protected]>
AbstractArrayDeclarationSniff::getActualArrayKey(): improve handling of escaped embedded vars

... in heredocs by using the new `TextStrings::stripEmbeds()` method.

Includes additional tests.

github.com/PHPCSStandards/PHPCSUtils - e7f28ccca0316709318ad151b347dc24e30c9d21 authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #377 from PHPCSStandards/functiondeclarations/getparameters-add-caching

FunctionDeclarations::getParameters(): add caching

github.com/PHPCSStandards/PHPCSUtils - 0fb0345b48dc6685502bb6d1028228a809e357e7 authored about 2 years ago by Juliette <[email protected]>
FunctionDeclarations::getParameters(): add caching

Follow up on 332

While most function declarations will be quite straight-forward, for function ...

github.com/PHPCSStandards/PHPCSUtils - c8136436905e6007b3bb31cda80e1213f8ba620c authored about 2 years ago by jrfnl <[email protected]>
Merge pull request #376 from PHPCSStandards/feature/qa-make-all-classes-final

QA: make all classes final

github.com/PHPCSStandards/PHPCSUtils - be2cdceba0707bacdb249de1c155128698b744ef authored about 2 years ago by Juliette <[email protected]>