PHPackages                             swisnl/php-cs-fixer-bitbucket - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. swisnl/php-cs-fixer-bitbucket

ActivePhp-cs-fixer-extension[Testing &amp; Quality](/categories/testing)

swisnl/php-cs-fixer-bitbucket
=============================

PHP CS Fixer reporter for Bitbucket Pipeline Reports

0.2.0(2y ago)16.6k↓35.6%[1 issues](https://github.com/swisnl/php-cs-fixer-bitbucket/issues)MITPHPPHP ^8.0

Since Dec 27Pushed 2y ago2 watchersCompare

[ Source](https://github.com/swisnl/php-cs-fixer-bitbucket)[ Packagist](https://packagist.org/packages/swisnl/php-cs-fixer-bitbucket)[ Docs](https://github.com/swisnl/php-cs-fixer-bitbucket)[ RSS](/packages/swisnl-php-cs-fixer-bitbucket/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

PHP CS Fixer Bitbucket error reporter
=====================================

[](#php-cs-fixer-bitbucket-error-reporter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/253d0d3173d30b69a6357917ce0b74f34857e47e96609ea59955065acfa788ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737769736e6c2f7068702d63732d66697865722d6269746275636b65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/swisnl/php-cs-fixer-bitbucket)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Buy us a tree](https://camo.githubusercontent.com/cec0a9b35a1c3235bdbe0d13ea8fbd866a23e30280ad6ca27078c1fd4ac1b709/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://plant.treeware.earth/swisnl/php-cs-fixer-bitbucket)[![Total Downloads](https://camo.githubusercontent.com/41fbd8735cbcf7b9d8d40d9fb56f24329d72e663df0c9b1c0683a4f5fdf46cef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737769736e6c2f7068702d63732d66697865722d6269746275636b65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/swisnl/php-cs-fixer-bitbucket)[![Maintained by SWIS](https://camo.githubusercontent.com/af0a8c6f2ea8b54aca03b7ca581e67c034ad17066e75fffeb068e8d5341bbae1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539412538302d6d61696e7461696e65642532306279253230535749532d2532333037333741392e7376673f7374796c653d666c61742d737175617265)](https://www.swis.nl)

This PHP CS Fixer reporter will add annotations in Bitbucket, for example in pull requests, similar to the built-in GitLab formatting.

Installation
------------

[](#installation)

Via Composer

```
composer require --dev swisnl/php-cs-fixer-bitbucket
```

Usage
-----

[](#usage)

To 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 | phpcsf2bb
```

### Line numbers

[](#line-numbers)

PHP 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 | phpcsf2bb
```

Screenshots
-----------

[](#screenshots)

[![Annotations](/img/annotations.png)](/img/annotations.png)[![Report](/img/report.png)](/img/report.png)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Jasper Zonneveld](https://github.com/JaZo)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

This package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/swisnl/php-cs-fixer-bitbucket) 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 ❤️ Open Source
-------------------

[](#swis-heart-open-source)

[SWIS](https://www.swis.nl) is a web agency from Leiden, the Netherlands. We love working with open source software.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

3

Last Release

846d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8734305?v=4)[SWIS](/maintainers/swisnl)[@swisnl](https://github.com/swisnl)

---

Top Contributors

[![JaZo](https://avatars.githubusercontent.com/u/3475007?v=4)](https://github.com/JaZo "JaZo (8 commits)")

---

Tags

bitbuckethacktoberfestphp-cs-fixertestingbitbucketpipelinereportsphp-cs-fixerreporter

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/swisnl-php-cs-fixer-bitbucket/health.svg)

```
[![Health](https://phpackages.com/badges/swisnl-php-cs-fixer-bitbucket/health.svg)](https://phpackages.com/packages/swisnl-php-cs-fixer-bitbucket)
```

###  Alternatives

[erickskrauch/php-cs-fixer-custom-fixers

A set of custom fixers for PHP-CS-Fixer

302.1M18](/packages/erickskrauch-php-cs-fixer-custom-fixers)[taptima/php-cs-fixer

Taptima PHP-CS-Fixer fixers

1317.0k](/packages/taptima-php-cs-fixer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
