Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
GmagickBinary
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
6
0.00% covered (danger)
0.00%
0 / 1
 checkOperationality
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 doActualConvert
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace WebPConvert\Convert\Converters;
4
5use WebPConvert\Convert\Converters\AbstractConverter;
6use WebPConvert\Convert\Exceptions\ConversionFailedException;
7
8/**
9 * Non-functional converter, just here to tell you that it has been renamed.
10 *
11 * @package    WebPConvert
12 * @author     Bjørn Rosell <it@rosell.dk>
13 * @since      Class available since Release 2.0.0
14 */
15class GmagickBinary extends AbstractConverter
16{
17    public function checkOperationality()
18    {
19        throw new ConversionFailedException(
20            'This converter has changed ID from "gmagickbinary" to "graphicsmagick". You need to change!'
21        );
22    }
23
24    protected function doActualConvert()
25    {
26        $this->checkOperationality();
27    }
28}