Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit afb7fee

Browse files
ext/reflection/tests/ReflectionConstant_getFileName.phpt: whitespace fixes
1 parent 3dc9852 commit afb7fee

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎ext/reflection/tests/ReflectionConstant_getFileName.phpt‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ ReflectionConstant::getFileName()
55

66
include "included5.inc";
77

8-
function testConstant(string $name): void {
9-
$ref = new ReflectionConstant($name);
8+
function testConstant(string $name): void {
9+
$ref = new ReflectionConstant($name);
1010
echo "$name: ";
11-
var_dump($ref->getFileName());
11+
var_dump($ref->getFileName());
1212
}
1313

1414
define('IN_CURRENT_FILE_DEFINED', 42);
1515
const IN_CURRENT_FILE_AST = 123;
1616

1717
echo "From PHP:\n";
18-
testConstant('PHP_VERSION');
19-
testConstant('STDIN');
20-
testConstant('STDOUT');
21-
testConstant('STDERR');
18+
testConstant('PHP_VERSION');
19+
testConstant('STDIN');
20+
testConstant('STDOUT');
21+
testConstant('STDERR');
2222

2323
echo "\nFrom the current file:\n";
24-
testConstant('IN_CURRENT_FILE_DEFINED');
25-
testConstant('IN_CURRENT_FILE_AST');
24+
testConstant('IN_CURRENT_FILE_DEFINED');
25+
testConstant('IN_CURRENT_FILE_AST');
2626

2727
echo "\nFrom an included file:\n";
28-
testConstant('INCLUDED_CONSTANT_DEFINED');
29-
testConstant('INCLUDED_CONSTANT_AST');
28+
testConstant('INCLUDED_CONSTANT_DEFINED');
29+
testConstant('INCLUDED_CONSTANT_AST');
3030
?>
3131
--EXPECTF--
3232
From PHP:
@@ -41,4 +41,4 @@ IN_CURRENT_FILE_AST: string(%d) "%sReflectionConstant_getFileName.php"
4141

4242
From an included file:
4343
INCLUDED_CONSTANT_DEFINED: string(%d) "%sincluded5.inc"
44-
INCLUDED_CONSTANT_AST: string(%d) "%sincluded5.inc"
44+
INCLUDED_CONSTANT_AST: string(%d) "%sincluded5.inc"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /