Page MenuHomeSealhub

double-quote.lint-test
No OneTemporary

Authored By
Unknown
Size
696 B
Referenced Files
None
Subscribers
None

double-quote.lint-test

<?php
'foobar';
"foo\"bar";
"foobar\n";
"'foobar'";
"foo{$bar}";
'foo"bar"';
pht(
"This string requires \x12\x34 double quotes, but ".
"this string does not. Here, they are used for consistency.");
pht(
"This string also requires \123\345 double quotes, but ".
"this string does not. Here, they are used for consistency.");
~~~~~~~~~~
advice:3:1
~~~~~~~~~~
<?php
'foobar';
'foo"bar';
"foobar\n";
"'foobar'";
"foo{$bar}";
'foo"bar"';
pht(
"This string requires \x12\x34 double quotes, but ".
"this string does not. Here, they are used for consistency.");
pht(
"This string also requires \123\345 double quotes, but ".
"this string does not. Here, they are used for consistency.");

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 28, 01:26 (14 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1212457
Default Alt Text
double-quote.lint-test (696 B)

Event Timeline