Automated native_function_invocation fixes

This commit is contained in:
drowe authored and Adrien Loison committed 2019-11-18 12:17:27 +01:00
1 parent 94b654175c
commit eb88bb4c3a
62 files changed
+237 -237

No files matched your search

@@ -295,7 +295,7 @@ EOD;
*/
private function getCellAlignmentSectionContent($style)
{
return sprintf(
return \sprintf(
' fo:text-align="%s" ',
$this->transformCellAlignment($style->getCellAlignment())
);
@@ -364,11 +364,11 @@ EOD;
*/
private function getBorderXMLContent($style)
{
$borders = array_map(function (BorderPart $borderPart) {
$borders = \array_map(function (BorderPart $borderPart) {
return BorderHelper::serializeBorderPart($borderPart);
}, $style->getBorder()->getParts());
return sprintf(' %s ', implode(' ', $borders));
return \sprintf(' %s ', \implode(' ', $borders));
}
/**
@@ -379,6 +379,6 @@ EOD;
*/
private function getBackgroundColorXMLContent($style)
{
return sprintf(' fo:background-color="#%s" ', $style->getBackgroundColor());
return \sprintf(' fo:background-color="#%s" ', $style->getBackgroundColor());
}
}
@@ -33,6 +33,6 @@ class StyleRegistry extends \Box\Spout\Writer\Common\Manager\Style\StyleRegistry
*/
public function getUsedFonts()
{
return array_keys($this->usedFontsSet);
return \array_keys($this->usedFontsSet);
}
}