mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
change fixer config
This commit is contained in:
@@ -67,6 +67,8 @@ return (new PhpCsFixer\Config())
|
|||||||
'phpdoc_summary' => false,
|
'phpdoc_summary' => false,
|
||||||
'php_unit_test_class_requires_covers' => false,
|
'php_unit_test_class_requires_covers' => false,
|
||||||
'global_namespace_import' => false,
|
'global_namespace_import' => false,
|
||||||
|
'phpdoc_order' => false,
|
||||||
|
'no_useless_concat_operator' => false,
|
||||||
])
|
])
|
||||||
->setFinder(
|
->setFinder(
|
||||||
PhpCsFixer\Finder::create()
|
PhpCsFixer\Finder::create()
|
||||||
|
|||||||
@@ -14,8 +14,9 @@ function loader__generated_id__()
|
|||||||
require_once Phar::running() . '/' . $v;
|
require_once Phar::running() . '/' . $v;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ('__generate' . 'd_id__' === _PHAR_STUB_ID) {
|
if (('__generate' . 'd_id__') === _PHAR_STUB_ID) {
|
||||||
echo 'Cannot execute this file directly!' . PHP_EOL;
|
echo 'Cannot execute this file directly!' . PHP_EOL;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
/* @phpstan-ignore-next-line */
|
||||||
return json_decode(file_get_contents(__DIR__ . '/zmplugin.json'), true) ?? ['zm_module' => false];
|
return json_decode(file_get_contents(__DIR__ . '/zmplugin.json'), true) ?? ['zm_module' => false];
|
||||||
|
|||||||
Reference in New Issue
Block a user