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

BCTokens: polyfill the tokenName() method

This PHPCS method was introduced in PHPCS 3.0.0.

Includes unit tests.

Co-authored-by: Greg She...

github.com/PHPCSStandards/PHPCSUtils - 183274ce4ffdd62fa912af6646ee66fbf402fcf7 authored over 3 years ago
UtilityMethodTestCase::getTargetToken(): add option to throw an exception instead of failing the test

By default, if the target token cannot be found, the `UtilityMethodTestCase::getTargetToken()` m...

github.com/PHPCSStandards/PHPCSUtils - ffaa3777597625bf73697aa2daf2e159fbce8515 authored over 3 years ago
Merge pull request #246 from PHPCSStandards/operators/istypeunion-additional-tests

Operators::isTypeUnion() + BCFile/FunctionDeclarations::get[Method]Parameters(): add some additi...

github.com/PHPCSStandards/PHPCSUtils - bf8c4d2f854422895c7b925a31e6ad5646e8bd4a authored over 3 years ago
Merge pull request #245 from PHPCSStandards/feature/ghactions-tweaks

GH Actions: various tweaks

github.com/PHPCSStandards/PHPCSUtils - 2622cbdb90dc74db4d8d0e5526f3f7887b9b3a37 authored over 3 years ago
BCFile/FunctionDeclarations::get[Method]Parameters(): add some additional tests

Related to upstream issue squizlabs/PHP_CodeSniffer 3267 / PR squizlabs/PHP_CodeSniffer 3268

github.com/PHPCSStandards/PHPCSUtils - 104ec788204025f03a51d4a9e7ce42c88d0a9247 authored over 3 years ago
Operators::isTypeUnion(): add some additional tests

Related to upstream issue squizlabs/PHP_CodeSniffer 3267 / PR squizlabs/PHP_CodeSniffer 3268

github.com/PHPCSStandards/PHPCSUtils - 3dce94e3f4cbe180b7d4747a753c193001bba3f1 authored over 3 years ago
GH Actions: allow for manually triggering a workflow

Triggering a workflow for a branch manually is not supported by default in GH Actions, but has t...

github.com/PHPCSStandards/PHPCSUtils - 738450ae1fa282d75b679907d641b56703ae514e authored over 3 years ago
GH Actions: report CS violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

github.com/PHPCSStandards/PHPCSUtils - fb12997e72a962512e85a0a269cdb36a0c51de3d authored over 3 years ago
GH Actions: don't ignore markdown-only changes

... on pull requests as it doesn't play nice with required statuses.

github.com/PHPCSStandards/PHPCSUtils - c1d4e4f7536d658ad68a81b179cbd86322984fe4 authored over 3 years ago
GH Actions: report linting violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

github.com/PHPCSStandards/PHPCSUtils - 9961e024e1f039e38db6619c0920011f9a5f9c15 authored over 3 years ago
Merge pull request #247 from PHPCSStandards/feature/BCTokens-sync-with-phpcs-match

BCTokens: add `scopeOpeners()` method and update `parenthesisOpeners()`

github.com/PHPCSStandards/PHPCSUtils - aecf13b37a8ae2d9d4303cb7c7dedb1be68e6378 authored over 3 years ago
BCTokens: add `scopeOpeners()` method and update `parenthesisOpeners()`

.. to account for the PHP 8.0 `match` keyword token `T_MATCH`.

These were added to PHPCS as par...

github.com/PHPCSStandards/PHPCSUtils - 354b582a644d289c915fd269e23f5caab397f902 authored over 3 years ago
Merge pull request #90 from PHPCSStandards/feature/disallowalternativecontrolstructures-bugfix

Universal/DisallowAlternativeSyntax: bug fix

github.com/PHPCSStandards/PHPCSExtra - 0b4a61d1334740f3574b4bc988b36a2421342d20 authored over 3 years ago
Universal/DisallowAlternativeSyntax: bug fix

