This PHP CS Fixer reporter will add annotations in Bitbucket, for example in pull requests, similar to the built-in GitLab formatting.
Via Composer
composer require --dev swisnl/php-cs-fixer-bitbucketTo use this custom reporter you need to run PHP CS Fixer with the GitLab format and pipe the results to this package. For example:
php-cs-fixer check --format=gitlab | phpcsf2bbPHP CS Fixer doesn't keep track of line numbers, so all annotations are at the top of the file. You can add (approximate) line numbers based on the diff, by using the --diff argument for PHP CS Fixer. For example:
php-cs-fixer check --format=gitlab --diff | phpcsf2bbPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.