Ecosyste.ms: OpenCollective

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

github.com/PHPCSStandards/PHPCSExtra

A collection of code standards for use with PHP_CodeSniffer
https://github.com/PHPCSStandards/PHPCSExtra

Merge pull request #103 from PHPCSStandards/feature/ghactions-update-various-actions

GH Actions: version update for various predefined actions

f804e06b949de865ea8970dd99a7ff71593a6835 authored almost 3 years ago by Juliette <[email protected]>
GH Actions: version update for various predefined actions

A number of predefined actions have had major release, which warrant an update the workflow(s).
...

670bc39d120c92e000e76a1f34e09bcf38e0fb15 authored almost 3 years ago by jrfnl <[email protected]>
Merge pull request #102 from PHPCSStandards/feature/update-refs-to-composer-plugin

Update references to the Composer plugin

bbdd49d463188da9d7d2a88c40945ac29aebcfa5 authored almost 3 years ago by Juliette <[email protected]>
Update references to the Composer plugin

The Composer plugin has a new home.

Ref: https://github.com/PHPCSStandards/composer-installer/i...

af5bdf296e573891da65829322d1e514201d0e64 authored almost 3 years ago by jrfnl <[email protected]>
Merge pull request #101 from PHPCSStandards/feature/readme-update-for-composer-2.2

README: update for Composer 2.2

a85127568b23356494c8372d2147d470f0ee45e8 authored almost 3 years ago by Juliette <[email protected]>
README: update for Composer 2.2

The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is a non-dev requirement fo...

2d5bfb59309d9db938aae2feecfb38d867c88c1d authored almost 3 years ago by jrfnl <[email protected]>
GH Actions: always use --no-interaction for Composer

Follow up on #100

Adding `--no-interaction` to "plain" Composer commands to potentially prevent...

a7fb101888550e0304ad7b78894355fc9aba387c authored about 3 years ago by jrfnl <[email protected]>
Merge pull request #100 from PHPCSStandards/feature/ghactions-update-composer-action

GH Actions: version update for `ramsey/composer-install`

771c78a90e738a5070676e9aed19ece1fc434ae9 authored about 3 years ago by Juliette <[email protected]>
GH Actions: version update for `ramsey/composer-install`

