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

FeatureComplete: bug fix - wrong error message displayed in color mode for missing test cases

afee8cf2b713ba0ddc86ac0184b0ba734f4810f6 authored over 2 years ago by jrfnl <[email protected]>
QA/CS: various minor CS fixes

87bad2045876790286d32435edef6a5ba3d4ee42 authored over 2 years ago by jrfnl <[email protected]>
GH Actions: version update for github status action runner

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]>
GH Actions: clean up/simplify the matrix

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]>
GH Actions: fix check complete not running in quick test

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]>
CS: minor tweak

b45ef8c5fe6f0707eab6460658d6c92eaf16f942 authored over 2 years ago by jrfnl <[email protected]>
QA: minor documentation fixes

e058ee491141929cd693d0b71049b751bc552867 authored over 2 years ago by jrfnl <[email protected]>
Composer: add homepage key

a8a6fb2a2a80ea49cc977cd47154aecbb0251870 authored over 2 years ago by jrfnl <[email protected]>
CHANGELOG: fix release date

613c7019ed8fe99799fa2702eb72c14ea087b8f1 authored over 2 years ago by jrfnl <[email protected]>
.gitattributes: improve readability

ef1171a5aa9f98123c35d9ec1d9d50d6832e04a4 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #111 from GaryJones/patch-1

Add "static analysis" and "dev" Composer keywords

144a9568c3955260ae55a1fdd11fe4ab96e556bd authored over 2 years ago by Juliette <[email protected]>
Add "static analysis" and "dev" Composer keywords

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]>
Merge pull request #110 from PHPCSStandards/phpcsdebug/tokenlist-visualize-whitespace-flexible-heredoc-nowdoc

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

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...

a17374f2aa5492909fe9b204521025afefee1b16 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

574f43ab7c55173ad4bbade552c08e5845f57e20 authored over 2 years ago by Juliette <[email protected]>
XSD: minor touch up

d0a353c1164f0f9a74aa7b08bf6b3e819c076dfb authored over 2 years ago by jrfnl <[email protected]>
GH Actions/CS workflow: download XSD schema before using it

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

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

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

... and group related tasks.

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...

d6641f6a15cca2a7b99a7f9af62558588eb2c67a authored over 2 years ago by Denis Žoljom <[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...

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

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

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

6e5d6001aa3d88510f1f1a51a0c5b7c0b0f4e68e authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #106 from PHPCSStandards/phpcsdebug/tokenlist-expand-improve-tests

PHPCSDebug/TokenList: expand and improve the tests

44862bf3b9c9a79d320cf0ce62a78e284fa00599 authored over 2 years ago by Juliette <[email protected]>
PHPCSDebug/TokenList: improve PHP test case file

... 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]>
PHPCSDebug/TokenList: add perfunctory test for the register() method

872f7878fd6ffd89f4f929b31cef81388a4bd6a3 authored over 2 years ago by jrfnl <[email protected]>
PHPCSDebug/TokenList: add tests for CSS and JS

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]>
PHPCSDebug/TokenList: minor tweak for testability

When a token only contains new line characters, a trailing space would be included on the line.
...

36c21f15de92e3feea718fcdd61cb90de1ff3f68 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #105 from PHPCSStandards/phpcsdebug/tokenlist-fix-dont-calculate-length

PHPCSDebug/TokenList: bug fix - do not calculate token length

e8421b55ba8438348bdd2d0a3d67221d496d2a30 authored over 2 years ago by Juliette <[email protected]>
PHPCSDebug/TokenList: bug fix - do not calculate token length

