Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| ShellDisabledError | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * @license GPL-2.0-or-later |
| 4 | * @file |
| 5 | */ |
| 6 | |
| 7 | namespace MediaWiki\Exception; |
| 8 | |
| 9 | use Exception; |
| 10 | |
| 11 | /** |
| 12 | * @newable |
| 13 | * @since 1.30 |
| 14 | */ |
| 15 | class ShellDisabledError extends Exception { |
| 16 | |
| 17 | /** |
| 18 | * @stable to call |
| 19 | */ |
| 20 | public function __construct() { |
| 21 | parent::__construct( 'Unable to run external programs, proc_open() is disabled' ); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | /** @deprecated class alias since 1.44 */ |
| 26 | class_alias( ShellDisabledError::class, 'MediaWiki\\ShellDisabledError' ); |