Skip to content

Commit a845b83

Browse files
committed
PHPCS fixes
1 parent 45eef3e commit a845b83

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

samples/Wizards/NumberFormat/Accounting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
$helper->log('<hr /><b>Code:</b><br />');
8787
$helper->log('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard;');
8888
$helper->log(
89-
"\$mask = Wizard\Accounting('{$_POST['currency']}', {$_POST['decimals']}, Wizard\Number::" .
89+
"\$mask = Wizard\\Accounting('{$_POST['currency']}', {$_POST['decimals']}, Wizard\\Number::" .
9090
(isset($_POST['thousands']) ? 'WITH_THOUSANDS_SEPARATOR' : 'WITHOUT_THOUSANDS_SEPARATOR') .
9191
(((bool) $_POST['position']) ? ', Wizard\Accounting::LEADING_SYMBOL' : ', Wizard\Accounting::TRAILING_SYMBOL') .
9292
(((bool) $_POST['spacing']) ? ', Wizard\Accounting::SYMBOL_WITH_SPACING' : ', Wizard\Accounting::SYMBOL_WITHOUT_SPACING') .

samples/Wizards/NumberFormat/Currency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
$helper->log('<hr /><b>Code:</b><br />');
8787
$helper->log('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard;');
8888
$helper->log(
89-
"\$mask = Wizard\Currency('{$_POST['currency']}', {$_POST['decimals']}, Wizard\Number::" .
89+
"\$mask = Wizard\\Currency('{$_POST['currency']}', {$_POST['decimals']}, Wizard\\Number::" .
9090
(isset($_POST['thousands']) ? 'WITH_THOUSANDS_SEPARATOR' : 'WITHOUT_THOUSANDS_SEPARATOR') .
9191
(((bool) $_POST['position']) ? ', Wizard\Currency::LEADING_SYMBOL' : ', Wizard\Currency::TRAILING_SYMBOL') .
9292
(((bool) $_POST['spacing']) ? ', Wizard\Currency::SYMBOL_WITH_SPACING' : ', Wizard\Currency::SYMBOL_WITHOUT_SPACING') .

samples/Wizards/NumberFormat/Number.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
$helper->log('<hr /><b>Code:</b><br />');
6060
$helper->log('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard;');
6161
$helper->log(
62-
"\$mask = Wizard\Number({$_POST['decimals']}, Wizard\Number::" .
62+
"\$mask = Wizard\\Number({$_POST['decimals']}, Wizard\\Number::" .
6363
(isset($_POST['thousands']) ? 'WITH_THOUSANDS_SEPARATOR' : 'WITHOUT_THOUSANDS_SEPARATOR') .
6464
')<br />'
6565
);

samples/Wizards/NumberFormat/Percentage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
$example = (string) NumberFormat::toFormattedString((float) $_POST['number'], $mask);
5353
$helper->log('<hr /><b>Code:</b><br />');
5454
$helper->log('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard;');
55-
$helper->log("\$mask = Wizard\Percentage({$_POST['decimals']})<br />");
55+
$helper->log("\$mask = Wizard\\Percentage({$_POST['decimals']})<br />");
5656
$helper->log('<hr /><b>Mask:</b><br />');
5757
$helper->log($mask . '<br />');
5858
$helper->log('<br /><b>Example:</b><br />');

samples/Wizards/NumberFormat/Scientific.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
$example = (string) NumberFormat::toFormattedString((float) $_POST['number'], $mask);
5353
$helper->log('<hr /><b>Code:</b><br />');
5454
$helper->log('use PhpOffice\PhpSpreadsheet\Style\NumberFormat\Wizard;');
55-
$helper->log("\$mask = Wizard\Scientific({$_POST['decimals']})<br />");
55+
$helper->log("\$mask = Wizard\\Scientific({$_POST['decimals']})<br />");
5656
$helper->log('<hr /><b>Mask:</b><br />');
5757
$helper->log($mask . '<br />');
5858
$helper->log('<br /><b>Example:</b><br />');

0 commit comments

Comments
 (0)