/tombstone-analyzer

Report generation for Tombstones created with the https://github.com/scheb/tombstone library

Primary LanguagePHPMIT LicenseMIT

scheb/tombstone-analyzer

Report generation for the Tombstones created with the scheb/tombstone library.

Build Status PHP 7 ready HHVM Status Coverage Status Latest Stable Version License

Tombstone Youtube Video

Inspired by: http://devblog.nestoria.com/post/115930183873/tombstones-for-dead-code

WARNING: The library is still work in progress. BC breaks will certainly happen as long as there is no stable release.

Installation

Install via composer

$ composer require scheb/tombstone-analyzer

Composer automatically creates an executable binary vendor/bin/tombstone.

Usage

Execute the tool on the command line to show the help dialog:

$ tombstone

Basic usage:

$ tombstone /path/to/php/sources /path/to/tombstone/logs

Generate a HTML report:

$ tombstone /path/to/php/sources /path/to/tombstone/logs --report-html=/report/target/directory

Acknowledgments

Thanks to Sebastian Bergmann for letting me re-use parts of his code and the template files.

License

This library is available under the MIT license.