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: Bump mondeja/remove-labels-gh-action from 1 to 2
253d01850056b24a0bc2eeab1b18697a98960bc0 authored 10 months ago by Juliette <[email protected]>Bumps [mondeja/remove-labels-gh-action](https://github.com/mondeja/remove-labels-gh-action) from...
622223e9b88779092601a75fdc02bb576363e4cf authored 10 months ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>GH Actions: Bump ramsey/composer-install from 2 to 3
7384703f57a65879dc6fb5a0fc0dbe60fe2c1d8d authored 10 months ago by Juliette <[email protected]>
Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 2 to 3.
- [Rele...
GH Actions: minor tweaks
71ce087b11b12bf1f1b6fff0bf9b911a2fcb494c authored 11 months ago by Juliette <[email protected]>* The `--ignore-platform-req=php+` is no longer needed now PHPUnit 8 and 9 are supported (since ...
f323022e11cd7cfd4b95bbec66accf3277439dbc authored 11 months ago by jrfnl <[email protected]>UseStatements/KeywordSpacing: add missing "fixed" test file
a82cb4dfb4703f3aaf774f2d1a87ae4cf6f5b781 authored 11 months ago by Juliette <[email protected]>The `Universal.UseStatement.KeywordSpacing` sniff has a difference in behaviour between PHP < 8....
8856f8b6b136b782e90a98becd857965843218bf authored 11 months ago by jrfnl <[email protected]>Release PHPCSExtra 1.2.1
11d387c6642b6e4acaf0bd9bf5203b8cca1ec489 authored about 1 year ago by Juliette <[email protected]>Changelog for the release of version 1.2.1
4abbe7594ed1e145e82af7f6848192ec9bea2065 authored about 1 year ago by Juliette <[email protected]>455d6dadeac1e45f9624c253276f0edda28cd3c0 authored about 1 year ago by jrfnl <[email protected]>
Tests: allow for PHPUnit 8/9
52b5b5580f343f726d1e65b7080dd84987e509c3 authored about 1 year ago by Juliette <[email protected]>PHP_CodeSniffer 3.8.0 now allows for running the tests, which are based on the PHPCS native test...
deaad9affe60446252ab34084b3586872365bab4 authored about 1 year ago by jrfnl <[email protected]>Switch to PHPCSStandards/PHP_CodeSniffer & raise minimum supported version
61391ad731818e646af1930a1dd8e2ede8b902d2 authored about 1 year ago by Juliette <[email protected]>PHPCSUtils 1.0.9 has been released and raises the minimum supported PHPCS version to 3.8.0 for i...
4ef758126e5afb7d43781a5996977fd2280a6b2f authored about 1 year ago by jrfnl <[email protected]>The Squizlabs repo has been abandoned. The project continues in a fork in the PHPCSStandards org...
dec70b88df67e75e6db15ad978224aee4e53ae5f authored about 1 year ago by jrfnl <[email protected]>Release PHPCSExtra 1.2.0
78b2cae1e9de1c05f0416de6f9a658cbb83ac324 authored about 1 year ago by Juliette <[email protected]>README: minor tweak for release of 1.2.0
9f909802c616fd495b644494bd4ae5c5aaa63be4 authored about 1 year ago by Juliette <[email protected]>4944d176bd9106d63ffef524d1de9c10854ddc02 authored about 1 year ago by jrfnl <[email protected]>
Changelog and readme updates for PHPCSExtra 1.2.0
5b3ca14982d9e7923716144a7bb777ee92e88aff authored about 1 year ago by Juliette <[email protected]>e4f9f178acf2cff4ccf20a0ed408acb43dedd69b authored about 1 year ago by jrfnl <[email protected]>
:sparkles: New `Universal.Operators.ConcatPosition` sniff
a8be56ac8e077dc3379fe9e0cf98ceef75dbc852 authored about 1 year ago by Juliette <[email protected]>... to enforce that the concatenation operator for multi-line concatenations is in a preferred p...
a36f204f5b5ccbf346c3ed64b5753f977461e06e authored about 1 year ago by jrfnl <[email protected]>Universal/NoUselessAliases: remove unused constant
9ca16b21ac556f6dd1b338329b12ac3cb2a9c62e authored about 1 year ago by Juliette <[email protected]>Copy/pasta. This sniff does not record metrics.
033cd542c4c0bfd4aa6780b5996b814fe0b97de0 authored about 1 year ago by jrfnl <[email protected]>GH Actions: update for the release of PHP 8.3
7ef54bb093e935e7b530049b5696b6f74c33eaa8 authored about 1 year ago by Juliette <[email protected]>... which is expected later today.
* Builds against PHP 8.3 are no longer allowed to fail.
* Ad...
Composer.json: add link to security policy
06b5da7eef62b547ba9d1ef4eedf495215acc95d authored about 1 year ago by Juliette <[email protected]>This is a new feature available since Composer 2.6.0, which was released a little while ago.
Wh...
801a18126e95f46c28807de21dc99a841452a625 authored about 1 year ago by jrfnl <[email protected]>GH Actions: automate some label management
c67c1821d2a61f1a79bcde807e5231e1a63b2430 authored about 1 year ago by Juliette <[email protected]>This is a quite straight-forward workflow to just remove some labels which should only be on ope...
cb45669840dcb95b1b24d8bd1ef6ba29a7c8af96 authored about 1 year ago by jrfnl <[email protected]>Split the errors, adding the *CloserSameLine ones
89d7f552f6e518112e478ad96b215ff3e2f64b7c authored about 1 year ago by Juliette <[email protected]>
Some standards may want to have different rules when
the array closer is in the same line than t...
GH Actions: switch to Coveralls action runner to upload reports
5bda2df2f2fe1a531327e5ca3fd8457d44da9570 authored about 1 year ago by Juliette <[email protected]>Simplify the code coverage workflow by removing the dependency on the `php-coveralls/php-coveral...
2e6001dcca1040ddf00698895263b13e599fbcc1 authored about 1 year ago by jrfnl <[email protected]>Defer to organisation security policy
8cc8d88ccabb9e83fefd5694c1bb92f0e73f1e72 authored about 1 year ago by Juliette <[email protected]>Commit https://github.com/PHPCSStandards/.github/commit/15b6006cdf302d24b7341c356e58e175a800b4a1...
52f70ae12850e7c553e5bd22c60d0e7be11a2894 authored about 1 year ago by jrfnl <[email protected]>GH Actions: various tweaks
a36e2d647f165985efc45e1f7e135939c6dd479c authored about 1 year ago by Juliette <[email protected]>... as that is also a YAML file.
Includes minor formatting fixes to the PHPStan config file
eb325bd2a83762ff0a1abb5e6d147a7a6a43381d authored about 1 year ago by jrfnl <[email protected]>... as the old URLs are no longer valid.
0eeab2f2e68faf2447af9e141c3baed0c18b8541 authored about 1 year ago by jrfnl <[email protected]>a1b963fbfe7e49cb1fc8d6bd193018e51781c547 authored about 1 year ago by jrfnl <[email protected]>
GH Actions: Bump actions/setup-node from 3 to 4
8b59c9d910db8ab9d0bdc6e6e23eeeaa4b1828e9 authored about 1 year ago by Juliette <[email protected]>:sparkles: New `Universal.CodeAnalysis.NoDoubleNegative` sniff
52ab69abbfb0453d75246edd389edeae8c32b983 authored about 1 year ago by Juliette <[email protected]>:sparkles: New `Universal.PHP.LowercasePHPTag` sniff
8b52fe30e2dfbbb247378c54f715d2ca1807c034 authored about 1 year ago by Juliette <[email protected]>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes]...
... to enforce that the "PHP" in a PHP open tag is lowercase.
Includes fixer.
Includes unit tes...
... to detect double negatives (`!!`) and advise to use a boolean cast instead.
The sniff will ...
8ec8a17bc504b707a1579499cbbae89618785259 authored over 1 year ago by jrfnl <[email protected]>Release PHPCSExtra 1.1.2
746c3190ba8eb2f212087c947ba75f4f5b9a58d5 authored over 1 year ago by Juliette <[email protected]>Changelog for PHPCSExtra 1.1.2
862b249e4dea0a5fa2af3cf31f88d97359bb5b78 authored over 1 year ago by Juliette <[email protected]>32a41a522d568ce5d9e1cd377b3d4e3f17b2354f authored over 1 year ago by jrfnl <[email protected]>
Remark check: update config and minor tweak
e711c29f2f4165005dcc6b3c1552e534e4550a0a authored over 1 year ago by Juliette <[email protected]>The Remark check is failing (again) for some unfathomable reason. They must have changed somethi...
7f5d9e6088b9a79280045d533db68f8c2a940c5b authored over 1 year ago by jrfnl <[email protected]>CodeAnalysis/ConstructorDestructorReturn: correctly ignore PHP-4-style constructors in namespace...
847fe4014888067872c74b98ae381830827b4467 authored over 1 year ago by Juliette <[email protected]>Methods with the same name as a class are not recognized as PHP4-style constructors in namespace...
1f7fb8a061061aae53e1ccdce0498e5e586baf28 authored over 1 year ago by jrfnl <[email protected]>GH Actions: Bump actions/checkout from 3 to 4
f8b1620e1dfff2fcf792d70d6482b95f054279fc authored over 1 year ago by Juliette <[email protected]>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](htt...
Release PHPCSExtra 1.1.1
98bcdbacbda14b1db85f710b1853125726795bbc authored over 1 year ago by Juliette <[email protected]>Changelog for PHPCSExtra 1.1.1
d613f06b41a5adfeff7bb435c70269547f5d628b authored over 1 year ago by Juliette <[email protected]>37bfe5e276862fc9858af6c242764f7c60fd282c authored over 1 year ago by jrfnl <[email protected]>
Add PHPStan to QA checks
5f505da340682c30ac5e4ca0527eb59d6cca7972 authored over 1 year ago by Juliette <[email protected]>PHPStan is a good addition to our QA toolkit and with improvements PHPStan has made over the yea...
46d4a05f79506fd40768dffd469b37032574ed6d authored over 1 year ago by jrfnl <[email protected]>Docs: various improvements
431d42b2b7e7759706a73b5084912007dffc9d3b authored over 1 year ago by Juliette <[email protected]>Definitely not claiming completeness. This is just another iteration step in improving the docum...
93dc83b252644d5d0e67d61bb128296808b7c41f authored over 1 year ago by jrfnl <[email protected]>... and make them more consistent across the sniffs.
ed86bb117c340f654eab603a06b95a437ac619c9 authored over 1 year ago by jrfnl <[email protected]>... and make these docblocks a little more consistent.
c1c93e15b05b6e0a32ec14c21e5f1c52846936e0 authored over 1 year ago by jrfnl <[email protected]>Universal/DisallowInlineTabs: increase type safety
7a34f3b1df3d6fcfc53d7cdc52c4ef8d9cd98c9f authored over 1 year ago by Juliette <[email protected]>... by casting to `int` for a property which expects `int`.
0444986e7aca9e7b0b22a5c5b676fed2f2726fa7 authored over 1 year ago by jrfnl <[email protected]>Various sniffs: set redundant default values
8ffd4d8620b6a82668f04dbed50d6cfcd5877c8e authored over 1 year ago by Juliette <[email protected]>Universal/NoEchoSprintf: bug fix
dbf3d28be2fa9357cfb1644cb32229fe7298e14a authored over 1 year ago by Juliette <[email protected]>The condition was checking the wrong variable against `false`.
fb7235e231d7eeed9a779d8a2916ddf566af5c84 authored over 1 year ago by jrfnl <[email protected]>These variables are only accessed within conditions and those conditions already sufficiently en...
780c759d3e4f6f960cc870a59a47d82e002919d1 authored over 1 year ago by jrfnl <[email protected]>This variable is only accessed within conditions and those conditions already sufficiently ensur...
33997268123bbbcdbf4a26d9cd416d88a969fe44 authored over 1 year ago by jrfnl <[email protected]>These variables are only accessed within conditions and those conditions already sufficiently en...
5626417bc0ea4084e21e02cd30aae9e9781eb6b1 authored over 1 year ago by jrfnl <[email protected]>CS: alphabetize use statements
ad2b11964680e23af8a13b3b200da35d98ad7395 authored over 1 year ago by Juliette <[email protected]>b1877b494c8b10f40b662ccae0d66192bd3bffe1 authored over 1 year ago by jrfnl <[email protected]>
Modernize/Dirname: respect a passed `php_version`
8a41c8b5a478468b99424155bc2a12cd388d50eb authored over 1 year ago by Juliette <[email protected]>If no `php_version` is passed, the sniff will behave as before.
However, is a `php_version` is ...
46af321caca99a781cb005c2ef783a428c3f8bf5 authored over 1 year ago by jrfnl <[email protected]>... in anticipation of additional test case files being added.
2fea560cb157a82bb8c338493f94b8870ce36216 authored over 1 year ago by jrfnl <[email protected]>README: fix order of the sniff list
64b81d1ff23bb0b6f682189169ab823e4489df0e authored over 1 year ago by Juliette <[email protected]>... which wasn't completely alphabetic anymore.
ac8beea26bfdafbc6cdaee74a4ebfbc98e3b1993 authored over 1 year ago by jrfnl <[email protected]>Fix typos
b3b5f01f75edeffa0ac137e6e6def9307bcac765 authored over 1 year ago by Juliette <[email protected]>30b8571bcf1f0f2acd752b7dedf76c24dc681b26 authored over 1 year ago by Viktor Szépe <[email protected]>
Release PHPCSExtra 1.1.0
61a9be9f74a53735f7c421d7de8dc64fa80488e6 authored over 1 year ago by Juliette <[email protected]>Changelog and readme updates for PHPCSExtra 1.1.0
ae2326d171fe7422a65d9c9b3a45605e01d3c7fd authored over 1 year ago by Juliette <[email protected]>Includes some minor formatting tweaks to older releases.
ea52221fc54de72dc6355f96821c3fd2ba630460 authored over 1 year ago by jrfnl <[email protected]>Minor docs tweaks
3afcd8c3c5b597a980686284bed27d39cc5ba0c3 authored over 1 year ago by Juliette <[email protected]>5df93c310322ce12f7acf0ff0b63a0f1e43e3424 authored over 1 year ago by jrfnl <[email protected]>
:sparkles: New `Universal.WhiteSpace.CommaSpacing` sniff
b52841517e7a7726c3c1056543d75976caf0fb7b authored over 1 year ago by Juliette <[email protected]>New sniff to enforce no space before a comma and exactly one space, or a new line, after a comma...
4bab273d305b85cafc24cf95ab8b9a11df1fda4f authored over 1 year ago by jrfnl <[email protected]>GH Actions: update for php-coveralls 2.6.0
dd63fe72c33185c2346c87ea285c92bf29cd9cf3 authored over 1 year ago by Juliette <[email protected]>
PHP-Coveralls 2.6.0 has just been released and includes a fix for the last known PHP 8.x issue.
...
Universal/ConstructorDestructorReturn: minor efficiency tweak
474e767c6beb39babca2c20be11086a384ed1d16 authored over 1 year ago by Juliette <[email protected]>Only retrieve the value for `php_version` once, as the value won't change during the run.
Inclu...
30189eaf84a2dc591d832dda808fe1cf824c1b32 authored over 1 year ago by jrfnl <[email protected]>Universal/DuplicateArrayKey: minor efficiency tweak
d6935ac342633a607898ca70fa186d7576b653d3 authored over 1 year ago by Juliette <[email protected]>Only retrieve the value for `php_version` once, as the value won't change during the run.
4ffc1730be293372f6d3e0b4c6999e00d9829aba authored over 1 year ago by jrfnl <[email protected]>GH Actions: special case Dependabot PRs for Coveralls
7a63da088a285cd46570baf51e2a2c1a4a327ba6 authored over 1 year ago by Juliette <[email protected]>Follow up on PR 227.
Turns out Dependabot PRs do not have access to secrets with the exception ...
5a55c4c3374c832071e786ceefcae2855ca964c2 authored over 1 year ago by jrfnl <[email protected]>Composer: update minimum PHPCSUtils version
843a9d65ad6c36fb049f55d3cc3129372e47ad98 authored over 1 year ago by Juliette <[email protected]>Ref: https://github.com/PHPCSStandards/PHPCSUtils/releases/tag/1.0.7
1462afa10e8356257c7b07588d521168d68bf6f6 authored over 1 year ago by jrfnl <[email protected]>Universal/KeywordSpacing: add some tests for unfixable errors
187da1c292882aaa079e79950400ae96bd0d8d64 authored over 1 year ago by Juliette <[email protected]>