When the `allowWithInlineHTML` property was set to `true`, the sniff would always bow out, indep...

github.com/PHPCSStandards/PHPCSExtra - f3cf60f4288f9a1275003d56ab2d4d2f9a8f6b42 authored over 3 years ago
Merge pull request #89 from PHPCSStandards/universal/new-onestatementinshortechotag-sniff

New `Universal.PHP.OneStatementInShortEchoTag` sniff

github.com/PHPCSStandards/PHPCSExtra - 3ac226b4d1b495a3d9cfaed6fb432bc645c804a8 authored almost 4 years ago
:sparkles: New `Universal.PHP.OneStatementInShortEchoTag` sniff

Sniff to disallow short open echo tags `<?=` containing more than one PHP statement.

When using...

github.com/PHPCSStandards/PHPCSExtra - aa57e2c4d7682c492de4b0dd1e50f141a385e752 authored almost 4 years ago
Merge pull request #88 from PHPCSStandards/feature/ghactions-disable-testing-against-phpcs-4.x

GH Actions: don't test against PHPCS 4.x (yet)

github.com/PHPCSStandards/PHPCSExtra - 8cd25e5ae580443525e00906342cc00574d47c58 authored almost 4 years ago
GH Actions: don't test against PHPCS 4.x (yet)

As it looks like PHPCS 4.x is still quite a while away (2022 at the earliest), let's stop testin...

github.com/PHPCSStandards/PHPCSExtra - b0ae59f6a41744f9c32c95b6230dceb170570184 authored almost 4 years ago
Merge pull request #15 from PHPCSStandards/exclude-internal

Exclude {@internal} comments from description

github.com/PHPCSStandards/phpcs-docs - 511efeeffddcb8a0c601a047f30fd65b1423ca18 authored almost 4 years ago
Exclude {@internal} comments from description

github.com/PHPCSStandards/phpcs-docs - a9daa4a8eb699e50da586307791dfab95731a098 authored almost 4 years ago
Merge pull request #10 from PHPCSStandards/feature/add-jekyllpagegenerator

Add JekyllPageGenerator

github.com/PHPCSStandards/phpcs-docs - 5bc3e88d4addb4a3962e7d7c47b3e86def26b2cc authored almost 4 years ago
Merge pull request #9 from PHPCSStandards/feature/further-slash-normalization

More slash normalization

github.com/PHPCSStandards/phpcs-docs - 4ff633261c98d227b62bea6d79a99fac86352063 authored almost 4 years ago
Merge branch 'main' into feature/further-slash-normalization

github.com/PHPCSStandards/phpcs-docs - 3933e7cd6131e390b82769bb72be12eb85e7913d authored almost 4 years ago
Merge pull request #8 from PHPCSStandards/feature/minor-regex-tweak

ViolationParser/FilesystemSniffFinder: minor regex simplifications

github.com/PHPCSStandards/phpcs-docs - b25ee487a7483059d4aeed6b284e5aa0f04a732c authored almost 4 years ago
Merge pull request #7 from PHPCSStandards/feature/use-backticks-for-public-properties

MarkdownGenerator: present property name as code

github.com/PHPCSStandards/phpcs-docs - 61e8c275372ad373d34dc8e5c361035f12ec1f97 authored almost 4 years ago
Add JekyllPageGenerator

Jekyll is the underlying technology used for GitHub Pages. Jekyll parses markdown and liquid fil...

github.com/PHPCSStandards/phpcs-docs - e76e70c2ea485084361e7c1efc31ba21cd85f97e authored almost 4 years ago
Sniff: add getter for the standard, category and sniff name

Includes tests.

github.com/PHPCSStandards/phpcs-docs - 466e040265fb572cb584322621b77cb7b034596b authored almost 4 years ago
ViolationParser: implement use of Functions::normalizeSlashes()

Improves cross-platform compatibility of the code.

