Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 111f4f6

Browse files
committed
gh312 bug test
1 parent 8bc3e76 commit 111f4f6

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

UnitTests/X_Issues/Issuse312/InheritanceTest.php

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,9 @@
11
<?php
22

3-
//require_once '../../../../../vendor/autoload.php';
43

54
if (version_compare(phpversion(), '5.5.0', '>')) {
6-
7-
class Base
8-
{
9-
const TEMPLATE = '034_parent.tpl';
10-
11-
public $id = null;
12-
13-
public function __construct($id)
14-
{
15-
$this->id = $id;
16-
}
17-
18-
public function getHTML()
19-
{
20-
return static::class;
21-
}
22-
}
23-
24-
class Child extends Base
25-
{
26-
const TEMPLATE = '034_child.tpl';
27-
28-
public function getText()
29-
{
30-
return $this->getHTML();
5+
include 'include.phpxxx';
316
}
32-
}
33-
34-
class BaseClone extends Base
35-
{
36-
37-
}
38-
397
/*
408
* @requires PHP 5.5
419
*/
@@ -122,4 +90,3 @@ public function providerInheritance()
12290
],],];
12391
}
12492
}
125-
}

0 commit comments

Comments
 (0)