bartlett/sarif-php-converters

Allows PHP projects to print a static code analysis report in SARIF format

dev-master 2024-07-31 13:59 UTC

This package is auto-updated.

Last update: 2024-10-25 04:30:36 UTC


README

SARIF PHP Converters

StandWithUkraine GitHub Discussions

Introduction

SARIF, the Static Analysis Results Interchange Format, defines a standard format for the output of static analysis tools. It is a powerful and sophisticated format suited to the needs of a wide variety of tools.

There are a lot of PHP project that do Static Code Analysis, but few of them support the SARIF format.

You can consider to be lucky when they provide at least the checkstyle or junit format.

This library may be considered as a producer on sarif report format, for these projects that did not support yet natively.

Features at a glance

  • A Console Tool to allow conversion from checkstyle format to sarif, if your application does not support custom reporting class.
  • Add sarif output format support to your application, if you accept to load on fly, any custom reporting class.

Comparison by project on output formats

Legend :

  • ✅ indicate that support to the format is available
  • (✅) indicate that support to the format is optional
  • ❌ indicate that support to the format is not yet available

Documentation

All the documentation is available on website, generated from the docs folder.