Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/PHPCSStandards/PHPCSDevTools
Tools for PHP_CodeSniffer sniff developers
https://github.com/PHPCSStandards/PHPCSDevTools
afee8cf2b713ba0ddc86ac0184b0ba734f4810f6 authored over 2 years ago by jrfnl <[email protected]>
87bad2045876790286d32435edef6a5ba3d4ee42 authored over 2 years ago by jrfnl <[email protected]>
This predefined action has had a major release.
This is mostly just a change of the Node versio...
f071cfa8ab9f729a65ffb8b0c2e1a221cabbf01c authored over 2 years ago by jrfnl <[email protected]>No need for the `experimental` key as we can just do a comparison in the `continue-on-error` dir...
446be4050dcbb9646a93e4d80c8d1ae7fc4d5840 authored over 2 years ago by jrfnl <[email protected]>PR 73 removed the `lint` key from the quick test matrix, but this condition was not adjusted at ...
50444be8c96dcda4665baf88b99cb1e62467273c authored over 2 years ago by jrfnl <[email protected]>b45ef8c5fe6f0707eab6460658d6c92eaf16f942 authored over 2 years ago by jrfnl <[email protected]>
e058ee491141929cd693d0b71049b751bc552867 authored over 2 years ago by jrfnl <[email protected]>
a8a6fb2a2a80ea49cc977cd47154aecbb0251870 authored over 2 years ago by jrfnl <[email protected]>
613c7019ed8fe99799fa2702eb72c14ea087b8f1 authored over 2 years ago by jrfnl <[email protected]>
ef1171a5aa9f98123c35d9ec1d9d50d6832e04a4 authored over 2 years ago by jrfnl <[email protected]>
Add "static analysis" and "dev" Composer keywords
144a9568c3955260ae55a1fdd11fe4ab96e556bd authored over 2 years ago by Juliette <[email protected]>As per https://getcomposer.org/doc/04-schema.md#keywords by including "dev" and/or "static analy...
ee0a71628b79e70ea89b6a5f1576bc14669d3dd3 authored over 2 years ago by Gary Jones <[email protected]>PHPCSDebug/TokenList: visualize whitespace in PHP 7.3+ heredoc/nowdoc closers
29f6a5ecacc2375b7319d1c016f94a305dc210bb authored over 2 years ago by Juliette <[email protected]>
Since PHP 7.3, heredoc/nowdoc closers may be indented.
This indent can use either tabs or spaces...
GH Actions/XSD: various minor touchups
574f43ab7c55173ad4bbade552c08e5845f57e20 authored over 2 years ago by Juliette <[email protected]>d0a353c1164f0f9a74aa7b08bf6b3e819c076dfb authored over 2 years ago by jrfnl <[email protected]>
... as XMLLint does not handle remote URLs well.
b96ee3e5efd1ff7afb6081bdbedb390b2aad1c25 authored over 2 years ago by jrfnl <[email protected]>bcdf9a18bc1f68def817856e4e031de535df6c3e authored over 2 years ago by jrfnl <[email protected]>
... and group related tasks.
e13a8e09b47ee6449b235f64130f37bf67fe9962 authored over 2 years ago by jrfnl <[email protected]>* Introduces an XSD schema file to allow for validating PHPCS XML docs files, i.e. the `Standard...
d6641f6a15cca2a7b99a7f9af62558588eb2c67a authored over 2 years ago by Denis Žoljom <[email protected]>FeatureComplete/Config::isColorSupported(): auto-detect GitHub Actions environment as supporting...
55c0d8fa11f9241da505221c53338cad28b7bbe7 authored over 2 years ago by Juliette <[email protected]>df88ec65e23db5c19aa533608250c171f6946653 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Config: throw an exception when an invalid target path has been passed
500f960a0cfd178db8e26c59484cc47efa6e030b authored over 2 years ago by Juliette <[email protected]>6e5d6001aa3d88510f1f1a51a0c5b7c0b0f4e68e authored over 2 years ago by jrfnl <[email protected]>
PHPCSDebug/TokenList: expand and improve the tests
44862bf3b9c9a79d320cf0ce62a78e284fa00599 authored over 2 years ago by Juliette <[email protected]>... to include more code, allowing it to hit all conditions.
* Have code within parentheses - t...
71bffc82b5c4946c9c32a7830c5ff49cf092c89c authored over 2 years ago by jrfnl <[email protected]>872f7878fd6ffd89f4f929b31cef81388a4bd6a3 authored over 2 years ago by jrfnl <[email protected]>
These tests safeguard that the sniff works just as well when given a CSS or JS file.
b9b037bd9ddac67c56ba94e69ae81a09bfb77aae authored over 2 years ago by jrfnl <[email protected]>
When a token only contains new line characters, a trailing space would be included on the line.
...
PHPCSDebug/TokenList: bug fix - do not calculate token length
e8421b55ba8438348bdd2d0a3d67221d496d2a30 authored over 2 years ago by Juliette <[email protected]>The output from the `TokenList` sniff should represent the information contained within the `$to...
42ebb518ff96370f70e0d7d702accdee13979b91 authored over 2 years ago by jrfnl <[email protected]>PHPCSDebug/TokenList: always show original content when available
f012fec694a6ec6c8d74197dbf9ba52377e4dfcc authored over 2 years ago by Juliette <[email protected]>When the `tab-width` configuration variable has been set for PHPCS - either via the config, via ...
2fba3637a23517db9b3da9e383cc1c4bdf585241 authored over 2 years ago by jrfnl <[email protected]>PHPCSDebug/TokenList: visualize whitespace characters (take two)
35cc48c366206992a5a5fe1bc1bac887578289c9 authored over 2 years ago by Juliette <[email protected]>Follow up after PR 102.
Comment tokens, most notably `T_COMMENT` and `T_DOC_COMMENT_STRING` wil...
d9c30ebf86999235533fae0089baf3c1cbb87115 authored over 2 years ago by jrfnl <[email protected]>PHPCSDebug/TokenList: visualize whitespace characters
a281bf799d5f0af2a76211e6b28822a4a5cba1fd authored over 2 years ago by Juliette <[email protected]>Visualize space and tab characters within whitespace tokens.
This is primarily a change to impr...
f0c4a7bbefd93c7205ab9da701081b03c0622a9a authored over 2 years ago by jrfnl <[email protected]>Tests: add generic IOTestCase
dc8e8678c26ae55104264747067938a5ab0905df authored over 2 years ago by Juliette <[email protected]>... with a helper method to retrieve `stdout`, `stderr` and the exit code of a command line comm...
bed5cc7e59d461dddbab069e28779d24c92d4401 authored over 2 years ago by jrfnl <[email protected]>FeatureComplete: send report to STDOUT and progress/verbose output to STDERR
d42e68ac660eb4ddd392495a3db3e7c422a8a96e authored over 2 years ago by Juliette <[email protected]>Together, these will allow for separating the data streams to `STDOUT` and `STDERR` as per indus...
06ca640528c1b320feda48512b6e1ce98d22293c authored over 2 years ago by jrfnl <[email protected]>This commit implements use of the `CliWriter` class to separate the information send to the scre...
96da0271f960c5cdc101c071770e611e987e178d authored over 2 years ago by jrfnl <[email protected]>
This commit:
* Adds four custom assertion methods to the `CheckTestCase` and two helper methods....
Add autoloading for non-sniff related files
4243f8313eafad87c9624a7e75905bf42930bd1e authored over 2 years ago by Juliette <[email protected]>PHP_CodeSniffer can and will handle the autoloading of the sniff file (and associated tests) via...
ff874da7ef375b9bea8d4ad1754eb458fd66264b authored over 2 years ago by jrfnl <[email protected]>FeatureComplete: add new check for orphaned documentation and test files
9f004db317b093130fb838dca5d7b608a74b2664 authored over 2 years ago by Juliette <[email protected]>For standards which are not "feature complete" yet, i.e. do have tests, but may not have docs fo...
4bf656bde58adb2b8f0b33b4fb686eda9e06e628 authored over 2 years ago by jrfnl <[email protected]>FeatureComplete: add explicit `--no-docs` CLI argument
2465301c2cba0c80621f259629d65823b8610bde authored over 2 years ago by Juliette <[email protected]>FeatureComplete/Check: extract progress reporting to separate method
e4483119c15d73cccf6db253b917591a6b72c3f4 authored over 2 years ago by Juliette <[email protected]>* Add explicit `--no-docs` CLI option. Currently this is basically an alias for the `-q`/`--quie...
191b228559acf60e91a1e72ecb991c7a1ed93e61 authored over 2 years ago by jrfnl <[email protected]>... to allow for it to be re-usable by other checks.
Includes updating the name of the associat...
d07bd117092133cd49fe7a8b43a63597879fd576 authored over 2 years ago by jrfnl <[email protected]>FeatureComplete/Check: improve usability/readability of reporting in CLI
4d9a2227a98833dc705f8fe05d52c294b2f952e4 authored over 2 years ago by Juliette <[email protected]>
* Align the various parts of the error/warning messages for improved readability.
* Make the "ho...
Improve error/warning summary:
* Display the correct singular "error"/"warning" vs plural "error...
FeatureComplete/Check: add dedicated test for color mode
c619f0696d3297ba9d6c06237685a49f1b3f106d authored over 2 years ago by Juliette <[email protected]>FeatureComplete/Check: add dedicated test for verbose mode
49907664cac1786edc24d286997f86c98f8033a0 authored over 2 years ago by Juliette <[email protected]>FeatureComplete/Check: add dedicated test verifying the progress bar display
57552525fc8050dac355dc0c1b7289117ed0ab1c authored over 2 years ago by Juliette <[email protected]>
These tests verify that:
* When colored output is explicitly requested (or auto-detected to be s...
These tests verify that:
* In "verbose" mode, the target directories as resolved will display.
These tests verify:
* That the "--no-progress" CLI argument is handled correctly.
* That both si...
FeatureComplete/Check: add integration tests for the tooling
106ab72aaa44b73b1e14e241bf7ceac2db3213b1 authored over 2 years ago by Juliette <[email protected]>
These tests verify:
* That no errors or warnings are reported for feature complete standards.
* ...
af8a7cc5d29b880805b4bd023332332ed7489a22 authored over 2 years ago by jrfnl <[email protected]>
Feature Complete/Config: improve help texts and colorize help
1e49c15b46ac241528b8fb2d278f7e2edec53bae authored over 2 years ago by Juliette <[email protected]>Include more information about how the options are supposed to be used.
Includes updating the t...
f9d958a02b8a14b16e89b7bad8286df7189d146a authored over 2 years ago by jrfnl <[email protected]>This commit adds color highlighting to the help text output when color output is enabled via `--...
ab34257b619c3edaa00df3fae0ec6c7c40629e9b authored over 2 years ago by jrfnl <[email protected]>FeatureComplete/Config: add tolerance for extra whitespace in the command
b0f7a805c4c34a64d32434000cf58104adfd5299 authored over 2 years ago by Juliette <[email protected]>FeatureComplete/Config: add tolerance for quoted values for the "exclude" option
e3c1e31f4d6b69c0967842bffd7b52f40c609289 authored over 2 years ago by Juliette <[email protected]>Includes unit tests.
3dec601a1d4aeaa294696e4ec8b7c1dc59e25a66 authored over 2 years ago by jrfnl <[email protected]>Includes unit test.
d27bd4d39566893a132df447a9f9c830cffb09b0 authored over 2 years ago by jrfnl <[email protected]>Feature Complete: add tests for the `Config` class
c836b0ea53ed1444970057e01858398a4e2e2562 authored over 2 years ago by Juliette <[email protected]>.... as the result is too dependent on the system on which the function is being run, so this ca...
e6eff22f5ed987a262fa7390beebf739a1739ce0 authored over 2 years ago by jrfnl <[email protected]>a52d910ad2dacc3d8cf2c731ed45b099ae6c894a authored over 2 years ago by jrfnl <[email protected]>
ad5d5792354aa3aff71878a75f5d2c652e6e11ed authored over 2 years ago by jrfnl <[email protected]>
d29f27e74cd21fcf4fe5c1fc95149f001d544286 authored over 2 years ago by jrfnl <[email protected]>
9b0799c8c9c0df372de9cac893fc2c2ca86280b7 authored over 2 years ago by jrfnl <[email protected]>
**PHPUnit config**
* Add a second test suite for the "Feature Complete" tooling tests and other ...
Feature Complete: refactor
eaab70c6b50edd99ea46e32e9067c8e4215b9ff9 authored over 2 years ago by Juliette <[email protected]>... to improve testability of the code.
358c18c2b1f6bf638f54d63455cbb595b176a79d authored over 2 years ago by jrfnl <[email protected]>Instead of a hard `exit()` from within the `Check` script, let the controller exit with the retu...
e45dd9419cbc9104d8d313ac768388ee7d1cc33f authored over 2 years ago by jrfnl <[email protected]>... as the way things are set up now, the config cannot be changed from outside the class and it...
82db7393e314b4afaa78a86cf2e099a9e4242ce8 authored over 2 years ago by jrfnl <[email protected]>Instead of a hard `exit()` from within the `Config` script, let the controller exit based on the...
ba26b16aec8aebfcb305b65cc21ebcf8104ed609 authored over 2 years ago by jrfnl <[email protected]>... to improve testability of the code.
5fea874dc0a98cd771f608cf273d4793432dd645 authored over 2 years ago by jrfnl <[email protected]>
Changes in the functionality now contained in the `Config` class:
* All properties are now `priv...
85bbdbd163a1052056380e3e743f9bdea2c4ae96 authored over 2 years ago by jrfnl <[email protected]>
dacfdaf861c606892ad987b9396dc95f71a7e99c authored over 2 years ago by jrfnl <[email protected]>
GH Actions: version update for github pages action runner
30ab6dc07a7304304afe334778895af6d2fa63df authored over 2 years ago by Juliette <[email protected]>This predefined action has had a major release.
This is mostly just a change of the Node versio...
5b80be274c564518f15a0d923d1b0e430e071399 authored over 2 years ago by jrfnl <[email protected]>CheckSniffCompleteness::isComplete(): no double new line
6f80fd3f6c61969a02aaf9f92ec7050eaf7555e0 authored over 2 years ago by Juliette <[email protected]>No need for a double new line above the "success" message.
40f2dc58b7739359f74e5d9b4595a928b334a9c2 authored over 2 years ago by jrfnl <[email protected]>FeatureComplete: bug fix - wrong error message displayed in color mode for missing test cases
d10a5850fd001a9ee0dcc5a336a3a26e16b5df74 authored over 2 years ago by Juliette <[email protected]>79a17a03c90bdbcb9be3425a8858b5ac81a15e7c authored over 2 years ago by jrfnl <[email protected]>
QA/CS: various minor CS fixes
d3969712a85bbbbe33aa61773b6afeb74b3fa9aa authored over 2 years ago by Juliette <[email protected]>903f26d279146ccf84bbb51e32b218ee3fab7780 authored over 2 years ago by jrfnl <[email protected]>
GH Actions: version update for github status action runner
b0589593cc54cb3d8a45b7b539ba9b3687b1d83d authored over 2 years ago by Juliette <[email protected]>This predefined action has had a major release.
This is mostly just a change of the Node versio...
f0b7b225d09e3cfa0748bd49f1cab37ff75c5c45 authored over 2 years ago by jrfnl <[email protected]>GH Actions: various fixes
fe8dec6b0b39a5c5a08ea91c2fd6dd735abe6efc authored over 2 years ago by Juliette <[email protected]>No need for the `experimental` key as we can just do a comparison in the `continue-on-error` dir...
ec195ab224c9b811f83eb1eb96b1e896f070143f authored over 2 years ago by jrfnl <[email protected]>PR 73 removed the `lint` key from the quick test matrix, but this condition was not adjusted at ...
9df07df91988aaa5fa7e259095830f8ac5b7b673 authored over 2 years ago by jrfnl <[email protected]>Various CS/QA improvements
0f9011f4c0a6e084d28c2d1c57ccd3c73add348a authored over 2 years ago by Juliette <[email protected]>