Completed
Branch output_parsers_refactor (d2cb12)
by Alessandro
02:20
created

FatalErrorTestStub   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 0
cbo 1
dl 0
loc 13
rs 10
1
<?php
2
3
namespace Paraunit\Tests\Stub;
4
5
/**
6
 * Class FatalErrorTestStub
7
 * @package Paraunit\Tests\Stub
8
 */
9
class FatalErrorTestStub extends BrokenTestBase implements BrokenTestInterface
10
{
11
    public function testBrokenTest()
12
    {
13
        ini_set('memory_limit', '2M');
14
15
        $arr = array();
16
17
        while (true) {
18
            $arr[] = "Allocated memory... allocated memory everywhere!";
19
        }
20
    }
21
}
22