The action used to install Composer packages and handle the caching has released a new major (an...

342ccf1c78549dd699d4bf42006ed1d01f3592a6 authored about 3 years ago by jrfnl <[email protected]>
Merge pull request #99 from PHPCSStandards/feature/ci-various-updates

CI: various updates

1e4799953395545cf627a20fb02b264c913d57b8 authored about 3 years ago by Juliette <[email protected]>
GH Actions: update for the release of PHP 8.1

36c7f83092c6289f9f92a841aa7ff9c035c057ab authored about 3 years ago by jrfnl <[email protected]>
GH Actions: use `error_reporting=-1`

c4dffb4cc783d8fcfc4bc5eaf7e168c89e8fb624 authored about 3 years ago by jrfnl <[email protected]>
GH Actions: auto-cancel previous builds for same branch

Previously, in Travis, when the same branch was pushed again and the "Auto cancellation" option ...

74696a87b31866131bec341ee006f4c8365ebd1b authored about 3 years ago by jrfnl <[email protected]>
Composer: allow the PHPCS plugin

The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is used to register externa...

0e4d1f68c69b50e8933257698d37086ea16d1374 authored about 3 years ago by jrfnl <[email protected]>
Composer: use PHPCSDevCS v 1.1.3

Ref: https://github.com/PHPCSStandards/PHPCSDevCS/releases/tag/1.1.3

0db548da12d51cbb11c65a8f98f5ee9c84526ef4 authored about 3 years ago by jrfnl <[email protected]>
Merge pull request #97 from PHPCSStandards/feature/phpunit-update-config

PHPUnit: update configuration

5d1dcf7b3b38036503c7f0cfb8bfb3cc8531e707 authored over 3 years ago by Juliette <[email protected]>
PHPUnit: update configuration

PHPUnit just released version 9.5.10 and 8.5.21.

This contains a particular (IMO breaking) chan...

ac18853ce2631c31ea08d8a27afce9bd0abf75d8 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #96 from PHPCSStandards/feature/composer-update-dependencies

Composer: update dev dependencies

381b1b7c41e52c30f6a59832df51fc0d343b0c76 authored over 3 years ago by Juliette <[email protected]>
Composer: update dev dependencies

Most notably, PHP Parallel Lint 1.3.1 has improved compatibility with PHP 8.1.

Refs:
* https://...

91f011eed98078310073aebe3d31c60455945992 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #94 from PHPCSStandards/feature/ghactions-turn-on-error-reporting

GH Actions: turn display_errors on

b664bc2b31049186eb56ea123f25741c581a8f81 authored over 3 years ago by Juliette <[email protected]>
GH Actions: turn display_errors on

Turns out the default setting for `error_reporting` used by the SetupPHP action is `error_report...

27e148bbb94a135d444d7b3c6f18c54061b0add5 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #93 from PHPCSStandards/feature/ghactions-more-tweaks

GH Actions: more tweaks

4451e0c9b04ab6458ba7dbee11d1f91dd76329c3 authored over 3 years ago by Juliette <[email protected]>
GH Actions: more tweaks

* Skip the `quicktest` on `develop` as those are the same builds as for `coverage`, so no need t...

2a42d288a596627df18d1c1d98378b1f77361019 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #92 from PHPCSStandards/feature/ghactions-coverage-on-develop

GH Actions: tweak coverage run

517bb4ae9535b5e2a056abb84b4f2a94f553eaa4 authored over 3 years ago by Juliette <[email protected]>
GH Actions: tweak coverage run

As things were, coverage would only be run on pull requests and on `master`.
Generally speaking,...

754ec67c9506d4d890bcee900bf161bdf7e4d916 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #90 from PHPCSStandards/feature/disallowalternativecontrolstructures-bugfix

Universal/DisallowAlternativeSyntax: bug fix

0b4a61d1334740f3574b4bc988b36a2421342d20 authored over 3 years ago by Juliette <[email protected]>
Universal/DisallowAlternativeSyntax: bug fix

When the `allowWithInlineHTML` property was set to `true`, the sniff would always bow out, indep...

f3cf60f4288f9a1275003d56ab2d4d2f9a8f6b42 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #89 from PHPCSStandards/universal/new-onestatementinshortechotag-sniff

New `Universal.PHP.OneStatementInShortEchoTag` sniff

3ac226b4d1b495a3d9cfaed6fb432bc645c804a8 authored over 3 years ago by Juliette <[email protected]>
:sparkles: New `Universal.PHP.OneStatementInShortEchoTag` sniff

Sniff to disallow short open echo tags `<?=` containing more than one PHP statement.

When using...

aa57e2c4d7682c492de4b0dd1e50f141a385e752 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #88 from PHPCSStandards/feature/ghactions-disable-testing-against-phpcs-4.x

GH Actions: don't test against PHPCS 4.x (yet)

8cd25e5ae580443525e00906342cc00574d47c58 authored over 3 years ago by Juliette <[email protected]>
GH Actions: don't test against PHPCS 4.x (yet)

As it looks like PHPCS 4.x is still quite a while away (2022 at the earliest), let's stop testin...

b0ae59f6a41744f9c32c95b6230dceb170570184 authored over 3 years ago by jrfnl <[email protected]>
Merge pull request #86 from PHPCSStandards/feature/ghactions-test-on-php-8.1

GH Actions: get the tests running on PHP 8.1 (nightly) and more

480269c2ed8fc4e48700027f891aaeaad89dbb05 authored almost 4 years ago by Juliette <[email protected]>
GH Actions: only report linting violations on high/low PHP

No need to see the same errors 10 times. Twice is enough ;-)

5cf29cb4efc685d9433a825c8d9bb5caf85c5bf5 authored almost 4 years ago by jrfnl <[email protected]>
GH Actions: fix downloading package from source

The test run against PHPCS 4.x needs to download from `source` instead of Packagist to ensure th...

5ba7fdeca2f1035988310b707db65aa586fe6064 authored almost 4 years ago by jrfnl <[email protected]>
GH Actions: get the tests running on PHP 8.1 (nightly)

Letting PHPUnit read the config file causes an error on PHP 8.1 in combination with PHPUnit 7.

...

3f8e4439f2838f3bce2509e9572bf1d8894422d0 authored almost 4 years ago by jrfnl <[email protected]>
Merge pull request #85 from PHPCSStandards/feature/phpcs-3206-no-lonely-if

New `Universal.ControlStructures.DisallowLonelyIf` sniff

a05ec497b7381b8590b15a01a8fe45aa4d71d73d authored almost 4 years ago by Juliette <[email protected]>
:sparkles: New `Universal.ControlStructures.DisallowLonelyIf` sniff

Sniff to disallow `if` statements as the only statement in an `else` block.

Inspired by the [ES...

8fc9ad1faf1acb958b80950847e4d0efa2b09e2a authored almost 4 years ago by jrfnl <[email protected]>
Merge pull request #84 from PHPCSStandards/feature/ghactions-tweaks

GH Actions: various tweaks

26962498eb8c713746815ec55f02aa43d343cd1e authored almost 4 years ago by Juliette <[email protected]>
GH Actions: report linting violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

0981c8f983d91ff0ed7e57f73bff2788b99cff9e authored almost 4 years ago by jrfnl <[email protected]>
GH Actions: report CS violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

d8a5eed699f44b74425b7bbd3535b2eae7616147 authored almost 4 years ago by jrfnl <[email protected]>
GH Actions: allow for manually triggering a workflow

Triggering a workflow for a branch manually is not supported by default in GH Actions, but has t...

e282eec3848917c8f26b41c4026141ced0ded6b8 authored almost 4 years ago by jrfnl <[email protected]>
GH Actions: don't ignore markdown-only changes

... on pull requests as it doesn't play nice with required statuses.

8036a3a1df314fcdedf9c93808934397bfc5a64d authored almost 4 years ago by jrfnl <[email protected]>
Merge pull request #83 from PHPCSStandards/feature/move-to-gh-actions

CI: switch to GitHub Actions

2f0e6fb780b3e5683e9bf1bd5897198d09c5f452 authored about 4 years ago by Juliette <[email protected]>
CI: switch to GitHub Actions - step 3: test and coverage stage

This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...

e0b73f5a79747109e8cdf6a48a067665d0368815 authored about 4 years ago by jrfnl <[email protected]>
CI: switch to GitHub Actions - step 2: quick test stage

This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...

56d3db7bd05e0260b70c60e213e6ab8d098e40a1 authored about 4 years ago by jrfnl <[email protected]>
CI: switch to GitHub Actions - step 1: sniff and validate stage

This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...

0eff97a24a776911b8cad40649a6e40494e1b682 authored about 4 years ago by jrfnl <[email protected]>
Merge pull request #81 from PHPCSStandards/feature/noreservedkeywordsparamnames-add-self-parent

NoReservedKeywordParameterNames: also throw a warning for `parent` and `self`

87006da3a9879c194d68a59a7a5278c9b49f571e authored about 4 years ago by Juliette <[email protected]>
NoReservedKeywordParameterNames: also throw a warning for `parent` and `self`

... as they will be equally confusing when used in the context of named parameters in function c...

d524385957fcec01d029f04abeb1369faec02490 authored about 4 years ago by jrfnl <[email protected]>
Merge pull request #80 from PHPCSStandards/universal/new-noreservedkeywordparameternames-sniff

New `Universal.NamingConventions.NoReservedKeywordParameterNames` sniff

0f5fcd98e0fa8a857fb7863043f3fa8cba5d7461 authored about 4 years ago by Juliette <[email protected]>
:sparkles: New `Universal.NamingConventions.NoReservedKeywordParameterNames` sniff

Sniff to verify that function parameters do not use reserved keywords as names as this can beco...

6a83fd00e94ff4e3d8954f1d5dec3177abb9fdb1 authored about 4 years ago by jrfnl <[email protected]>
Merge pull request #79 from PHPCSStandards/feature/travis-composer-tweaks

Travis/Composer: future-proof the CS setup a little more

b525f9a0ed7dd7e0578f99af7ff7c7b7942fe8ca authored over 4 years ago by Juliette <[email protected]>
Travis/Composer: future-proof the CS setup a little more

* Composer: add branch aliases
* Travis: move CS install steps to the `Sniff` stage.

See PHPCom...

915eb7ae65fe13af6b52fcc91fe0f1ffea936395 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #78 from PHPCSStandards/feature/update-cs-ruleset-dependency

QA/CS: update PHPCSDevCS

232a81386b1ad04f1fe4ffaa44188e2ee5009db1 authored over 4 years ago by Juliette <[email protected]>
QA/CS: update PHPCSDevCS

The new `1.1.x` version already includes a check for short array syntax, so we can remove that f...

84bd7a3e5640993ba0ef575ce597a82ae9efa2c0 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #77 from PHPCSStandards/feature/travis-retry

Travis: retry composer install on failure

f86562beb5f2fd64e0dd731e1b0be81115928938 authored over 4 years ago by Juliette <[email protected]>
Travis: retry composer install on failure

The builds are failing a little too often for my taste on the below error.
```
[Composer\Downloa...

c919d4f7c2f94efecb104a4ade4ef159b846d2aa authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #76 from PHPCSStandards/universal/new-anonclassparentheses-sniffs

New `Universal.Classes.Disallow/RequireAnonClassParentheses` sniffs

942ac149647724ff793f99ff4836edb91f97dac6 authored over 4 years ago by Juliette <[email protected]>
:sparkles: New `Universal.Classes.RequireAnonClassParentheses` sniff

Sniff to require the use of parentheses when declaring an anonymous class whether parameters are...

36ad68c2c422f46ce887a9cd5869f3904fe8cf1a authored over 4 years ago by jrfnl <[email protected]>
:sparkles: New `Universal.Classes.DisallowAnonClassParentheses` sniff

Sniff to disallow the use of parentheses when declaring an anonymous class without passing param...

c7d2ac10946fc552cc5b8bdafae9bc8cf59c4f14 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #74 from PHPCSStandards/feature/tests-php8-compat

DisallowUseFunction: update a unit test (PHP 8 compat)

02f4ee95269d69f4993329ca736915a2171265ee authored over 4 years ago by Juliette <[email protected]>
DisallowUseFunction: update a unit test (PHP 8 compat)

A parse error due to a new reserved keyword is not something the sniff should need to take into ...

b0942175f7a4671e3cf1ce7d0991878721eb112c authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #73 from PHPCSStandards/feature/update-travis-env

Travis: change from "trusty" to "xenial"

e5cb562213db8dc305252b4b8e0472e04ef2d072 authored over 4 years ago by Juliette <[email protected]>
Travis: change from "trusty" to "xenial"

As the "trusty" environment is no longer officially supported by Travis, they decided in their w...

e6925aaea96677e6db39d7268aa0efdb3fc43165 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #72 from PHPCSStandards/feature/universal/new-lowercase-class-resolution-keyword-sniff

New `Universal.Constants.LowercaseClassResolutionKeyword` sniff

af7234918ae9b8d83d97a194583e8e2b21c71d79 authored over 4 years ago by Juliette <[email protected]>
:sparkles: New `Universal.Constants.LowercaseClassResolutionKeyword` sniff

New sniff to verify that the `class` keyword when used for class name resolution - `::class` is ...

0c3f8cdcc2cf7f805ce4ea2b28fdc5d1eff4d06c authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #71 from PHPCSStandards/develop

Release 1.0.0-alpha3

a8415f9c2b7360e7184aad803a2c7e2b0544b4f1 authored over 4 years ago by Juliette <[email protected]>
Merge pull request #70 from PHPCSStandards/feature/changelog-1.0.0-alpha3

Changelog and readme updates for release `1.0.0-alpha3`

51e0cb4c6c78c35a3a2bf7220a15572604fde356 authored over 4 years ago by Juliette <[email protected]>
Merge pull request #68 from PHPCSStandards/feature/rename-master-branch

Misc updates for the `master` branch being renamed to `stable`

bb61372f98722a0d3d6e11319f16a005b8769b67 authored over 4 years ago by Juliette <[email protected]>
Changelog and readme updates for release `1.0.0-alpha3`

010cc15d5965c545d72902fbcce55bb3f6358b9d authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #69 from PHPCSStandards/feature/update-misc-dependencies

Composer: update dependencies

f3b057377d744acaec74000dde67352bc57aabb1 authored over 4 years ago by Juliette <[email protected]>
Composer: update dependencies

... in as far necessary.

9a7b51b362f80ce2ca453e52b2b3a48f7be9b3fa authored over 4 years ago by jrfnl <[email protected]>
Misc updates for the `master` branch being renamed to `stable`

* Update the branch conditions for the Travis script.
* Update the badges in the Readme.

22a3316149e4bc9e30624be36fe469ac9cfd4b08 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #66 from PHPCSStandards/feature/travis-test-on-nightly

Travis: test on nightly

e097ef60c4206005972c1c5377f059eacacef0dc authored over 4 years ago by Juliette <[email protected]>
Merge pull request #67 from PHPCSStandards/feature/test-bootstrap-minor-tweaks

Test bootstrap: improve documentation and some minor code tweaks.

767b721e0a18b09ca61bead310b9b5529245edcb authored over 4 years ago by Juliette <[email protected]>
Test bootstrap: improve documentation and some minor code tweaks

Includes two minor code formatting tweaks elsewhere.

acdfca61aa071e18d731c87bdec83352c230e777 authored over 4 years ago by jrfnl <[email protected]>
Travis: test on nightly

Up to now, the DealerDirect plugin was a blocker for testing the standard against PHP `nightly`/...

1eb2b5d7190187f9bbbf83c5dac187bea15c4ad5 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #65 from PHPCSStandards/feature/universal/new-disallow-standalone-post-indecrement-sniff

New `Universal.Operators.DisallowStandalonePostIncrementDecrement` sniff

9ebc9a73c4b041c9b5e321a731b5afc9aa8ea7f4 authored over 4 years ago by Juliette <[email protected]>
Merge pull request #64 from PHPCSStandards/feature/universal/new-uppercase-magic-constants-sniff

New `Universal.Constants.UppercaseMagicConstants` sniff

beffa60493beed0a380ca92f1b3017fb16247e31 authored over 4 years ago by Juliette <[email protected]>
:sparkles: New `Universal.Operators.DisallowStandalonePostIncrementDecrement` sniff

New sniff to disallow the use of post-in/decrements in stand-alone statements and discourage the...

2d5cd952af4df8101e705b09529e384a8553ef49 authored over 4 years ago by jrfnl <[email protected]>
:sparkles: New `Universal.Constants.UppercaseMagicConstants` sniff

New sniff to verify that the PHP native magic constants are in uppercase when used.

Refs:
* htt...

912c18c642bb7e0de1dc073b861549236661fa26 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #63 from PHPCSStandards/feature/change-cs-setup

QA/CI: change the way the CS check is run

6ad26e7aac31445349a2fb5020605a2003b47646 authored over 4 years ago by Juliette <[email protected]>
QA/CI: change the way the CS check is run

Use `composer global` instead of a project local install for the CS check as PHPCSExtra will bec...

d5bbc0440b2897acf3d6dc9f66f0fc60114c6dad authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #62 from PHPCSStandards/feature/allow-for-new-composer-plugin-version

Composer: update PHPCS Composer plugin dependency

e82f9ebd15becd03757581b3414b199547f83056 authored over 4 years ago by Juliette <[email protected]>
Composer: update PHPCS Composer plugin dependency

The DealerDirect Composer plugin has just released version `0.7.0`.
As Composer treats minors < ...

8997f5ab740e9d8f29c0eb8622c5a94596a4fa17 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #61 from PHPCSStandards/feature/disallowshortarray-shortlist-efficiency-fix

DisallowShort[Array|List]Syntax: register fewer tags

323b6207719d76c4ecc0907bd1e58bd1660d2d50 authored over 4 years ago by Juliette <[email protected]>
DisallowShortListSyntax: register fewer tags

The minimum supported version for this standard is PHPCS 3.3.1, while the bugs which necessitate...

ae8954e1e016d4124d34796d56ae3e1b6e451cc9 authored over 4 years ago by jrfnl <[email protected]>
DisallowShortArraySyntax: register fewer tags

The minimum supported version for this standard is PHPCS 3.3.1, while the bugs which necessitate...

2eca0cf09cac672ba4d978be453fd98cc8a5528a authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #58 from PHPCSStandards/universal/usestatements/new-lowercasefunctionconst-sniff

New `Universal.UseStatements.LowercaseFunctionConst` sniff

1de084748021caba1ba6bfb420b23a4d567fe85f authored over 4 years ago by Juliette <[email protected]>
Merge pull request #57 from PHPCSStandards/feature/noleadingbackslash-fix-fixed-test-case-filename

Universal.UseStatements.NoLeadingBackslash: fix filename of fixed test case file

33631fa4aa2908569061682ec511db457b0a1686 authored over 4 years ago by Juliette <[email protected]>
:sparkles: New `Universal.UseStatements.LowercaseFunctionConst` sniff

New sniff to verify that `function` and `const` keywords when used in an import `use` statement ...

c47150b4e0881253ac505978c4fe8fc3f8727818 authored over 4 years ago by jrfnl <[email protected]>
NoLeadingBackslash: fix filename of fixed test case file

29ecc386ecd374ab7aa718a353aadbc1550b6259 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #55 from PHPCSStandards/feature/54-new-alphabeticimplementsextends-sniff

New `Universal.OOStructures.AlphabeticExtendsImplements` sniff

c2c4aeb999ea7b0c11707cb04169d5df33cb8019 authored over 4 years ago by Juliette <[email protected]>
Merge pull request #56 from PHPCSStandards/feature/fix-phpcs-composer-plugin-dependency

Composer: set minimum Composer PHPCS plugin dependency version to `0.4.1`

36e077b7809575f4aec4a72c5ce391794519b800 authored over 4 years ago by Juliette <[email protected]>
Composer: set minimum Composer PHPCS plugin dependency version to `0.4.1`

Support for the `installed_paths` being set when the plugin is a requirement of a standard itsel...

b33bc6af274cb308a7f72b7d427e3655a148bf81 authored over 4 years ago by jrfnl <[email protected]>
:sparkles: New `Universal.OOStructures.AlphabeticExtendsImplements` sniff

New sniff to verify that the names used in a class "implements" statement or an interface "exten...

766c4ec5941612e3714134106ea32acf0da5d16a authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #52 from PHPCSStandards/feature/new-disallowlogicalandor-sniff

New `Universal.Operators.DisallowLogicalAndOr` sniff

96bbc93737c2893f55321c53514dd6b7a3cdeb14 authored over 4 years ago by Juliette <[email protected]>
Merge pull request #53 from PHPCSStandards/feature/strictcomparisons-add-metrics

Universal/StrictComparisons: add metrics

f6874acf924021bf98256b4499c88ecc0819b37a authored over 4 years ago by Juliette <[email protected]>
Universal/StrictComparisons: add metrics

Add metrics to the sniff.

Example report:
```
PHP CODE SNIFFER INFORMATION REPORT
-------------...

44f5bfb37c883bb3f55d1e72c62959d2dbc63355 authored over 4 years ago by jrfnl <[email protected]>
:sparkles: New `Universal.Operators.DisallowLogicalAndOr` sniff

New sniff to enforce the use of the boolean `&&` and `||` operators instead of the logical `and`...

9c5441f2b28e356b0fbfc2ea11a3ea9d72451938 authored over 4 years ago by jrfnl <[email protected]>
Merge pull request #50 from PHPCSStandards/feature/new-namespaces-disallowdeclarationwithoutname-sniff

New `Universal.Namespaces.DisallowDeclarationWithoutName` sniff

f38349454e5a3da1a566dcc87142877a298ec234 authored over 4 years ago by Juliette <[email protected]>