With this additional change, the tests will ...

github.com/PHPCSStandards/phpcs-docs - 76a7d71baf96523552b2b370a2353bb554b30bd3 authored almost 4 years ago
Move normalizeSlashes() to Util\Functions class

Follow up on 5

When trying to run the tests on Windows, I ran into more issues with mixed slash...

github.com/PHPCSStandards/phpcs-docs - aaeefd8f7075902a89cfa2d3b01c44c21e6f939a authored almost 4 years ago
ViolationParser/FilesystemSniffFinder: minor regex simplifications

Similar to 6

github.com/PHPCSStandards/phpcs-docs - 8a4db0354150428043377deb6251295f63dfa2dd authored almost 4 years ago
MarkdownGenerator: present property name as code

Small change to show the name of a public properties as inline code instead of as "normal" text....

github.com/PHPCSStandards/phpcs-docs - adc1b64e8aa4c3ff143deb22c9e05d07298a567e authored almost 4 years ago
Merge pull request #6 from PHPCSStandards/feature/minor-regex-tweak

SniffParser: minor regex simplification

github.com/PHPCSStandards/phpcs-docs - 806997b53301bfc8b7955b0026ced48c748b82b3 authored almost 4 years ago
Merge pull request #5 from PHPCSStandards/feature/4-add-slash-normalization

SniffParser: add slash normalization

github.com/PHPCSStandards/phpcs-docs - e96d0d0c671b5967144064733ee5960c1b4a4387 authored almost 4 years ago
SniffParser: add slash normalization

Fixes #4

Includes tests.

github.com/PHPCSStandards/phpcs-docs - a041ff1328be4f8a7fba4f1e7fdb0d5d50fd25a4 authored almost 4 years ago
SniffParser: minor regex simplification

github.com/PHPCSStandards/phpcs-docs - 0e91a437cb6154573ac0f6c284cda3df5e0990d3 authored almost 4 years ago
Merge pull request #130 from paras-malhotra/master

Replace deprecated Sensiolabs security checker

github.com/PHPCSStandards/composer-installer - c960cf4629fab7155caca18c038ca7257b7595e3 authored almost 4 years ago
Merge pull request #86 from PHPCSStandards/feature/ghactions-test-on-php-8.1

GH Actions: get the tests running on PHP 8.1 (nightly) and more

github.com/PHPCSStandards/PHPCSExtra - 480269c2ed8fc4e48700027f891aaeaad89dbb05 authored almost 4 years ago
GH Actions: only report linting violations on high/low PHP

No need to see the same errors 10 times. Twice is enough ;-)

github.com/PHPCSStandards/PHPCSExtra - 5cf29cb4efc685d9433a825c8d9bb5caf85c5bf5 authored almost 4 years ago
GH Actions: fix downloading package from source

The test run against PHPCS 4.x needs to download from `source` instead of Packagist to ensure th...

github.com/PHPCSStandards/PHPCSExtra - 5ba7fdeca2f1035988310b707db65aa586fe6064 authored almost 4 years ago
GH Actions: get the tests running on PHP 8.1 (nightly)

Letting PHPUnit read the config file causes an error on PHP 8.1 in combination with PHPUnit 7.

...

github.com/PHPCSStandards/PHPCSExtra - 3f8e4439f2838f3bce2509e9572bf1d8894422d0 authored almost 4 years ago
Merge pull request #85 from PHPCSStandards/feature/phpcs-3206-no-lonely-if

New `Universal.ControlStructures.DisallowLonelyIf` sniff

github.com/PHPCSStandards/PHPCSExtra - a05ec497b7381b8590b15a01a8fe45aa4d71d73d authored almost 4 years ago
:sparkles: New `Universal.ControlStructures.DisallowLonelyIf` sniff

Sniff to disallow `if` statements as the only statement in an `else` block.

