PHPStan error formatter for Bitbucket Pipeline Reports

Installs: 1 015

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1


0.2.0 2022-11-04 07:51 UTC

This package is auto-updated.

Last update: 2023-03-04 08:29:41 UTC


Latest Version on Packagist Software License Buy us a tree Total Downloads Maintained by SWIS

This PHPStan error formatter will add annotations in Bitbucket, for example in pull requests, similar to the built-in GitHub formatting.


Via Composer

composer require --dev swisnl/phpstan-bitbucket

If you also have phpstan/extension-installer installed, then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:

    - vendor/swisnl/phpstan-bitbucket/extension.neon


To use this custom error formatter you need to run PHPStan with --error-format=bitbucket option. For example:

vendor/bin/phpstan analyse src -l8 --error-format=bitbucket


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


This package is a fork of alxt/phpstan-bitbucket with some updates.


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 ❤️ Open Source

SWIS is a web agency from Leiden, the Netherlands. We love working with open source software.