OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
kreait
/
firebase-tokens
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:32:59 AM
rwxr-xr-x
📄
.editorconfig
320 bytes
08/12/2024 10:32:59 AM
rw-r--r--
📁
.git
-
08/12/2024 10:35:46 AM
rwxr-xr-x
📄
.gitattributes
338 bytes
08/12/2024 10:32:59 AM
rw-r--r--
📁
.github
-
08/12/2024 10:34:14 AM
rwxr-xr-x
📄
.gitignore
158 bytes
08/12/2024 10:32:59 AM
rw-r--r--
📄
.php-cs-fixer.dist.php
2.41 KB
08/12/2024 10:32:59 AM
rw-r--r--
📄
CHANGELOG.md
5.18 KB
08/12/2024 10:32:59 AM
rw-r--r--
📄
LICENSE
1.12 KB
08/12/2024 10:32:59 AM
rw-r--r--
📄
MIGRATE-1.x-to-2.0.md
3.79 KB
08/12/2024 10:32:59 AM
rw-r--r--
📄
Makefile
672 bytes
08/12/2024 10:32:59 AM
rw-r--r--
📄
README.md
6.84 KB
08/12/2024 10:32:59 AM
rw-r--r--
📄
composer.json
2.21 KB
08/12/2024 10:32:59 AM
rw-r--r--
📄
phpstan.neon.dist
415 bytes
08/12/2024 10:32:59 AM
rw-r--r--
📄
phpunit.xml.dist
689 bytes
08/12/2024 10:32:59 AM
rw-r--r--
📄
rector.php
931 bytes
08/12/2024 10:32:59 AM
rw-r--r--
📁
src
-
08/12/2024 10:36:28 AM
rwxr-xr-x
📁
tests
-
08/12/2024 10:36:29 AM
rwxr-xr-x
Editing: .php-cs-fixer.dist.php
Close
<?php declare(strict_types=1); $finder = PhpCsFixer\Finder::create() ->in(['src', 'tests']); // https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/doc/rules/index.rst return (new PhpCsFixer\Config()) ->setUsingCache(true) ->setRiskyAllowed(true) ->setRules([ '@PhpCsFixer' => true, 'declare_strict_types' => true, // Force strict types declaration in all files. 'native_function_invocation' => [ // Add leading \ before function invocation to speed up resolving. 'include' => [ '@all', ], 'scope' => 'all', 'strict' => true, ], 'no_alias_functions' => true, // Master functions shall be used instead of aliases. 'no_superfluous_phpdoc_tags' => [ // Removes @param, @return and @var tags that don't provide any useful information. 'allow_mixed' => true, 'allow_unused_params' => false, ], 'no_useless_sprintf' => true, 'ordered_class_elements' => [ // Orders the elements of classes/interfaces/traits. 'order' => ['use_trait'], ], 'phpdoc_align' => [ // All items of the given phpdoc tags must be either left-aligned or (by default) aligned vertically. 'align' => 'left', ], 'phpdoc_types_order' => [ // Sorts PHPDoc types. 'sort_algorithm' => 'none', 'null_adjustment' => 'always_last', ], 'php_unit_internal_class' => true, // All PHPUnit test classes should be marked as internal. 'php_unit_test_annotation' => true, // Adds or removes @test annotations from tests, following configuration. 'php_unit_test_class_requires_covers' => false, 'use_arrow_functions' => true, // Anonymous functions with one-liner return statement must use arrow functions. 'void_return' => true, // Add void return type to functions with missing or empty return statements, but priority is given to @return annotations. 'yoda_style' => [ // Write conditions in Yoda style (true), non-Yoda style (['equal' => false, 'identical' => false, 'less_and_greater' => false]) or ignore those conditions (null) based on configuration. 'equal' => null, 'identical' => null, 'less_and_greater' => null, 'always_move_variable' => false, ], ]) ->setFinder($finder);