Inspired by the [ES...

github.com/PHPCSStandards/PHPCSExtra - 8fc9ad1faf1acb958b80950847e4d0efa2b09e2a authored almost 4 years ago
Merge pull request #84 from PHPCSStandards/feature/ghactions-tweaks

GH Actions: various tweaks

github.com/PHPCSStandards/PHPCSExtra - 26962498eb8c713746815ec55f02aa43d343cd1e authored almost 4 years ago
GH Actions: report linting violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

github.com/PHPCSStandards/PHPCSExtra - 0981c8f983d91ff0ed7e57f73bff2788b99cff9e authored almost 4 years ago
GH Actions: report CS violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

github.com/PHPCSStandards/PHPCSExtra - d8a5eed699f44b74425b7bbd3535b2eae7616147 authored almost 4 years ago
GH Actions: allow for manually triggering a workflow

Triggering a workflow for a branch manually is not supported by default in GH Actions, but has t...

github.com/PHPCSStandards/PHPCSExtra - e282eec3848917c8f26b41c4026141ced0ded6b8 authored almost 4 years ago
GH Actions: don't ignore markdown-only changes

... on pull requests as it doesn't play nice with required statuses.

github.com/PHPCSStandards/PHPCSExtra - 8036a3a1df314fcdedf9c93808934397bfc5a64d authored almost 4 years ago
Merge pull request #58 from PHPCSStandards/feature/ghactions-tweaks

GH Actions: various tweaks

github.com/PHPCSStandards/PHPCSDevTools - ba3e998e4ecc060d082ad3afe031112680f9d37d authored almost 4 years ago
GH Actions: report linting violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

github.com/PHPCSStandards/PHPCSDevTools - 93afec9fc023acaf5c09f0945ddfd306d9fcc5d2 authored almost 4 years ago
GH Actions: report CS violations in the PR

The cs2pr tool will allow to display the results from an action run in checkstyle format in-line...

github.com/PHPCSStandards/PHPCSDevTools - 5fe6eb2cedc77e4b04eb14d76e981fdcb07dd9cd authored almost 4 years ago
GH Actions: allow for manually triggering a workflow

Triggering a workflow for a branch manually is not supported by default in GH Actions, but has t...

github.com/PHPCSStandards/PHPCSDevTools - 470a6aa9f1856e547f7a5d0bea8d6a1f3c3ac94f authored almost 4 years ago
GH Actions: don't ignore markdown-only changes

... as it doesn't play nice with required statuses.

github.com/PHPCSStandards/PHPCSDevTools - 639358116b259fdbd3ab5f66582c3bae0f18835e authored almost 4 years ago
Merge pull request #16 from PHPCSStandards/feature/ghactions-tweaks

GH Actions: allow for manually triggering a workflow

github.com/PHPCSStandards/PHPCSDevCS - 4ffddc2d84aa7e45ecee99087311f5b72bb58ca6 authored almost 4 years ago
GH Actions: allow for manually triggering a workflow

Triggering a workflow for a branch manually is not supported by default in GH Actions, but has t...

github.com/PHPCSStandards/PHPCSDevCS - 552c0dceac157470e6a763fca85760f6f6fa4b0d authored almost 4 years ago
Add details regarding QA automation in CONTRIBUTING.md file.

github.com/PHPCSStandards/composer-installer - 5b1d0f68bff2ee8b3da6d13e0c93339f82ae4c12 authored almost 4 years ago
Merge pull request #118 from potherca-contrib/issues/114-release-process

Document release process

github.com/PHPCSStandards/composer-installer - 97aa24eee43cc15c600986f1cd1130034e88405e authored almost 4 years ago
Merge pull request #128 from Dealerdirect/feature/travis-tweaks

Travis: line length tweaks

github.com/PHPCSStandards/composer-installer - 5ddc65b5edff0a3b39718f69756b9e7e4b4c719e authored almost 4 years ago
Change CONTRIBUTING file based on review feedback

- Make footnote markers a link to the footnotes section
- Mention that either generate command n...

github.com/PHPCSStandards/composer-installer - a9990e92c3feaecbf39937e001a8537413c72c0f authored almost 4 years ago
Apply suggestions from code review

Co-authored-by: Juliette <[email protected]>

github.com/PHPCSStandards/composer-installer - 4d0dc88cbc6234505e5db002f83397eb70cadf75 authored almost 4 years ago
Add github_changelog_generator setting file.

github.com/PHPCSStandards/composer-installer - 55cd2dfe53a00e3ce4676660cdb027199bec0456 authored almost 4 years ago
Add release process to contributing file.

github.com/PHPCSStandards/composer-installer - 3c7f05d0e0231468607d6e8dcd750aef85447491 authored almost 4 years ago
Add bash script to generate changelog entry.

github.com/PHPCSStandards/composer-installer - ecb737a2018d7afd592574434836c8d3c4946ed1 authored almost 4 years ago
Change long lines in .travis.yml to not exceed 120 chars.

github.com/PHPCSStandards/composer-installer - 9954c677230bb4b6a4b0bfe592031c0f9d3ed587 authored almost 4 years ago
Add mention of Composer and PHP compatibility to project README.

github.com/PHPCSStandards/composer-installer - b246d4387a82a0d7880952283e706630b00d451c authored almost 4 years ago
Replace deprecated Sensiolabs security checker

github.com/PHPCSStandards/composer-installer - 3235fafb1eb17beba29a61f9a6d3b1087d7fdb5a authored about 4 years ago
Add tests for exceptions

github.com/PHPCSStandards/phpcs-docs - 8bed61b973c69888530591a2843ed9b15785458d authored about 4 years ago
Complete tests for all VOs; minor renaming & validation

github.com/PHPCSStandards/phpcs-docs - 8fd6a059c3f820f44d122aeb1d6744cceaa7a49a authored about 4 years ago
Fix issue with counting the uncountable

github.com/PHPCSStandards/phpcs-docs - f5dfc9d50f108195fff9d3587e161f4c488c10da authored about 4 years ago
Bump test coverage for property VO

github.com/PHPCSStandards/phpcs-docs - 54734a62b209587672109a683d7eb6ea369a85d7 authored about 4 years ago
Bump test coverage for diff and folder VOs

github.com/PHPCSStandards/phpcs-docs - 1a5693026e0f6c5dac97bf39f79a5576dd542193 authored about 4 years ago
Bump test coverage for sniff finder

github.com/PHPCSStandards/phpcs-docs - 6df7193536e6173dd168b79387f839e77b474843 authored about 4 years ago
Bump test coverage for markdown generator; fix bugs in process

github.com/PHPCSStandards/phpcs-docs - 55e62957f8d2b9057728b2839186f07e8b46fcc6 authored about 4 years ago
Bump test coverage for parsers

github.com/PHPCSStandards/phpcs-docs - 73fc247a941f7f98002d7b81943581f7931a0c1d authored about 4 years ago
Allow running with single sniff

github.com/PHPCSStandards/phpcs-docs - df515c4a221a23eb480e2c3ab9aae6ef471459d5 authored about 4 years ago
Only reflect the classes we need

github.com/PHPCSStandards/phpcs-docs - 9562191ad85cc7489b70c8c4334dd2ea4c99271c authored about 4 years ago
Composer install in downloaded repo; scan folders for reflection

github.com/PHPCSStandards/phpcs-docs - f2fb5ec9f5a579b3e45056f5c90b6a2e395bcc5a authored about 4 years ago
Refactor so that only one markdown file is written per rule

github.com/PHPCSStandards/phpcs-docs - ef2ffda6691c49f18e3e8e8acddd1591bdc5361c authored about 4 years ago
Create SniffFinder for discovering sniff and violation files

github.com/PHPCSStandards/phpcs-docs - eb899e3b63b58e73ce5c9ace1af34efe98f7b845 authored about 4 years ago
Fix file patterns and regexes

github.com/PHPCSStandards/phpcs-docs - 7b240c957a8c0147645128c945ef337deaea9583 authored about 4 years ago
Correctly detect standard name; fix filename endings for php/xml files

github.com/PHPCSStandards/phpcs-docs - 64b90c2f3ba97fd35054bcd47f92e1bf5ac3a7c9 authored about 4 years ago
Create service to clone/pull repos

github.com/PHPCSStandards/phpcs-docs - 4a01197ede31ce0baac8c7d3fe5e086c4b43a061 authored about 4 years ago
Match sniff PHP with its XML doc; ensure unique URLs after merge

github.com/PHPCSStandards/phpcs-docs - a4662a6eaf89e4183102a8d6457db0b22efdb054 authored about 4 years ago
Always use symfony filesystem for creating test files

github.com/PHPCSStandards/phpcs-docs - 2a90da96c51ba0da352eea4aebedbf45971e69cd authored about 4 years ago
Refactor to account for multiple violations per sniff

github.com/PHPCSStandards/phpcs-docs - 0a69bcfbcdda167b264ed8f3491ffa231507c733 authored about 4 years ago
Create markdown generator for UserDoc

github.com/PHPCSStandards/phpcs-docs - b03fc00c04887352268853bc609054c4d0f74299 authored about 4 years ago
Import stringy create function

github.com/PHPCSStandards/phpcs-docs - 07f1ea09f05858c65622da60db4f3d5297949f31 authored about 4 years ago
Invert before/after for diffs as that's what phpcs assumes

github.com/PHPCSStandards/phpcs-docs - 163105f081e94bff07e2151ef4a7c1346c93d3c3 authored about 4 years ago
Finish refactoring to UserDoc and DevDoc with domain-appropriate names

github.com/PHPCSStandards/phpcs-docs - 4bdd98f4158b5821434ab679a371ed8aab3ac6f7 authored about 4 years ago
Using HEREDOC fixes a PHPStorm warning about ']]>'

github.com/PHPCSStandards/phpcs-docs - f276ad646dccc75289610f5b2268f5c8b51285eb authored about 4 years ago
Separate the concepts of user and dev docs; remove unnecessary aggregation

github.com/PHPCSStandards/phpcs-docs - 99f90554af059dba4827cf877c114d4c85ddede2 authored about 4 years ago
Merge pull request #243 from PHPCSStandards/passedparameters/update-after-upstream-merge

PassedParameters: account for upstream support of named parameters

github.com/PHPCSStandards/PHPCSUtils - 602d7a3a6b41699cc07d821482c63f43189bf93b authored about 4 years ago
PassedParameters: account for upstream support of named parameters

Upstream PR 3178 to add support for named function call arguments to PHPCS has been merged.

Thi...

github.com/PHPCSStandards/PHPCSUtils - e13f19101919aab71c3ba6892a91202f58372d21 authored about 4 years ago
Extract a manual page VO from multiple sources based on sniff path

github.com/PHPCSStandards/phpcs-docs - e89b686303cda0c0293e49a3b91f76796c125344 authored about 4 years ago
Ensure that php is installed before composer

github.com/PHPCSStandards/phpcs-docs - 651ddfb24d3e93c613ca25717b5ccb750e86aa1d authored about 4 years ago
Bump php version in CI

github.com/PHPCSStandards/phpcs-docs - e08cd7ce95bdcaa53e37ad212bc07142ed61e546 authored about 4 years ago
Add GitHub workflow

github.com/PHPCSStandards/phpcs-docs - 10c75bc62da0fca868541d65d3a5882da1fcbda4 authored about 4 years ago
First draft of PhpParser

github.com/PHPCSStandards/phpcs-docs - d406d96a4538c7e9b779a729c5203f6b71a0d31a authored about 4 years ago