<commit_before># Health checker incident component
[![License](https://img.shields.io/github/license/tonicforhealth/health-checker-incident-component.svg?maxAge=2592000)](LICENSE.md)
[![Build Status](https://travis-ci.org/tonicforhealth/health-checker-incident-component.svg?branch=master)](https://travis-ci.org/tonicforhealth/health-checker-incident-component)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/?branch=master)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/7a1c4148-5ee0-468d-ad58-f7a639cb6ad2/mini.png)](https://insight.sensiolabs.com/projects/7a1c4148-5ee0-468d-ad58-f7a639cb6ad2)

This component provide classes for incident app.
<commit_msg>- extend readme<commit_after># Health checker incident component
[![License](https://img.shields.io/github/license/tonicforhealth/health-checker-incident-component.svg?maxAge=2592000)](LICENSE.md)
[![Build Status](https://travis-ci.org/tonicforhealth/health-checker-incident-component.svg?branch=master)](https://travis-ci.org/tonicforhealth/health-checker-incident-component)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/tonicforhealth/health-checker-incident-component/?branch=master)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/7a1c4148-5ee0-468d-ad58-f7a639cb6ad2/mini.png)](https://insight.sensiolabs.com/projects/7a1c4148-5ee0-468d-ad58-f7a639cb6ad2)

This repository provides classes for Health checker incident app. This classes use for a different notification types like 
email, cachet, file, etc. All this classes implement NotificationTypeInterface. Also here you find Subject class that 
IncidentSiren uses like a point for sending notifications.

## Requirements
------------

- PHP 5.5 or higher
- ext-pdo

## Classes
------------

Classes
- TonicHealthCheck\Incident\IncidentEventSubscriber - core class for mediation incidents to IncidentSirenCollection items. Also it class implements Doctrine\Common\EventSubscriber interface.
- TonicHealthCheck\Incident\Siren\IncidentSiren - for notification subjects.
- TonicHealthCheck\Incident\Siren\IncidentSirenCollection - collection of the IncidentSiren items
- TonicHealthCheck\Incident\Siren\NotificationType\EmailNotificationType - implement email notification.
- TonicHealthCheck\Incident\Siren\NotificationType\FileNotificationType - implement file notification
- TonicHealthCheck\Incident\Siren\NotificationType\RequestNotificationType - implement request notification
- TonicHealthCheck\Incident\Siren\Subject\Subject - implement subject and use like point to notification
- TonicHealthCheck\Incident\Siren\Subject\SubjectCollection - collection of the Subject items


Interfaces

- TonicHealthCheck\Incident\IncidentInterface - interface for notification entity
- TonicHealthCheck\Incident\Siren\Subject\SubjectInterface - interface for subjects
- TonicHealthCheck\Incident\Siren\NotificationType\NotificationTypeInterface - interface for notification type

Other

- TonicHealthCheck\CachetHQ\Authentication\Token - class for cachetHQ authentication 
{'fraction_non_alphanumeric': 0.12193823216187434, 'fraction_numerical': 0.024494142705005325, 'mean_word_length': 6.295145631067961, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3762507', 'n_tokens_mistral': 1267, 'n_tokens_neox': 1164, 'n_words': 160}