The output from the `TokenList` sniff should represent the information contained within the `$to...

42ebb518ff96370f70e0d7d702accdee13979b91 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #104 from PHPCSStandards/phpcsdebug/tokenlist-always-show-orig-content

PHPCSDebug/TokenList: always show original content when available

f012fec694a6ec6c8d74197dbf9ba52377e4dfcc authored over 2 years ago by Juliette <[email protected]>
PHPCSDebug/TokenList: always show original content when available

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]>
Merge pull request #103 from PHPCSStandards/phpcsdebug/tokenlist-visualize-whitespace-take-two

PHPCSDebug/TokenList: visualize whitespace characters (take two)

35cc48c366206992a5a5fe1bc1bac887578289c9 authored over 2 years ago by Juliette <[email protected]>
PHPCSDebug/TokenList: visualize whitespace characters (take two)

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]>
Merge pull request #102 from PHPCSStandards/phpcsdebug/tokenlist-visualize-whitespace

PHPCSDebug/TokenList: visualize whitespace characters

a281bf799d5f0af2a76211e6b28822a4a5cba1fd authored over 2 years ago by Juliette <[email protected]>
PHPCSDebug/TokenList: visualize whitespace characters

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]>
Merge pull request #101 from PHPCSStandards/feature/tests-add-generic-iotestcase

Tests: add generic IOTestCase

dc8e8678c26ae55104264747067938a5ab0905df authored over 2 years ago by Juliette <[email protected]>
Tests: add generic IOTestCase

... 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]>
Merge pull request #100 from PHPCSStandards/feature-complete/send-output-to-stderr

FeatureComplete: send report to STDOUT and progress/verbose output to STDERR

d42e68ac660eb4ddd392495a3db3e7c422a8a96e authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Utils: introduce Writer interface and CliWriter class

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]>
FeatureComplete: implement use of the CliWriter class

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]>
FeatureComplete: test more specifically for output in the correct stream

This commit:
* Adds four custom assertion methods to the `CheckTestCase` and two helper methods....

8019d4addf127798ccdb46e4203bf2d6ab15da36 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #99 from PHPCSStandards/feature/add-autoloader

Add autoloading for non-sniff related files

4243f8313eafad87c9624a7e75905bf42930bd1e authored over 2 years ago by Juliette <[email protected]>
Add autoloading for non-sniff related files

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]>
Merge pull request #98 from PHPCSStandards/feature-complete/check-add-orphaned-files-check

FeatureComplete: add new check for orphaned documentation and test files

9f004db317b093130fb838dca5d7b608a74b2664 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete: add new check for orphaned documentation and test files

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]>
Merge pull request #97 from PHPCSStandards/feature-complete/add-explicit-no-docs-cli-arg

FeatureComplete: add explicit `--no-docs` CLI argument

2465301c2cba0c80621f259629d65823b8610bde authored over 2 years ago by Juliette <[email protected]>
Merge pull request #96 from PHPCSStandards/feature-complete/check-extract-progress-reporting

FeatureComplete/Check: extract progress reporting to separate method

e4483119c15d73cccf6db253b917591a6b72c3f4 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete: add explicit `--no-docs` CLI argument

* 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]>
FeatureComplete/Check: extract progress reporting to separate method

... 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]>
Merge pull request #95 from PHPCSStandards/feature-complete/check-improve-reporting-in-cli

FeatureComplete/Check: improve usability/readability of reporting in CLI

4d9a2227a98833dc705f8fe05d52c294b2f952e4 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Check: improve individual error/warning display

* Align the various parts of the error/warning messages for improved readability.
* Make the "ho...

a6117e04a890e4c302ef795fcfc607a1743d6e52 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Check: improve error/warning summary display

Improve error/warning summary:
* Display the correct singular "error"/"warning" vs plural "error...

2ebf9a0ccb8ba25bc12b2427c8201202a09f0667 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #94 from PHPCSStandards/feature-complete/check-add-tests-for-color-mode

FeatureComplete/Check: add dedicated test for color mode

c619f0696d3297ba9d6c06237685a49f1b3f106d authored over 2 years ago by Juliette <[email protected]>
Merge pull request #93 from PHPCSStandards/feature-complete/check-add-tests-for-verbose-mode

FeatureComplete/Check: add dedicated test for verbose mode

49907664cac1786edc24d286997f86c98f8033a0 authored over 2 years ago by Juliette <[email protected]>
Merge pull request #92 from PHPCSStandards/feature-complete/check-add-tests-for-progress-reporting

FeatureComplete/Check: add dedicated test verifying the progress bar display

57552525fc8050dac355dc0c1b7289117ed0ab1c authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Check: add dedicated test for color mode

These tests verify that:
* When colored output is explicitly requested (or auto-detected to be s...

58a1c7bfa042e9127df932f962ecdf2f5529a6f8 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Check: add dedicated test for verbose mode

These tests verify that:
* In "verbose" mode, the target directories as resolved will display.

05230e2fd61ef8bddbebaf0cb629d4fff1a05526 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Check: add dedicated test verifying the progress bar display

These tests verify:
* That the "--no-progress" CLI argument is handled correctly.
* That both si...

57fc6ad27ac62e9ec55c83adc3b89ab2534d1b24 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #91 from PHPCSStandards/feature-complete/check-add-integration-tests

FeatureComplete/Check: add integration tests for the tooling

106ab72aaa44b73b1e14e241bf7ceac2db3213b1 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Check: add integration tests for the tooling

These tests verify:
* That no errors or warnings are reported for feature complete standards.
* ...

2db8a52c4f049329594bbb4b8ce8bf03c15578f6 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Check: add base CheckTestCase for integration tests

af8a7cc5d29b880805b4bd023332332ed7489a22 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #90 from PHPCSStandards/feature-complete/config-colorize-help

Feature Complete/Config: improve help texts and colorize help

1e49c15b46ac241528b8fb2d278f7e2edec53bae authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Config::getHelp(): improve help texts

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]>
FeatureComplete/Config::getHelp(): allow for color highlighted help texts

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]>
Merge pull request #89 from PHPCSStandards/feature-complete/config-parsing-allow-for-extra-whitespace

FeatureComplete/Config: add tolerance for extra whitespace in the command

b0f7a805c4c34a64d32434000cf58104adfd5299 authored over 2 years ago by Juliette <[email protected]>
Merge pull request #88 from PHPCSStandards/feature-complete/config-exclude-allow-quotes

FeatureComplete/Config: add tolerance for quoted values for the "exclude" option

e3c1e31f4d6b69c0967842bffd7b52f40c609289 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Config: add tolerance for extra whitespace in the command

Includes unit tests.

3dec601a1d4aeaa294696e4ec8b7c1dc59e25a66 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Config: add tolerance for quoted values for the "exclude" option

Includes unit test.

d27bd4d39566893a132df447a9f9c830cffb09b0 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #87 from PHPCSStandards/feature-complete/add-tests-for-config-class

Feature Complete: add tests for the `Config` class

c836b0ea53ed1444970057e01858398a4e2e2562 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Config: mark `isColorSupported()` method as untestable

.... 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]>
FeatureComplete/Config: add tests verifying correct parsing of CLI arguments

a52d910ad2dacc3d8cf2c731ed45b099ae6c894a authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Config: add test verifying the "show help" command output

ad5d5792354aa3aff71878a75f5d2c652e6e11ed authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Config: add test verifying the "show version" command output

d29f27e74cd21fcf4fe5c1fc95149f001d544286 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Config: add tests verifying the functionality of the magic methods

9b0799c8c9c0df372de9cac893fc2c2ca86280b7 authored over 2 years ago by jrfnl <[email protected]>
Feature Complete: prepare for adding tests for this tool

**PHPUnit config**
* Add a second test suite for the "Feature Complete" tooling tests and other ...

3608e61e5d41c28ecc1f4610ab9477e864815873 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #86 from PHPCSStandards/feature-complete/refactor

Feature Complete: refactor

eaab70c6b50edd99ea46e32e9067c8e4215b9ff9 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete/Config::showHelp(): refactor to `getHelp()`

... to improve testability of the code.

358c18c2b1f6bf638f54d63455cbb595b176a79d authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Check: return exit code instead of exiting

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]>
FeatureComplete/Check/Config: move setting of missing target dir to Config

... 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]>
FeatureComplete/Config: add property toggle to execute the check

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]>
FeatureComplete/Config::showVersion(): refactor to `getVersion()`

... to improve testability of the code.

5fea874dc0a98cd771f608cf273d4793432dd645 authored over 2 years ago by jrfnl <[email protected]>
FeatureComplete/Check: split parsing of configuration off to separate class

Changes in the functionality now contained in the `Config` class:
* All properties are now `priv...

