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 #336 from PHPCSStandards/feature/ghactions-automate-phpcs-version-update-pr

GH Actions: add new workflow to automate repeated task

github.com/PHPCSStandards/PHPCSUtils - 8823a07010ff89f05e13ff892d9a85f46fcd3fa3 authored over 2 years ago by Juliette <[email protected]>
GH Actions: add new workflow to automate repeated task

The `GetVersionTest` test class contains a constant which should be set to the PHPCS version num...

github.com/PHPCSStandards/PHPCSUtils - 27b6f3f4732c5063e38e839251efd7da92f13dc6 authored over 2 years ago by jrfnl <[email protected]>
GetVersionTest: update for release of PHPCS 3.7.1

github.com/PHPCSStandards/PHPCSUtils - af6925a42da330852f4ce1e50cd686b85cdd8a7d authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #335 from PHPCSStandards/operators/isunaryplusminus-allow-for-match-arrows

Operators::isUnaryPlusMinus(): allow for match control structures

github.com/PHPCSStandards/PHPCSUtils - 262736b1065ecdabb6c8668510ecb96f8bbddae6 authored over 2 years ago by Juliette <[email protected]>
Operators::isUnaryPlusMinus(): allow for match control structures

The double arrow in PHP 8.0 match control structures has its own `T_MATCH_ARROW` token.
This tok...

github.com/PHPCSStandards/PHPCSUtils - 45e23640396ff0d25ecfa2d9cdf6073ce78b0f23 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #110 from PHPCSStandards/phpcsdebug/tokenlist-visualize-whitespace-flexible-heredoc-nowdoc

PHPCSDebug/TokenList: visualize whitespace in PHP 7.3+ heredoc/nowdoc closers

github.com/PHPCSStandards/PHPCSDevTools - 29f6a5ecacc2375b7319d1c016f94a305dc210bb authored over 2 years ago by Juliette <[email protected]>
PHPCSDebug/TokenList: visualize whitespace in PHP 7.3+ heredoc/nowdoc closers

Since PHP 7.3, heredoc/nowdoc closers may be indented.
This indent can use either tabs or spaces...

github.com/PHPCSStandards/PHPCSDevTools - a17374f2aa5492909fe9b204521025afefee1b16 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #124 from PHPCSStandards/universal/whitespace-precisionalignment-bugfix-flexible-heredoc-nowdoc

WhiteSpace/PrecisionAlignment: bug fix - improved handling of heredoc/nowdoc closers

github.com/PHPCSStandards/PHPCSExtra - 82daa02d27d22c6103769fa1996e573f91201f61 authored over 2 years ago by Juliette <[email protected]>
WhiteSpace/PrecisionAlignment: bug fix - improved handling of heredoc/nowdoc closers

This commit fixes two bugs:
1. When a heredoc/nowdoc closer (PHP 7.3+ flexible syntax) is indent...

github.com/PHPCSStandards/PHPCSExtra - 5ee7851dcf8ba90da24c6a87842c55a06c71310f authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #123 from PHPCSStandards/universal/precisionalignment-improve-fixer-tabs-vs-spaces

WhiteSpace/PrecisionAlignment: best guess tabs vs spaces when fixing

github.com/PHPCSStandards/PHPCSExtra - 906b06d837c95ff345ed42f0b99a864c0afa683f authored over 2 years ago by Juliette <[email protected]>
WhiteSpace/PrecisionAlignment: best guess tabs vs spaces when fixing

Enhancement to minimize fixer conflicts/speed up fixer runs.

With this change, the fixer will c...

github.com/PHPCSStandards/PHPCSExtra - da935b614a7b15127fc5ae93ff1c142041404441 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #122 from PHPCSStandards/universal/precisionalignment-minor-tweaks

Universal/PrecisionAlignment: minor tweaks

github.com/PHPCSStandards/PHPCSExtra - 9ec7ac769b0671f3aa725de7b88dd0af08335750 authored over 2 years ago by Juliette <[email protected]>
Universal/PrecisionAlignment: remove superfluous fixed file

This file is not supposed to yield errors/warnings, so the `.fixed` file is redundant.

github.com/PHPCSStandards/PHPCSExtra - 3b3b62004c819b05e13b184f1607ac95cd26a23c authored over 2 years ago by jrfnl <[email protected]>
Universal/PrecisionAlignment: rename a local variable

