Skip to content

Commit e700fa5

Browse files
committed
cs
1 parent a9e7862 commit e700fa5

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
$this = 2;

src/Tracy/Helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function formatHtml(string $mask): string
6565
{
6666
$args = func_get_args();
6767
return preg_replace_callback('#%#', function () use (&$args, &$count): string {
68-
return Helpers::escapeHtml($args[++$count]);
68+
return self::escapeHtml($args[++$count]);
6969
}, $mask);
7070
}
7171

tools/create-phar/create-phar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function compressCss(string $s): string
5959

6060
} elseif ($file->getExtension() === 'phtml') {
6161
$s = preg_replace_callback('#(<(script|style).*(?<![?=])>)(.*)(</)#Uis', function ($m): string {
62-
list(, $begin, $type, $s, $end) = $m;
62+
[, $begin, $type, $s, $end] = $m;
6363

6464
if ($s === '' || strpos($s, '<?') !== false) {
6565
return $m[0];

0 commit comments

Comments
 (0)