f6b031f943b3c9c8bb7a82d71811dee6bdad2ca3 authored over 2 years ago by jrfnl <[email protected]>
CheckSniffCompleteness: move class to subdirectory

85bbdbd163a1052056380e3e743f9bdea2c4ae96 authored over 2 years ago by jrfnl <[email protected]>
Move FileList class to Utils directory

dacfdaf861c606892ad987b9396dc95f71a7e99c authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #85 from PHPCSStandards/feature/ghactions-website-update-action

GH Actions: version update for github pages action runner

30ab6dc07a7304304afe334778895af6d2fa63df authored over 2 years ago by Juliette <[email protected]>
GH Actions: version update for github pages action runner

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]>
Merge pull request #84 from PHPCSStandards/feature-complete/minor-tweak

CheckSniffCompleteness::isComplete(): no double new line

6f80fd3f6c61969a02aaf9f92ec7050eaf7555e0 authored over 2 years ago by Juliette <[email protected]>
CheckSniffCompleteness::isComplete(): no double new line

No need for a double new line above the "success" message.

40f2dc58b7739359f74e5d9b4595a928b334a9c2 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #83 from PHPCSStandards/feature-complete/bug-fix-wrong-error-message-in-color-mode

FeatureComplete: bug fix - wrong error message displayed in color mode for missing test cases

d10a5850fd001a9ee0dcc5a336a3a26e16b5df74 authored over 2 years ago by Juliette <[email protected]>
FeatureComplete: bug fix - wrong error message displayed in color mode for missing test cases

79a17a03c90bdbcb9be3425a8858b5ac81a15e7c authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #82 from PHPCSStandards/feature/minor-cs-fixes

QA/CS: various minor CS fixes

d3969712a85bbbbe33aa61773b6afeb74b3fa9aa authored over 2 years ago by Juliette <[email protected]>
QA/CS: various minor CS fixes

903f26d279146ccf84bbb51e32b218ee3fab7780 authored over 2 years ago by jrfnl <[email protected]>
Merge pull request #81 from PHPCSStandards/feature/ghactions-website-update-action

GH Actions: version update for github status action runner

b0589593cc54cb3d8a45b7b539ba9b3687b1d83d authored over 2 years ago by Juliette <[email protected]>
GH Actions: version update for github status action runner

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]>
Merge pull request #79 from PHPCSStandards/feature/ghactions-various-fixes

GH Actions: various fixes

fe8dec6b0b39a5c5a08ea91c2fd6dd735abe6efc authored over 2 years ago by Juliette <[email protected]>
GH Actions: clean up/simplify the matrix

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]>
GH Actions: fix check complete not running in quick test

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]>
Merge pull request #78 from PHPCSStandards/feature/minor-cs-qa-improvements

Various CS/QA improvements

0f9011f4c0a6e084d28c2d1c57ccd3c73add348a authored over 2 years ago by Juliette <[email protected]>