... to be more descriptive.

github.com/PHPCSStandards/PHPCSExtra - 6c961fbd5a1412bf7015e7c5de70127e9986ed76 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #186 from PHPCSStandards/feature/update-security-checker

GH Actions/Securitycheck: update the security checker download

github.com/PHPCSStandards/composer-installer - 231b4e82eee01f16537c8ac3fce31c1f83320c80 authored over 2 years ago by Juliette <[email protected]>
GH Actions/Securitycheck: update the security checker download

The security checker binary has had a new release with improved handling for when a package has ...

github.com/PHPCSStandards/composer-installer - 09228c62d69b0b34a39b0354bf32d8b6639b4364 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #121 from PHPCSStandards/feature/qa-all-classes-should-be-final

QA: make all classes `final`

github.com/PHPCSStandards/PHPCSExtra - 0abedcc8810806562a0d4f2b78ba3bd350ac22d0 authored over 2 years ago by Juliette <[email protected]>
QA: make all classes `final`

github.com/PHPCSStandards/PHPCSExtra - 4f53913dc031585ed89477916abb94d64026e5c9 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #120 from PHPCSStandards/universal/new-anonclasskeywordspacing-sniff

New `Universal.WhiteSpace.AnonClassKeywordSpacing` sniff

github.com/PHPCSStandards/PHPCSExtra - 79a77b79af6da0e970f295451fb2cf41f84d3ced authored over 2 years ago by Juliette <[email protected]>
:sparkles: New `Universal.WhiteSpace.AnonClassKeywordSpacing` sniff

Checks the amount of spacing between the `class` keyword and the open parenthesis (if any) for a...

github.com/PHPCSStandards/PHPCSExtra - 7b6780836925857782a91a861c229df48064b911 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #119 from PHPCSStandards/universal/new-precision-alignment-sniff

New `Universal.WhiteSpace.PrecisionAlignment` sniff

github.com/PHPCSStandards/PHPCSExtra - e5f0af27e8ffa540366cd5b9c58dc909af24e68d authored over 2 years ago by Juliette <[email protected]>
:sparkles: New `Universal.WhiteSpace.PrecisionAlignment` sniff

New sniff to enforce indentation to always be a multiple of a tabstop, i.e. disallow precision a...

github.com/PHPCSStandards/PHPCSExtra - 39764307f24d25720a67fbc4cf6c96998ee20e3c authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #118 from PHPCSStandards/normalizedarrays/arraybracespacing-allow-comment-after-opener

NormalizedArrays/ArrayBraceSpacing: allow for trailing comments after array opener

github.com/PHPCSStandards/PHPCSExtra - 96bac0f9fed1e4fa4cf63052fac5740422da6c25 authored over 2 years ago by Juliette <[email protected]>
NormalizedArrays/ArrayBraceSpacing: allow for trailing comments after array opener

... when a new line is required after the opener of a multi-line array.

This sniff should not h...

github.com/PHPCSStandards/PHPCSExtra - 740a7db48335e385420b06ef0d9ddfed3efc1867 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #332 from PHPCSStandards/feature/new-internal-cache-classes-with-implementations

New (internal) Cache and NoFileCache classes + implement use of these

github.com/PHPCSStandards/PHPCSUtils - b65fbd47c38202a667ea3930a4a51c5c8b9ca434 authored over 2 years ago by Juliette <[email protected]>
Tests/bootstrap: allow for running the tests with/without caching

This commit sets up a mechanism in the test `bootstrap.php` file to turn the cache on/off depend...

github.com/PHPCSStandards/PHPCSUtils - 7f6443b95462e2c40400289a276cc865252575cd authored over 2 years ago by jrfnl <[email protected]>
TextStrings::getStripEmbeds(): implement use of the new `NoFileCache` class

Depending on the size of the text string, this function _could_ become pretty slow/performance i...

github.com/PHPCSStandards/PHPCSUtils - ca495418ac0d47267143e8154716607ca1d7cd90 authored over 2 years ago by jrfnl <[email protected]>
GH Actions: run the tests twice - once with cache, once without

Adjust the GH actions test workflows to run the complete test suite once with the cache turned o...

