php cs autofix

This commit is contained in:
Dennis Eichhorn 2020-08-31 22:30:36 +02:00
parent 03a46f6ef4
commit f02745b77e
3 changed files with 1808 additions and 1808 deletions

View File

@ -1,27 +1,27 @@
<?php declare(strict_types=1);
return [
'target_php_version' => null,
'strict_param_checking' => true,
'strict_property_checking' => true,
'strict_return_checking' => true,
'check_docblock_signature_return_type_match' => true,
'check_docblock_signature_param_type_match' => true,
'prefer_narrowed_phpdoc_param_type' => true,
'prefer_narrowed_phpdoc_return_type' => true,
'allow_method_param_type_widening' => false,
'dead_code_detection' => true,
'backward_compatibility_checks' => false,
'quick_mode' => false,
'analyze_signature_compatibility' => true,
'minimum_severity' => 0,
'allow_missing_properties' => false,
'null_casts_as_any_type' => false,
'null_casts_as_array' => false,
'array_casts_as_null' => false,
'scalar_implicit_cast' => false,
'scalar_implicit_partial' => [],
'target_php_version' => null,
'strict_param_checking' => true,
'strict_property_checking' => true,
'strict_return_checking' => true,
'check_docblock_signature_return_type_match' => true,
'check_docblock_signature_param_type_match' => true,
'prefer_narrowed_phpdoc_param_type' => true,
'prefer_narrowed_phpdoc_return_type' => true,
'allow_method_param_type_widening' => false,
'dead_code_detection' => true,
'backward_compatibility_checks' => false,
'quick_mode' => false,
'analyze_signature_compatibility' => true,
'minimum_severity' => 0,
'allow_missing_properties' => false,
'null_casts_as_any_type' => false,
'null_casts_as_array' => false,
'array_casts_as_null' => false,
'scalar_implicit_cast' => false,
'scalar_implicit_partial' => [],
'ignore_undeclared_variables_in_global_scope' => false,
'suppress_issue_types' => [
'suppress_issue_types' => [
'PhanUndeclaredClassMethod',
'PhanUndeclaredProperty',
'PhanUnreferencedPublicClassConstant',

File diff suppressed because it is too large Load Diff

View File

@ -43,7 +43,7 @@ foreach ($sources as $source) {
&& (($temp = \strlen($source->getPathname()) - \strlen('lang.php')) >= 0 && \strpos($source->getPathname(), 'lang.php', $temp) !== false)
&& \strlen(\explode('.', \basename($source->getPathname()))[0]) === 2
) {
$langFileContent = include $source->getPathname();
$langFileContent = include $source->getPathname();
$langs[\explode('.', \basename($source->getPathname()))[0]] = \end($langFileContent);
}
}