projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
http-kernel
/
DataCollector
/
Util
/
ValueExporter.php
diff --git
a/vendor/symfony/http-kernel/DataCollector/Util/ValueExporter.php
b/vendor/symfony/http-kernel/DataCollector/Util/ValueExporter.php
index a71c00db99e5a65e59368dc94cc38a7759a69251..e30b3a50298503b4a05ffb7c364727cb9e038e8a 100644
(file)
--- a/
vendor/symfony/http-kernel/DataCollector/Util/ValueExporter.php
+++ b/
vendor/symfony/http-kernel/DataCollector/Util/ValueExporter.php
@@
-35,15
+35,15
@@
class ValueExporter
return sprintf('__PHP_Incomplete_Class(%s)', $this->getClassNameFromIncomplete($value));
}
return sprintf('__PHP_Incomplete_Class(%s)', $this->getClassNameFromIncomplete($value));
}
- if (is_object($value)) {
+ if (
\
is_object($value)) {
if ($value instanceof \DateTimeInterface) {
if ($value instanceof \DateTimeInterface) {
- return sprintf('Object(%s) - %s', get_class($value), $value->format(\DateTime::ATOM));
+ return sprintf('Object(%s) - %s',
\
get_class($value), $value->format(\DateTime::ATOM));
}
}
- return sprintf('Object(%s)', get_class($value));
+ return sprintf('Object(%s)',
\
get_class($value));
}
}
- if (is_array($value)) {
+ if (
\
is_array($value)) {
if (empty($value)) {
return '[]';
}
if (empty($value)) {
return '[]';
}
@@
-52,7
+52,7
@@
class ValueExporter
$a = array();
foreach ($value as $k => $v) {
$a = array();
foreach ($value as $k => $v) {
- if (is_array($v)) {
+ if (
\
is_array($v)) {
$deep = true;
}
$a[] = sprintf('%s => %s', $k, $this->exportValue($v, $depth + 1, $deep));
$deep = true;
}
$a[] = sprintf('%s => %s', $k, $this->exportValue($v, $depth + 1, $deep));
@@
-64,14
+64,14
@@
class ValueExporter
$s = sprintf('[%s]', implode(', ', $a));
$s = sprintf('[%s]', implode(', ', $a));
- if (80 > strlen($s)) {
+ if (80 >
\
strlen($s)) {
return $s;
}
return sprintf("[\n%s%s\n]", $indent, implode(sprintf(",\n%s", $indent), $a));
}
return $s;
}
return sprintf("[\n%s%s\n]", $indent, implode(sprintf(",\n%s", $indent), $a));
}
- if (is_resource($value)) {
+ if (
\
is_resource($value)) {
return sprintf('Resource(%s#%d)', get_resource_type($value), $value);
}
return sprintf('Resource(%s#%d)', get_resource_type($value), $value);
}