github.com/PHPCSStandards/PHPCSUtils - ecfef72f50f4252ae97d5c958348d8a673564df8 authored over 2 years ago by jrfnl <[email protected]>
UseStatements::splitImportUseStatement(): implement use of the new `Cache` class

Depending on whether or not group use or multi-use statements are used, this method can involve ...

github.com/PHPCSStandards/PHPCSUtils - 4f301b941be6ece01d1d0894d48e3d4f58e8e4fe authored over 2 years ago by jrfnl <[email protected]>
Arrays::getDoubleArrowPtr(): implement use of the new `Cache` class

While this function will generally be _fast_ for array entries _with_ a double arrow, it will be...

github.com/PHPCSStandards/PHPCSUtils - 4397a87398763a51188e9ab69fba8b1cb70bfde2 authored over 2 years ago by jrfnl <[email protected]>
Arrays::isShortArray()/Lists::isShortList(): implement use of the new `Cache` class

These are easily the most used functions as well as the slowest functions (when dealing with lar...

github.com/PHPCSStandards/PHPCSUtils - 56e15f347ec2745a8120d977d8cd1c012ce40ba8 authored over 2 years ago by jrfnl <[email protected]>
Lists::getAssignments(): implement use of the new `Cache` class

While most list only involve a few assignment, for more complex and nested list structures, spli...

github.com/PHPCSStandards/PHPCSUtils - 87170bc494f01bfb54d0a88d46c952bd762aa5ab authored over 2 years ago by jrfnl <[email protected]>
Namespaces::findNamespacePtr(): implement use of the new `Cache` class

This method searches up in a file to try and find an applicable namespace declaration.
As non-sc...

github.com/PHPCSStandards/PHPCSUtils - 4924df8ba687de9ca028461635ef27cca3853469 authored over 2 years ago by jrfnl <[email protected]>
PassedParameters::getParameters(): implement use of the new `Cache` class

While most function calls only involve a few parameters, splitting out an array into the individ...

github.com/PHPCSStandards/PHPCSUtils - a27c2f8b8ac255a6aeca3527e70cb7e3a9184299 authored over 2 years ago by jrfnl <[email protected]>
TextStrings::getEndOfCompleteTextString(): implement use of the new `Cache` class

This method finds the end of a potentially multi-line text string.
While most text strings are s...

github.com/PHPCSStandards/PHPCSUtils - e5e874884991b1151f794fb649abaf736adfb265 authored over 2 years ago by jrfnl <[email protected]>
FunctionDeclarations::getArrowFunctionOpenClose(): implement use of the new `Cache` class

While arrow functions are generally only small snippets of code, as they don't always have a cle...

github.com/PHPCSStandards/PHPCSUtils - 88640db709f85b2c654915355acdd53bc7055e9f authored over 2 years ago by jrfnl <[email protected]>
ControlStructures::getDeclareScopeOpenClose(): implement use of the new `Cache` class

As `declare` constructs using alternative syntax can be long, determining the scope opener/close...

github.com/PHPCSStandards/PHPCSUtils - 5a5bce0a33d64fd8949cdf7857783c65e5b7de3b authored over 2 years ago by jrfnl <[email protected]>
:sparkles: New (internal) `Cache` and `NoFileCache` classes

... to allow for caching the results of processing intensive utility methods.

The `Cache` class...

github.com/PHPCSStandards/PHPCSUtils - 24da15ea622d3b5121048684a8d7b2f75f181137 authored over 2 years ago by jrfnl <[email protected]>
[NoFile]Cache: allow for disabling the cache in test situations

Includes:
* Additional tests to cover this change on the off-chance that someone will use this f...

github.com/PHPCSStandards/PHPCSUtils - 76b8cb9f32c9184897e67a9ccb2e93a1cacec7d6 authored over 2 years ago by jrfnl <[email protected]>
Tests: add TypeProviderHelper class

Based on a similar class I wrote for the Requests library.

If/when that class get published as ...

github.com/PHPCSStandards/PHPCSUtils - 7cad4fd0dd490df75607c3d04649131588bcc40b authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #334 from PHPCSStandards/feature/tests-minor-tweaks-to-allow-for-repeat-test-runs

Tests: minor tweaks to allow for running tests on repeat

github.com/PHPCSStandards/PHPCSUtils - a0de510f5987b64456795e2b437353f63046d4a1 authored over 2 years ago by Juliette <[email protected]>
Tests: minor tweaks to allow for running tests on repeat

... using the PHPUnit `--repeat` option.

Note: this option was already available in PHPUnit 4.x...

github.com/PHPCSStandards/PHPCSUtils - 2b966c110e37bb2a8f3de5b536a6a1bfa2b98af9 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #333 from PHPCSStandards/feature/tests-use-param-names-in-dataproviders

Tests: use parameter names in data provider test cases

github.com/PHPCSStandards/PHPCSUtils - 5cd4b0446fc423854091372c77f15dccd1fa788c authored over 2 years ago by Juliette <[email protected]>
Tests: use parameter names in data provider test cases

... when the data set array contains more than one item.

This is done to lower the cognitive lo...

github.com/PHPCSStandards/PHPCSUtils - 99a76f9a086379867b1cdea717d46fc65738c536 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #331 from PHPCSStandards/feature/various-code-coverage-fixes

QA/Tests: various code coverage tweaks

github.com/PHPCSStandards/PHPCSUtils - cbcf363a86f93cdd3b01490a0a32ba3f48d76176 authored over 2 years ago by Juliette <[email protected]>
Tests: add select `@codeCoverageIgnore` annotations

... for code which is only in place as defensive coding, but shouldn't be reachable under normal...

github.com/PHPCSStandards/PHPCSUtils - 2ed664c55869df85dd62f9ee3b382146131d91f0 authored over 2 years ago by jrfnl <[email protected]>
GH Actions/coverage: add extra (debug) step

While the feedback shown in the `setup-php` step is awesome, it doesn't show the version of Xdeb...

github.com/PHPCSStandards/PHPCSUtils - d8263d2e9b047685d304a314cbb7ba0f787b5040 authored over 2 years ago by jrfnl <[email protected]>
PHPUnit config: isolate a number of tests from the main test suite

The functions being tested in these three test classes all use function local `static` variables...

github.com/PHPCSStandards/PHPCSUtils - 047929b5e1681f91de861a63ee0d8b21f5f7d3f1 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #328 from PHPCSStandards/passedparameters/hasparameters-account-for-parent-tokenization-change

PassedParameters::hasParameters(): account for upstream tokenization change for `parent`

github.com/PHPCSStandards/PHPCSUtils - 6b4a0e8a2f0b4f2019cc35ee4d8bdb5312c999ce authored over 2 years ago by Juliette <[email protected]>
PassedParameters::hasParameters(): account for upstream tokenization change for `parent`

Upstream PR squizlabs/PHP_CodeSniffer 3546, which is included in PHPCS 3.7.0, changed the tokeni...

github.com/PHPCSStandards/PHPCSUtils - 21059b549b90e5dd86b189f76f41f74af3f46bc2 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #330 from PHPCSStandards/feature/various-minor-code-tweaks

QA: various minor code tweaks

github.com/PHPCSStandards/PHPCSUtils - 28ac79bc34a2827176d06c25f62e2d2e6ef980b8 authored over 2 years ago by Juliette <[email protected]>
Collections::returnTypeTokens(): minor code simplification

github.com/PHPCSStandards/PHPCSUtils - bc04066e59365b8d98b7b1f5c8337854c78af81f authored over 2 years ago by jrfnl <[email protected]>
BCTokens::functionNameTokens(): minor simplification

Follow up to PR 327. This simplifies the code a little.

github.com/PHPCSStandards/PHPCSUtils - 8532ea1e89985be6c486cc6627e48f2f3a8dd09f authored over 2 years ago by jrfnl <[email protected]>
CS/QA: use fully qualified function calls

github.com/PHPCSStandards/PHPCSUtils - 8f1710ee6d9053f4d49d08241386c881ca8362d4 authored over 2 years ago by jrfnl <[email protected]>
QA: use strict comparisons

github.com/PHPCSStandards/PHPCSUtils - a6c98f1b747b9167d0dcb452c2dc8bf780db9439 authored over 2 years ago by jrfnl <[email protected]>
QA: remove unused use statements

github.com/PHPCSStandards/PHPCSUtils - 93a484f7747627892be9037f5fabbbeb72483ad8 authored over 2 years ago by jrfnl <[email protected]>
CS: use pre-increment instead of post-increment

github.com/PHPCSStandards/PHPCSUtils - a7bc760632cf6b0dae366adcf7eb4a6bc9768da1 authored over 2 years ago by jrfnl <[email protected]>
Tokens\Collections: minor code order tweak

Keep the order of the methods alphabetic.

github.com/PHPCSStandards/PHPCSUtils - 5dfa6171ff8afb3c89465c7b0973879aa209ddb0 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #329 from PHPCSStandards/feature/tests-simplify-covers-tags

Tests: simplify the `@covers` tags in a couple of test files

github.com/PHPCSStandards/PHPCSUtils - fcdd2f8b944731831920ab4240a3f298a37e6001 authored over 2 years ago by Juliette <[email protected]>
Tests: simplify the `@covers` tags in a couple of test files

github.com/PHPCSStandards/PHPCSUtils - c19c9eea81f51b3a21a1a646509923d87d85c2b1 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #327 from PHPCSStandards/backcompat/bctokens-functionnametokens-sync-with-upsteam

BCTokens::functionNameTokens(): sync with upstream

github.com/PHPCSStandards/PHPCSUtils - 18e785dfdff0466c1972f6a9db8368d58facd864 authored over 2 years ago by Juliette <[email protected]>
BCTokens::functionNameTokens(): sync with upstream

Upstream PR squizlabs/PHP_CodeSniffer 3546, which is included in PHPCS 3.7.0, changed the tokeni...

github.com/PHPCSStandards/PHPCSUtils - b4ec049e7080b96d9bcb748527bf67c13df439f0 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #184 from PHPCSStandards/feature/ghactions-use-ubuntu-latest

GH Actions: run linting against against ubuntu-latest

github.com/PHPCSStandards/composer-installer - 04f4e8f6716241cb9200774ff73cb99fbb81e09a authored over 2 years ago by Juliette <[email protected]>
Merge pull request #183 from PHPCSStandards/feature/ghactions-remove-problem-build

GH Actions: stop running tests against PHP 5.5/Composer 1.x on Windows (and remove work-arounds)

github.com/PHPCSStandards/composer-installer - edde4344650ecc017b9459f97e52c6caa89d88df authored over 2 years ago by Juliette <[email protected]>
Merge pull request #182 from PHPCSStandards/feature/improve-feedback

Plugin: improve feedback

github.com/PHPCSStandards/composer-installer - 4b7047598783ae3231960020aa74f39fc96dff57 authored over 2 years ago by Juliette <[email protected]>
Tests: remove the `TestCase::willPluginOutputShow()` helper method and all uses

This method was put in place in PR 153 (commit https://github.com/PHPCSStandards/composer-instal...

github.com/PHPCSStandards/composer-installer - 3faa61ea30420d9f4901af154367c994af138a23 authored over 2 years ago by jrfnl <[email protected]>
GH Actions: run linting against against ubuntu-latest

github.com/PHPCSStandards/composer-installer - e0cd4fbcaa8bd0978d008998c7cc20bcbfe7d16e authored over 2 years ago by jrfnl <[email protected]>
GH Actions: stop running tests against PHP 5.5/Composer 1.x on Windows

As discussed in 181.

Fixes 181

github.com/PHPCSStandards/composer-installer - 9cf4da47bb8f8123494ff9ac45484593b5629b8c authored over 2 years ago by jrfnl <[email protected]>
Plugin: improve feedback

The `Nothing to install or update` message is confusing, as for an end-user, it may not be clear...

github.com/PHPCSStandards/composer-installer - a9d297e18dc252f487bed96e44137323aaea9f52 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #326 from PHPCSStandards/feature/tests-introduce-generic-dummyfile

Tests: introduce generic dummy file

github.com/PHPCSStandards/PHPCSUtils - 68b9226f1159e1560fef0f3005bc23faf30c0a97 authored over 2 years ago by Juliette <[email protected]>
Tests: introduce generic dummy file

... for tests which do need a `$phpcsFile` object, but don't have code snippet based tests.

github.com/PHPCSStandards/PHPCSUtils - c831840ae17ca6906aacdb65656eb86c04e15e66 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #325 from PHPCSStandards/testutils/utilitymethodtestcase-reset-stabilize

UtilityMethodTestCase::resetTestFile(): stabilize the resetting

github.com/PHPCSStandards/PHPCSUtils - d66bf2b881e4c0f225e77a6abaa86b991eff2595 authored over 2 years ago by Juliette <[email protected]>
Merge pull request #324 from PHPCSStandards/feature/getversiontest-update-latest-version

GetVersionTest: update for release of PHPCS 3.7.0

github.com/PHPCSStandards/PHPCSUtils - 22d020a870f03b906edff99f50a4eefd6db9b362 authored over 2 years ago by Juliette <[email protected]>
UtilityMethodTestCase::resetTestFile(): stabilize the resetting

If a child test class would overload one of these properties without resetting, it could break a...

github.com/PHPCSStandards/PHPCSUtils - 6c9abd958278189706aae0381b697b9c45bbd363 authored over 2 years ago by jrfnl <[email protected]>
GetVersionTest: update for release of PHPCS 3.7.0

github.com/PHPCSStandards/PHPCSUtils - f35da046033ede4127cc46acbd3d0ac596611936 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #109 from PHPCSStandards/feature/various-minor-touchups

GH Actions/XSD: various minor touchups

github.com/PHPCSStandards/PHPCSDevTools - 574f43ab7c55173ad4bbade552c08e5845f57e20 authored over 2 years ago by Juliette <[email protected]>
GH Actions/CS workflow: download XSD schema before using it

... as XMLLint does not handle remote URLs well.

github.com/PHPCSStandards/PHPCSDevTools - b96ee3e5efd1ff7afb6081bdbedb390b2aad1c25 authored over 2 years ago by jrfnl <[email protected]>
GH Actions/CS workflow: validate the code style of the XSD file

github.com/PHPCSStandards/PHPCSDevTools - bcdf9a18bc1f68def817856e4e031de535df6c3e authored over 2 years ago by jrfnl <[email protected]>
GH Actions/CS workflow: clean up the documentation

... and group related tasks.

github.com/PHPCSStandards/PHPCSDevTools - e13a8e09b47ee6449b235f64130f37bf67fe9962 authored over 2 years ago by jrfnl <[email protected]>
Introduce a XSD schema for validation PHPCS XML docs (#80)

* Introduces an XSD schema file to allow for validating PHPCS XML docs files, i.e. the `Standard...

github.com/PHPCSStandards/PHPCSDevTools - d6641f6a15cca2a7b99a7f9af62558588eb2c67a authored over 2 years ago by Denis Žoljom <[email protected]>
Merge pull request #117 from PHPCSStandards/feature/new-operators-typeseparatorspacing-sniff

New `Universal.Operators.TypeSeparatorSpacing` sniff

github.com/PHPCSStandards/PHPCSExtra - 38e83a7bb0639288a5f8447b226cdb0ccf368c93 authored over 2 years ago by Juliette <[email protected]>
Merge pull request #116 from PHPCSStandards/universal/new-nostaticinfinalclass-sniff

New `Universal.CodeAnalysis.StaticInFinalClass` sniff

github.com/PHPCSStandards/PHPCSExtra - ef25b47f9eabe0187c58dcc7c65455e91c8b8e3b authored over 2 years ago by Juliette <[email protected]>
:sparkles: New `Universal.Operators.TypeSeparatorSpacing` sniff

New sniff to enforce no spaces around union type and intersection type separator operators.

Inc...

github.com/PHPCSStandards/PHPCSExtra - 3f88af2828c71e962bfe552e68761fa6afe79e31 authored over 2 years ago by jrfnl <[email protected]>
:sparkles: New `Universal.CodeAnalysis.StaticInFinalClass` sniff

New sniff to detect using `static` instead of `self` in OO constructs which are `final`.

Includ...

github.com/PHPCSStandards/PHPCSExtra - ba28f736acd22c19cd38437ec6fd30cb5162452d authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #115 from PHPCSStandards/feature/update-minimum-phpcs-version

Composer: up the minimum PHPCS version to 3.7.0 & remove work-arounds

github.com/PHPCSStandards/PHPCSExtra - 9d8ad670c4e8cedea1afa14c2d36e6c8273caf36 authored over 2 years ago by Juliette <[email protected]>
QA: remove work-arounds for older PHPCS versions

As the minimum PHPCS version has been increased to PHPCS 3.7.0, a few work-arounds which were in...

github.com/PHPCSStandards/PHPCSExtra - 2781c613a3d60fe54227f95d406606feb6f36f79 authored over 2 years ago by jrfnl <[email protected]>
Composer: up the minimum PHPCS version to 3.7.0

PHPCS 3.7.0 has just been released and contains significant improvements to the - most notably -...

github.com/PHPCSStandards/PHPCSExtra - 2a188c2f9cdfa6028b53d51dea75961ea9d1e347 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #323 from PHPCSStandards/feature/numbers-handle-invalid-explicit-octals-consistently

Numbers::getCompleteNumber(): handle invalid explicit octals consistently

github.com/PHPCSStandards/PHPCSUtils - 73c1b4d6143e7e484525cba1b19867051abf33b6 authored over 2 years ago by Juliette <[email protected]>
Numbers::getCompleteNumber(): handle invalid explicit octals consistently

Only the "valid" part should be included in the "complete" number.

Similar to upstream PR 3579....

github.com/PHPCSStandards/PHPCSUtils - c5a9be8844ae8644f24fa10fb6b6cd26d6c84c73 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #322 from PHPCSStandards/feature/getendofdoublequotedstringtest-update-for-upstream-merge

GetEndOfDoubleQuotedStringTest: update for upstream merge

github.com/PHPCSStandards/PHPCSUtils - 7f13ba01bba01b62b3890ad05c77ee15be660a57 authored over 2 years ago by Juliette <[email protected]>
GetEndOfDoubleQuotedStringTest: update for upstream merge

Now upstream PR 3604 has been merged, the issue this method guards against will no longer exist ...

github.com/PHPCSStandards/PHPCSUtils - d2ca45d58607937e9a26908e9be9d0fd17d7cdd1 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #108 from PHPCSStandards/featurecomplete/config-autodetect-github-actions-supports-colors

FeatureComplete/Config::isColorSupported(): auto-detect GitHub Actions environment as supporting...

github.com/PHPCSStandards/PHPCSDevTools - 55c0d8fa11f9241da505221c53338cad28b7bbe7 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Config::isColorSupported(): auto-detect GitHub Actions environment as supporting colors

github.com/PHPCSStandards/PHPCSDevTools - df88ec65e23db5c19aa533608250c171f6946653 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #107 from PHPCSStandards/feature-complete/throw-exception-when-paths-have-been-passed-but-invalid

FeatureComplete/Config: throw an exception when an invalid target path has been passed

github.com/PHPCSStandards/PHPCSDevTools - 500f960a0cfd178db8e26c59484cc47efa6e030b authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Config: throw an exception when an invalid target path has been passed

github.com/PHPCSStandards/PHPCSDevTools - 6e5d6001aa3d88510f1f1a51a0c5b7c0b0f4e68e authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #321 from PHPCSStandards/textstrings/new-methods-handling-embedded-vars-and-expressions

TextStrings: add new methods for working with interpolated variables

github.com/PHPCSStandards/PHPCSUtils - 692c2485b296cce24c1307e91cf30f43e83a4802 authored over 2 years ago by Juliette <[email protected]>
TextStrings: add new methods for working with interpolated variables

This introduces three new methods to the PHPCSUtils\Utils\TextStrings class.

Methods:
* `getEmb...

github.com/PHPCSStandards/PHPCSUtils - e7249501cfe3c5c6537c1c64069be9c9f272ffd4 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #320 from PHPCSStandards/textstrings/split-getcompletetextstring-method

TextStrings::getCompleteTextString(): split into three methods

github.com/PHPCSStandards/PHPCSUtils - 0db9570a7a5b3543decaacffbc4db0d5cef7a718 authored over 2 years ago by Juliette <[email protected]>
TextStrings::getCompleteTextString(): split into three methods

This commit splits the `TextStrings::getCompleteTextString()` method into three distinct methods...

github.com/PHPCSStandards/PHPCSUtils - f9388f641ba1a50c383c313a5bfeaa968a73e24c authored over 2 years ago by jrfnl <[email protected]>