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
GH Actions: version update for various predefined actions
f804e06b949de865ea8970dd99a7ff71593a6835 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).
...
Update references to the Composer plugin
bbdd49d463188da9d7d2a88c40945ac29aebcfa5 authored almost 3 years ago by Juliette <[email protected]>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]>README: update for Composer 2.2
a85127568b23356494c8372d2147d470f0ee45e8 authored almost 3 years ago by Juliette <[email protected]>The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is a non-dev requirement fo...
2d5bfb59309d9db938aae2feecfb38d867c88c1d authored almost 3 years ago by jrfnl <[email protected]>Follow up on #100
Adding `--no-interaction` to "plain" Composer commands to potentially prevent...
a7fb101888550e0304ad7b78894355fc9aba387c authored about 3 years ago by jrfnl <[email protected]>GH Actions: version update for `ramsey/composer-install`
771c78a90e738a5070676e9aed19ece1fc434ae9 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...
342ccf1c78549dd699d4bf42006ed1d01f3592a6 authored about 3 years ago by jrfnl <[email protected]>CI: various updates
1e4799953395545cf627a20fb02b264c913d57b8 authored about 3 years ago by Juliette <[email protected]>36c7f83092c6289f9f92a841aa7ff9c035c057ab authored about 3 years ago by jrfnl <[email protected]>
c4dffb4cc783d8fcfc4bc5eaf7e168c89e8fb624 authored about 3 years ago by jrfnl <[email protected]>
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]>The `dealerdirect/phpcodesniffer-composer-installer` Composer plugin is used to register externa...
0e4d1f68c69b50e8933257698d37086ea16d1374 authored about 3 years ago by jrfnl <[email protected]>Ref: https://github.com/PHPCSStandards/PHPCSDevCS/releases/tag/1.1.3
0db548da12d51cbb11c65a8f98f5ee9c84526ef4 authored about 3 years ago by jrfnl <[email protected]>PHPUnit: update configuration
5d1dcf7b3b38036503c7f0cfb8bfb3cc8531e707 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...
ac18853ce2631c31ea08d8a27afce9bd0abf75d8 authored over 3 years ago by jrfnl <[email protected]>Composer: update dev dependencies
381b1b7c41e52c30f6a59832df51fc0d343b0c76 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://...
GH Actions: turn display_errors on
b664bc2b31049186eb56ea123f25741c581a8f81 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...
27e148bbb94a135d444d7b3c6f18c54061b0add5 authored over 3 years ago by jrfnl <[email protected]>GH Actions: more tweaks
4451e0c9b04ab6458ba7dbee11d1f91dd76329c3 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...
2a42d288a596627df18d1c1d98378b1f77361019 authored over 3 years ago by jrfnl <[email protected]>GH Actions: tweak coverage run
517bb4ae9535b5e2a056abb84b4f2a94f553eaa4 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,...
Universal/DisallowAlternativeSyntax: bug fix
0b4a61d1334740f3574b4bc988b36a2421342d20 authored over 3 years ago by Juliette <[email protected]>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]>New `Universal.PHP.OneStatementInShortEchoTag` sniff
3ac226b4d1b495a3d9cfaed6fb432bc645c804a8 authored over 3 years ago by Juliette <[email protected]>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]>GH Actions: don't test against PHPCS 4.x (yet)
8cd25e5ae580443525e00906342cc00574d47c58 authored over 3 years ago by Juliette <[email protected]>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]>GH Actions: get the tests running on PHP 8.1 (nightly) and more
480269c2ed8fc4e48700027f891aaeaad89dbb05 authored almost 4 years ago by Juliette <[email protected]>No need to see the same errors 10 times. Twice is enough ;-)
5cf29cb4efc685d9433a825c8d9bb5caf85c5bf5 authored almost 4 years ago by jrfnl <[email protected]>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]>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]>New `Universal.ControlStructures.DisallowLonelyIf` sniff
a05ec497b7381b8590b15a01a8fe45aa4d71d73d authored almost 4 years ago by Juliette <[email protected]>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]>GH Actions: various tweaks
26962498eb8c713746815ec55f02aa43d343cd1e authored almost 4 years ago by Juliette <[email protected]>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]>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]>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]>... on pull requests as it doesn't play nice with required statuses.
8036a3a1df314fcdedf9c93808934397bfc5a64d authored almost 4 years ago by jrfnl <[email protected]>CI: switch to GitHub Actions
2f0e6fb780b3e5683e9bf1bd5897198d09c5f452 authored about 4 years ago by Juliette <[email protected]>
This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...
This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...
This commit:
* Adds a GH Actions workflow for the CI checks which were previously run on Travis ...
NoReservedKeywordParameterNames: also throw a warning for `parent` and `self`
87006da3a9879c194d68a59a7a5278c9b49f571e authored about 4 years ago by Juliette <[email protected]>... 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]>New `Universal.NamingConventions.NoReservedKeywordParameterNames` sniff
0f5fcd98e0fa8a857fb7863043f3fa8cba5d7461 authored about 4 years ago by Juliette <[email protected]>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]>Travis/Composer: future-proof the CS setup a little more
b525f9a0ed7dd7e0578f99af7ff7c7b7942fe8ca authored over 4 years ago by Juliette <[email protected]>
* 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]>QA/CS: update PHPCSDevCS
232a81386b1ad04f1fe4ffaa44188e2ee5009db1 authored over 4 years ago by Juliette <[email protected]>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]>Travis: retry composer install on failure
f86562beb5f2fd64e0dd731e1b0be81115928938 authored over 4 years ago by Juliette <[email protected]>
The builds are failing a little too often for my taste on the below error.
```
[Composer\Downloa...
New `Universal.Classes.Disallow/RequireAnonClassParentheses` sniffs
942ac149647724ff793f99ff4836edb91f97dac6 authored over 4 years ago by Juliette <[email protected]>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]>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]>DisallowUseFunction: update a unit test (PHP 8 compat)
02f4ee95269d69f4993329ca736915a2171265ee authored over 4 years ago by Juliette <[email protected]>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]>Travis: change from "trusty" to "xenial"
e5cb562213db8dc305252b4b8e0472e04ef2d072 authored over 4 years ago by Juliette <[email protected]>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]>New `Universal.Constants.LowercaseClassResolutionKeyword` sniff
af7234918ae9b8d83d97a194583e8e2b21c71d79 authored over 4 years ago by Juliette <[email protected]>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]>Release 1.0.0-alpha3
a8415f9c2b7360e7184aad803a2c7e2b0544b4f1 authored over 4 years ago by Juliette <[email protected]>Changelog and readme updates for release `1.0.0-alpha3`
51e0cb4c6c78c35a3a2bf7220a15572604fde356 authored over 4 years ago by Juliette <[email protected]>Misc updates for the `master` branch being renamed to `stable`
bb61372f98722a0d3d6e11319f16a005b8769b67 authored over 4 years ago by Juliette <[email protected]>010cc15d5965c545d72902fbcce55bb3f6358b9d authored over 4 years ago by jrfnl <[email protected]>
Composer: update dependencies
f3b057377d744acaec74000dde67352bc57aabb1 authored over 4 years ago by Juliette <[email protected]>... in as far necessary.
9a7b51b362f80ce2ca453e52b2b3a48f7be9b3fa authored over 4 years ago by jrfnl <[email protected]>
* Update the branch conditions for the Travis script.
* Update the badges in the Readme.
Travis: test on nightly
e097ef60c4206005972c1c5377f059eacacef0dc authored over 4 years ago by Juliette <[email protected]>Test bootstrap: improve documentation and some minor code tweaks.
767b721e0a18b09ca61bead310b9b5529245edcb authored over 4 years ago by Juliette <[email protected]>Includes two minor code formatting tweaks elsewhere.
acdfca61aa071e18d731c87bdec83352c230e777 authored over 4 years ago by jrfnl <[email protected]>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]>New `Universal.Operators.DisallowStandalonePostIncrementDecrement` sniff
9ebc9a73c4b041c9b5e321a731b5afc9aa8ea7f4 authored over 4 years ago by Juliette <[email protected]>New `Universal.Constants.UppercaseMagicConstants` sniff
beffa60493beed0a380ca92f1b3017fb16247e31 authored over 4 years ago by Juliette <[email protected]>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]>New sniff to verify that the PHP native magic constants are in uppercase when used.
Refs:
* htt...
QA/CI: change the way the CS check is run
6ad26e7aac31445349a2fb5020605a2003b47646 authored over 4 years ago by Juliette <[email protected]>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]>Composer: update PHPCS Composer plugin dependency
e82f9ebd15becd03757581b3414b199547f83056 authored over 4 years ago by Juliette <[email protected]>
The DealerDirect Composer plugin has just released version `0.7.0`.
As Composer treats minors < ...
DisallowShort[Array|List]Syntax: register fewer tags
323b6207719d76c4ecc0907bd1e58bd1660d2d50 authored over 4 years ago by Juliette <[email protected]>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]>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]>New `Universal.UseStatements.LowercaseFunctionConst` sniff
1de084748021caba1ba6bfb420b23a4d567fe85f authored over 4 years ago by Juliette <[email protected]>Universal.UseStatements.NoLeadingBackslash: fix filename of fixed test case file
33631fa4aa2908569061682ec511db457b0a1686 authored over 4 years ago by Juliette <[email protected]>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]>29ecc386ecd374ab7aa718a353aadbc1550b6259 authored over 4 years ago by jrfnl <[email protected]>
New `Universal.OOStructures.AlphabeticExtendsImplements` sniff
c2c4aeb999ea7b0c11707cb04169d5df33cb8019 authored over 4 years ago by Juliette <[email protected]>Composer: set minimum Composer PHPCS plugin dependency version to `0.4.1`
36e077b7809575f4aec4a72c5ce391794519b800 authored over 4 years ago by Juliette <[email protected]>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]>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]>New `Universal.Operators.DisallowLogicalAndOr` sniff
96bbc93737c2893f55321c53514dd6b7a3cdeb14 authored over 4 years ago by Juliette <[email protected]>Universal/StrictComparisons: add metrics
f6874acf924021bf98256b4499c88ecc0819b37a authored over 4 years ago by Juliette <[email protected]>Add metrics to the sniff.
Example report:
```
PHP CODE SNIFFER INFORMATION REPORT
-------------...
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]>New `Universal.Namespaces.DisallowDeclarationWithoutName` sniff
f38349454e5a3da1a566dcc87142877a298ec234 authored over 4 years ago by Juliette <[email protected]>