public function ProcessUtilsTest::dataArguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/ProcessUtilsTest.php \Symfony\Component\Process\Tests\ProcessUtilsTest::dataArguments()
File
- vendor/
symfony/ process/ Tests/ ProcessUtilsTest.php, line 26
Class
Namespace
Symfony\Component\Process\TestsCode
public function dataArguments() {
if ('\\' === DIRECTORY_SEPARATOR) {
return array(
array(
'"\\"php\\" \\"-v\\""',
'"php" "-v"',
),
array(
'"foo bar"',
'foo bar',
),
array(
'^%"path"^%',
'%path%',
),
array(
'"<|>\\" \\"\'f"',
'<|>" "\'f',
),
array(
'""',
'',
),
array(
'"with\\trailingbs\\\\"',
'with\\trailingbs\\',
),
);
}
return array(
array(
"'\"php\" \"-v\"'",
'"php" "-v"',
),
array(
"'foo bar'",
'foo bar',
),
array(
"'%path%'",
'%path%',
),
array(
"'<|>\" \"'\\''f'",
'<|>" "\'f',
),
array(
"''",
'',
),
array(
"'with\\trailingbs\\'",
'with\\trailingbs\\',
),
);
}