Ecosyste.ms: OpenCollective

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

PHP CodeSniffer

Maintains PHP_CodeSniffer, a number of external standards for PHP_CodeSniffer and tooling to make it easier to use and develop for PHP_CodeSniffer.
Collective - Host: opensource - https://opencollective.com/php_codesniffer - Code: https://github.com/PHPCSStandards

TokenNameTest: fix incorrect test cases

Turns out those were still PHPCS native tokens, not PHP native ones :joy:

github.com/PHPCSStandards/PHPCSUtils - cb43f6a84bdf72ab51721afc5dbb7fafee768d02 authored almost 3 years ago
Numbers: fix incorrect code coverage reporting

PR 293 split some code from the `getCompleteNumber()` method off into a separate `updateResult()...

github.com/PHPCSStandards/PHPCSUtils - 664b33471f5f4ddc674fd201ab672eed83e38107 authored almost 3 years ago
Merge pull request #307 from PHPCSStandards/feature/review-params-for-typedeclaration-possible

QA: add type declarations where possible

github.com/PHPCSStandards/PHPCSUtils - ef009eff7e1b3419a7f48740c08117b10dec115e authored almost 3 years ago
QA: add type declarations where possible

Includes adding a reminder in the release checklist to double check for this before a new release.

github.com/PHPCSStandards/PHPCSUtils - 2a708f975f30a8139d028dea40dbcfe9d969801f authored almost 3 years ago
Merge pull request #306 from PHPCSStandards/feature/tests-improve-skip-info

Tests: improve skip info

github.com/PHPCSStandards/PHPCSUtils - 9255366028d5a9b70149e461334d26f989c6d38d authored almost 3 years ago
IsUnaryPlusMinusTest::testIsUnaryPlusMinus(): improve skip message

github.com/PHPCSStandards/PHPCSUtils - bdfdeabc8d7f0663a7add4c081c243c38dec0861 authored almost 3 years ago
GetCompleteNumberTest::testUnsupportedPhpcsException(): improve skip message

github.com/PHPCSStandards/PHPCSUtils - 04a793051eb9816d1864cce11f62df6493e4a395 authored almost 3 years ago
PHPUnit config: turn on verbosity

... to allow for seeing which tests are being skipped in CI.

github.com/PHPCSStandards/PHPCSUtils - e7d150ff1196be2e84ee6979d38f7e339751aa10 authored almost 3 years ago
Merge pull request #305 from PHPCSStandards/feature/code-coverage-with-phpunit-gte-9.3.0

CI: run code coverage on PHPUnit 9.3+

github.com/PHPCSStandards/PHPCSUtils - e50c6be8c0c88f310a35439ee944c0ade75bfb65 authored almost 3 years ago
CI: run code coverage on PHPUnit 9.3+

As of PHPUnit 9.3, PHPUnit started using PHP-Parser as a basis to calculate code coverage. Until...

github.com/PHPCSStandards/PHPCSUtils - 18be334eefc4fd3638739e40b54e849ecc3bfb96 authored almost 3 years ago
Merge pull request #304 from PHPCSStandards/feature/new-tokenhelper-class

New `Tokens\TokenHelper` class

github.com/PHPCSStandards/PHPCSUtils - 7135466dd1b532a3a314b0de2319bbe3666c093c authored almost 3 years ago
Implement use of the new `TokenHelper::tokenExists()` method

... in all the appropriate places.

github.com/PHPCSStandards/PHPCSUtils - c315c8916b6970cee797c5ebef810555dc2dec53 authored almost 3 years ago
:sparkles: New Tokens\TokenHelper class

As of PHPUnit 9.3, PHPUnit started using PHP-Parser as a basis to calculate code coverage.

The ...

github.com/PHPCSStandards/PHPCSUtils - e45947e75375bbda3d7b322634e2a5772ce76384 authored almost 3 years ago
Merge pull request #303 from PHPCSStandards/feature/phpunit-config-show-codecov-summary

PHPUnit config: show code coverage summary

github.com/PHPCSStandards/PHPCSUtils - 30758497a17e2c83ff583749333db87b75afbd66 authored almost 3 years ago
PHPUnit config: show code coverage summary

... at the end of test runs run with code coverage.

github.com/PHPCSStandards/PHPCSUtils - 328d850f28fa313b6ce3d56509b603f81257071f authored almost 3 years ago
Merge pull request #110 from PHPCSStandards/universal/new-foreachuniqueassignments-sniff

New `Universal.CodeAnalysis.ForeachUniqueAssignment` sniff

github.com/PHPCSStandards/PHPCSExtra - c2c7498be85e7b009ce03388bfb62d4eb5200311 authored almost 3 years ago
:sparkles: New `Universal.CodeAnalysis.ForeachUniqueAssignment` sniff

Inspired by a tweet from dseguy, this new sniff will detect foreach control structures which use...

github.com/PHPCSStandards/PHPCSExtra - f72e8ea108334b95444c9c5eea8f3c332a764c6b authored almost 3 years ago
Test bootstrap: tweak the version determination regex

Apparently, Composer 2.3.0 dropped the word `version` from the `--version` output ;-)

Output on...

github.com/PHPCSStandards/composer-installer - 9b9e823ca54459edbcfd394d528df0aabee2ff09 authored almost 3 years ago
Merge pull request #108 from PHPCSStandards/universal/new-disallow-final-class-sniff

New `Universal.Classes.DisallowFinalClass` sniff

github.com/PHPCSStandards/PHPCSExtra - ffc27fb9e6826af4d02bcb99ed438870fb346b90 authored almost 3 years ago
Merge pull request #109 from PHPCSStandards/universal/new-require-final-class-sniff

New `Universal.Classes.RequireFinalClass` sniff

github.com/PHPCSStandards/PHPCSExtra - 8fa80c4d0d73e16ae2350eab549b04b7ccab7d9a authored almost 3 years ago
:sparkles: New `Universal.Classes.RequireFinalClass` sniff

New sniff to require all non-abstract classes to be declared `final`.

:warning: The included fi...

github.com/PHPCSStandards/PHPCSExtra - a3aa7cd19c37bba3e1772097c868b0fd8696fde4 authored almost 3 years ago
:sparkles: New `Universal.Classes.DisallowFinalClass` sniff

New sniff to disallow classes being declared `final`.

Includes fixer.
Includes unit tests.
Incl...

github.com/PHPCSStandards/PHPCSExtra - 619906c5d9d8dd0904f27e270a9d5edae20638f9 authored almost 3 years ago
Merge pull request #302 from PHPCSStandards/feature/tests-add-extra-is-short-array-list-test

Tests: add new ` IsShortArrayOrListTokenizerBC4Test`

github.com/PHPCSStandards/PHPCSUtils - ed5f4be1af76654ab56272d302bba492f62ee11c authored almost 3 years ago
Tests: add new ` IsShortArrayOrListTokenizerBC4Test`

... to further safeguard against an upstream tokenizer bug.

Related to 271.

github.com/PHPCSStandards/PHPCSUtils - 11df3b95744da219c77f5bc518f0101aaa353b66 authored almost 3 years ago
Merge pull request #301 from PHPCSStandards/feature/markdown-files-move-link-out-of-text

README/Changelog: improve maintainability and update an FAQ entry

github.com/PHPCSStandards/PHPCSUtils - 3cbe884700e2a9d3ded4911108f17eb586e994e4 authored almost 3 years ago
Changelog: improve maintainability and source readability

... by moving links to link lists under each release.

github.com/PHPCSStandards/PHPCSUtils - 9b9fda5e0cf7c2a15405a68cd3f0890ad8dbaa9f authored almost 3 years ago
README: move repetitive links to bottom of file

github.com/PHPCSStandards/PHPCSUtils - 7a0e60171aaa21e608628f74ee645ad3a9bddcd2 authored almost 3 years ago
README: update an FAQ entry

... for which the text had become dated.

github.com/PHPCSStandards/PHPCSUtils - e4cb70a89f556f6f4bb2f0ca7e7fb3733832b396 authored almost 3 years ago
Merge pull request #300 from PHPCSStandards/feature/ghactions-no-no-interaction

GH Actions: remove `--no-interaction` from Composer commands

github.com/PHPCSStandards/PHPCSUtils - e38da94723982caec6e1a6fb5884f9236d91daac authored almost 3 years ago
GH Actions: remove `--no-interaction` from Composer commands

... as since `setup-php` version `2.17.0`, this is no longer needed as this is now the default v...

github.com/PHPCSStandards/PHPCSUtils - 4648a04e03341b595a41465d8ea83afc7851755b authored almost 3 years ago
Merge pull request #299 from PHPCSStandards/dependabot/composer/php-parallel-lint/php-console-highlighter-tw-0.5or-tw-1.0

Composer: update dependencies

github.com/PHPCSStandards/PHPCSUtils - 8024e18eede4d648d418b061d31c0b5cd775993b authored almost 3 years ago
Composer: update dependencies

PHP Parallel Lint supports both PHP Console Highlighter < 1.0 and 1.0+ as of PHP Parallel Lint 1...

github.com/PHPCSStandards/PHPCSUtils - 79317fc13fab334808acb352bb727074ca9229bf authored almost 3 years ago
Merge pull request #298 from PHPCSStandards/feature/enable-and-configure-dependabot

Add dependabot configuration file

github.com/PHPCSStandards/PHPCSUtils - ab305f33a58032e1531e46853c877c1d175f73e7 authored almost 3 years ago
Add dependabot configuration file

This automatically enabled Dependabot to:
* Submit pull requests for security updates and versio...

github.com/PHPCSStandards/PHPCSUtils - d1797ac62d3ba8bd4d8a4a32a616c8c878bfe56b authored almost 3 years ago
Merge pull request #297 from PHPCSStandards/feature/gettokenasstring-minor-tweaks

GetTokensAsString: minor tweaks

github.com/PHPCSStandards/PHPCSUtils - bf528ab64299ffa5e6792ef4bedbab7cb1a747f1 authored almost 3 years ago
GetTokensAsString: minor tweaks

* Reversed the alias `normal()` vs the real method `tabReplaced()` as the latter is a more descr...

github.com/PHPCSStandards/PHPCSUtils - 7a01a4591dd5c5ee6e329ea2204a58c890b7e33c authored almost 3 years ago
Merge pull request #107 from PHPCSStandards/universal/noreservedkeywordparams-more-specific-warning-ptr

NoReservedKeywordParameterNames: more specific error indicator

github.com/PHPCSStandards/PHPCSExtra - dbbcabc955ad99b931d44cffe0c6c8837050c421 authored almost 3 years ago
NoReservedKeywordParameterNames: more specific error indicator

The warning for reserved keywords used in parameter names would previously be thrown on the line...

github.com/PHPCSStandards/PHPCSExtra - 2fa8e1a1ae3ef582c03462a57c86acee1b051001 authored almost 3 years ago
Merge pull request #106 from PHPCSStandards/universal/noreservedkeywordsinparams-update-for-php-8.1

NoReservedKeywordParameterNames: update for new keywords in PHP 8.1

github.com/PHPCSStandards/PHPCSExtra - be4e5e2f86aecc7e2f1a2dd4db243224f755c0dd authored almost 3 years ago
NoReservedKeywordParameterNames: update for new keywords in PHP 8.1

github.com/PHPCSStandards/PHPCSExtra - 602bf51556f86385237fab5f5a821dbc9231651b authored almost 3 years ago
Merge pull request #105 from PHPCSStandards/feature/add-issue-templates

Add issue templates

github.com/PHPCSStandards/PHPCSExtra - 36d99c5695ccfe292be8cef7c9b1ae5ee8760d73 authored almost 3 years ago
Add issue templates

github.com/PHPCSStandards/PHPCSExtra - 7b0eee0a8bc82f1c973b914be0e3939f6a20ac01 authored almost 3 years ago
Merge pull request #104 from PHPCSStandards/feature/ghactions-fix-xmllint

GH Actions/CS: fix build failure

github.com/PHPCSStandards/PHPCSExtra - 442d0036232d84c36220ba74d94def6189c72edb authored almost 3 years ago
Merge pull request #296 from PHPCSStandards/feature/ghactions-fix-xmllint

GH Actions/CS: fix build failure

github.com/PHPCSStandards/PHPCSUtils - b880f5dc9b1ef1f826da7daa3e1a4380c6202ad3 authored almost 3 years ago
Merge pull request #66 from PHPCSStandards/feature/ghactions-fix-xmllint

GH Actions/CS: fix build failure

github.com/PHPCSStandards/PHPCSDevTools - ff9a5c6032b450ef01b8b454f1febcc28c0fa921 authored almost 3 years ago
Merge pull request #25 from PHPCSStandards/feature/ghactions-fix-xmllint

GH Actions/CS: fix build failure

github.com/PHPCSStandards/PHPCSDevCS - 263987e5bf150727ac1d10b249bc0fe9fce6e902 authored almost 3 years ago
GH Actions/CS: fix build failure

Fix failing installation of the xmllint tooling.

github.com/PHPCSStandards/PHPCSExtra - da5c11749545521b751a45071c3bff86e162b42b authored almost 3 years ago
GH Actions/CS: fix build failure

Fix failing installation of the xmllint tooling.

github.com/PHPCSStandards/PHPCSUtils - 1fd2add916530b2ca3eec41a7a6b7c8112e03fd0 authored almost 3 years ago
GH Actions/CS: fix build failure

Fix failing installation of the xmllint tooling.

github.com/PHPCSStandards/PHPCSDevTools - a7e8fc016777f559c7ed6a23cf5ac372237880b3 authored almost 3 years ago
GH Actions/CS: fix build failure

Fix failing installation of the xmllint tooling.

github.com/PHPCSStandards/PHPCSDevCS - 55d0761f6529120c090fc5a336228cfc203b8581 authored almost 3 years ago
Merge pull request #293 from PHPCSStandards/php-8.1/numbers-add-support-for-explicit-octal-notation

PHP 8.1 | Numbers: add support for explicit octal notation

github.com/PHPCSStandards/PHPCSUtils - a6fb6616f7e8ea353a9a4f19c620eadc1b7899eb authored almost 3 years ago
GH Actions: add builds against Composer 2.2 for PHP 7.2 - 8.x

Composer 2.3 drops support for PHP < 7.2, so for PHP 5.4 to 7.1, `v2` will install Composer 2.2,...

github.com/PHPCSStandards/composer-installer - fc4e33e6d6867d6d5b993cd65a3c08926175eb76 authored almost 3 years ago
Merge pull request #295 from PHPCSStandards/feature/revert-temporarily-ignore-an-upstream-bug

GetParametersNamedTest: revert skipping of a test case

github.com/PHPCSStandards/PHPCSUtils - 16281f5099421e56cb0c31649701a99dd0e32f4f authored almost 3 years ago
GetParametersNamedTest: revert skipping of a test case

The bug fix for the upstream bug - squizlabs/PHP_CodeSniffer 3546 - has been merged, so the test...

github.com/PHPCSStandards/PHPCSUtils - 6c560f6607d195320539c510c3e76cb24ca0bb9d authored almost 3 years ago
Tests: add new `PreexistingPHPCSInstalledPathsConfigTest`

This new test class tests that the plugin handles a pre-existing PHPCS configuration file, which...

github.com/PHPCSStandards/composer-installer - 11dd0c9fce7253dfdd7b7caacf289f92358053bb authored almost 3 years ago
Plugin: add new `getPhpcsCommand()` method (bug fix)

PR 80 in response to bug 79 fixed the issue of the command to set the installed paths failing wh...

github.com/PHPCSStandards/composer-installer - c01bd6f79a78a4819ec0a44f5d38c38d829bc629 authored almost 3 years ago
RegisterExternalStandardsTest: stabilize test for Composer v1 on Windows with PHP 5.5

Looks like the build for one of the new PRs is failing on the Composer v1 / Windows / PHP 5.5 bu...

github.com/PHPCSStandards/composer-installer - ccd127f5676213d57ba5fd29fc181b6a2c5972b0 authored almost 3 years ago
Merge pull request #21 from PHPCSStandards/feature/ghactions-update-various-actions

GH Actions: version update for various predefined actions

github.com/PHPCSStandards/phpcs-docs - 8ac118184eb38a13f5c352ad4bd08a595fd4b01f authored almost 3 years ago
Merge pull request #294 from PHPCSStandards/feature/ghactions-update-various-actions

GH Actions: version update for various predefined actions

github.com/PHPCSStandards/PHPCSUtils - 390432cd3ea05f2eef3dedad0f2e1d3f9d577217 authored almost 3 years ago
Merge pull request #103 from PHPCSStandards/feature/ghactions-update-various-actions

GH Actions: version update for various predefined actions

github.com/PHPCSStandards/PHPCSExtra - f804e06b949de865ea8970dd99a7ff71593a6835 authored almost 3 years ago
Merge pull request #65 from PHPCSStandards/feature/ghactions-update-various-actions

GH Actions: version update for various predefined actions

github.com/PHPCSStandards/PHPCSDevTools - 3722b8fa18c43599eef97ee49de049adb4f3795d authored almost 3 years ago
Merge pull request #24 from PHPCSStandards/feature/readme-fix-badges-take-two

README: fix another badge

github.com/PHPCSStandards/PHPCSDevCS - d35e5f6aecc8f182ab2934a933a9c066457a1ab9 authored almost 3 years ago
README: fix another badge

github.com/PHPCSStandards/PHPCSDevCS - 694c06e302d2190f72bffe87d80582c4ea00ce58 authored almost 3 years ago
Merge pull request #23 from PHPCSStandards/feature/readme-fix-badges

README: fix default branch name references

github.com/PHPCSStandards/PHPCSDevCS - dd040f06ac664a5af1a6b8592b5c318cfac1023a authored almost 3 years ago
README: fix default branch name references

github.com/PHPCSStandards/PHPCSDevCS - 7e56bbab6e2056abe9eaa63a94f666539915d665 authored almost 3 years ago
Merge pull request #22 from PHPCSStandards/feature/ghactions-update-various-actions

GH Actions: version update for various predefined actions

github.com/PHPCSStandards/PHPCSDevCS - c24a26242cc8f7187690ff73d1fec2653d1b4823 authored almost 3 years ago
GH Actions: version update for various predefined actions

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

github.com/PHPCSStandards/PHPCSUtils - 5c307e90f5d68d3300857b97f205a3c3f5d36f3a authored almost 3 years ago
GH Actions: version update for various predefined actions

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

github.com/PHPCSStandards/PHPCSExtra - 670bc39d120c92e000e76a1f34e09bcf38e0fb15 authored almost 3 years ago
GH Actions: version update for various predefined actions

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

github.com/PHPCSStandards/phpcs-docs - d4ae06b4ed9ee89e6629bd13a46a16deb33c6ae1 authored almost 3 years ago
GH Actions: version update for various predefined actions

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

github.com/PHPCSStandards/PHPCSDevTools - 8886b2a7520b9f51afcbeaad4af369fd8e93fd2f authored almost 3 years ago
GH Actions: version update for various predefined actions

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

github.com/PHPCSStandards/PHPCSDevCS - 738ff4ce98b913a39cd9fd6798536068119f68de authored almost 3 years ago
GH Actions: version update for various predefined actions

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

github.com/PHPCSStandards/composer-installer - ddcd113b42eddd0044f140afaecce7da3ff64abc authored almost 3 years ago
Tests: add new `PlayNiceWithScriptsTest`

This new test class tests that the plugin does not block other post install/update scripts from ...

github.com/PHPCSStandards/composer-installer - 57a52a553a39645484948a43b3de13f29909ec1a authored almost 3 years ago
Tests: add new `InvalidPackagesTest`

This new test class tests that the plugin does not act on Composer packages which are not consid...

github.com/PHPCSStandards/composer-installer - 05f83f4cf134921348b79212d40b132a4a49f3cb authored almost 3 years ago
Tests: add new `PreexistingPHPCSConfigTest`

This new test class tests that the plugin handles a pre-existing PHPCS configuration file correc...

github.com/PHPCSStandards/composer-installer - 48f5e0597acc1c90531d304e1b0fda2092227a8a authored almost 3 years ago
Merge pull request #165 from PHPCSStandards/feature/registerexternalstnds-add-new-tests

Feature/registerexternalstnds add new tests

github.com/PHPCSStandards/composer-installer - 56d537d935e72713de391b4b5511ae098a491b92 authored almost 3 years ago
Merge pull request #164 from PHPCSStandards/feature/tests-retry-composer-install-on-failure

TestCase::executeCliCommand(): retry Composer commands on a particular exception

github.com/PHPCSStandards/composer-installer - 31b67dcffe17b97ebe95f79313dcb509259e6cf8 authored almost 3 years ago
Merge pull request #163 from PHPCSStandards/feature/ghactions-test-against-composer-snapshot

GH Actions: run integration tests against Composer snapshot

github.com/PHPCSStandards/composer-installer - 4d7e0dbff938c7c07af0b2287c2e8e17785b9a5a authored almost 3 years ago
Merge pull request #162 from PHPCSStandards/feature/baselinetest-minor-tweak

BaseLineTest: stabilize the message checks

github.com/PHPCSStandards/composer-installer - 94103348b3a8af53358c7633193bf7a241d203a5 authored almost 3 years ago
Merge pull request #161 from PHPCSStandards/feature/update-refs-follow-up

PHPCSVersions: update URL references

github.com/PHPCSStandards/composer-installer - 99dfefe5215b8f4132630c34891911ac5f543f0e authored almost 3 years ago
RegisterExternalStandardsTest: add test registering standard with ruleset in nested dir

* As the behaviour shouldn't be different between Composer local/global, the test is only run ag...

github.com/PHPCSStandards/composer-installer - 3b87865b0044de9c89f420be5ec1732922c0b5f4 authored almost 3 years ago
RegisterExternalStandardsTest: add test registering one standard with multiple rulesets

* As the behaviour shouldn't be different between Composer local/global, the test is only run ag...

github.com/PHPCSStandards/composer-installer - d7ea8aee268256bdf1d0a80cfe92c0113bdd50c6 authored almost 3 years ago
TestCase: introduce new `configShowToPathsArray()` method

... as a helper to allow for comparing expected and actual registered paths from `--config-show`.

github.com/PHPCSStandards/composer-installer - 92e2535104f873c5bbb0f412bf2192c381c502f1 authored almost 3 years ago
TestCase::executeCliCommand(): retry Composer commands on a particular exception

... as otherwise a complete build may fail, while the failure is not related to an actual test f...

github.com/PHPCSStandards/composer-installer - 5329056ac945aa3e1add631af2eb21ae1094f42f authored almost 3 years ago
GH Actions: run integration tests against Composer snapshot

... for a limited set of builds to get early warning of upcoming changes we need to be aware of....

github.com/PHPCSStandards/composer-installer - d2c956aabca59b0c24f37c151134679be4fe5653 authored almost 3 years ago
BaseLineTest: stabilize the message checks

... by using the constant instead of the actual content of the message.

github.com/PHPCSStandards/composer-installer - ce49dbd72e930472eb6aeab230ed0d222cea7ea1 authored almost 3 years ago
PHPCSVersions: update URL references

... after 146 / 158.

github.com/PHPCSStandards/composer-installer - 6e668a3de3d3ba128d087534f9f7ca8a14b28a39 authored almost 3 years ago
Merge pull request #153 from PHPCSStandards/feature/add-initial-integration-tests

Add initial integration test setup and first few tests

github.com/PHPCSStandards/composer-installer - 8ab9bb58b13045f5e64ebe9ba13d8701c416dcf3 authored almost 3 years ago
Tests: processed review feedback

github.com/PHPCSStandards/composer-installer - 97ba038345c7666a01781874b69358a8101ab060 authored almost 3 years ago
RegisterExternalStandardsTest: simplify check whether PHPCS can run with the standard

To check whether PHPCS can run with the standard, previously, a scan on a simple file was done, ...

github.com/PHPCSStandards/composer-installer - f8d256fd8040a47a2e862a9f976c6d0851a7ff29 authored almost 3 years ago
TestCase: add `willPluginOutputShow()` method

In very select circumstances (PHP 5.5 with Composer 1.x on Windows) and sometimes even only with...

github.com/PHPCSStandards/composer-installer - d4f64b822a76e1aac325f18ac160b9daac01ff49 authored almost 3 years ago
Tests: set up a fake PHPCS standard as a fixture and create an artifact of it

The tests in the `RegisterExternalStandardsTest` class contain quite some work-arounds to handle...

github.com/PHPCSStandards/composer-installer - 4d1d92cbb288d6adb9e3c55dca5712550d3c08bc authored almost 3 years ago
Tests: move test with external standard from CI to test class

This moves the test which was being run via GH Actions to a test class in the integration test s...

github.com/PHPCSStandards/composer-installer - cdb03cd51b3004a9bbe179ac415d5722f6f85e0e authored almost 3 years ago
BaseLineTest: selectively skip the tests

... in a very specific combination of circumstances - Windows + Composer 1.x + PHP 5.5 + PHPCS `...

github.com/PHPCSStandards/composer-installer - 8cf335aa1823a90b2cf5507e44e3818106af21c5 authored almost 3 years ago
Tests: add initial baseline test

These tests verify:
- That the plugin can be installed and functions correctly with the full ran...

github.com/PHPCSStandards/composer-installer - eaa99e4dce9b33e63632ace958ebfbfc5cc8fe11 authored almost 3 years ago
RegisterExternalStandardsTest: switch out PHPCompatibility for the test fixture

This replaces the use of the PHPCompatibility standard in the `RegisterExternalStandardsTest` te...

github.com/PHPCSStandards/composer-installer - 12b890d4bb565dd3bb27cdffc468259c467941fa authored almost 3 years ago
TestCase: add helper methods to run CLI commands and custom assertions

This commit adds six additional methods to the base `TestCase` class:
* `executeCliCommand()`: a...

github.com/PHPCSStandards/composer-installer - 83ca52a14f14d34950029babc82f27ab14a738fe authored almost 3 years ago
TestCase: add helper methods for setup/teardown

As most tests will need to run a `composer install`, tests should be run in separate, temporary ...

github.com/PHPCSStandards/composer-installer - 8a644c0c3158154790c3c4e92bae574c8ceb5ecc authored almost 3 years ago
Tests: add TestListener to log and display CLI output for failing tests

While not necessarily the most pretty solution (output is displayed in the middle of the progres...

github.com/PHPCSStandards/composer-installer - 74058e424445d2d700ba455cafec2c028d10d788 authored almost 3 years ago
Tests: create zip package artifact for the current plugin code

In normal circumstances, a `composer install` will download a version of the plugin from Packagi...

github.com/PHPCSStandards/composer-installer - 80f6caf6ebf5d5bec3add80d72505f0d53f24d0c authored almost 3 years ago