We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7983ede commit 93a0426Copy full SHA for 93a0426
testing/tests/TestRemoveIncludeParentheses.php
@@ -8,6 +8,7 @@ class TestRemoveIncludeParentheses extends PHPUnit_Framework_TestCase {
8
private $code = <<<CODE
9
<?php
10
include ('a.php');
11
+require ('a.php');
12
?>
13
CODE;
14
@@ -20,6 +21,7 @@ public function testEnabled() {
20
21
);
22
23
$this->assertContains( "include 'a.php';", $output );
24
+ $this->assertContains( "require 'a.php';", $output );
25
}
26
27
public function testDisabled() {
@@ -31,6 +33,7 @@ public function testDisabled() {
31
33
32
34
35
$this->assertContains( "include ('a.php');", $output );
36
+ $this->assertContains( "require ('a.php');", $output );
37
38
39
0 commit comments