swisnl / phpstan-bitbucket
PHPStan error formatter for Bitbucket Pipeline Reports
Installs: 40 592
Dependents: 1
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 3
Type:phpstan-extension
Requires
- php: ^8.0
- phpstan/phpstan: ^1.0
- swisnl/bitbucket-reports: ^0.1
Requires (Dev)
- laravel/pint: ^1.2
This package is auto-updated.
Last update: 2024-11-24 15:20:23 UTC
README
This PHPStan error formatter will add annotations in Bitbucket, for example in pull requests, similar to the built-in GitHub formatting.
Installation
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:
includes: - vendor/swisnl/phpstan-bitbucket/extension.neon
Usage
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
Screenshots
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.
Credits
This package is a fork of alxt/phpstan-bitbucket with some updates.
License
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.