代码拉取完成,页面将自动刷新
同步操作将从 广州胜任力教育研究院/eelly-sdk-php 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/usr/bin/env php
<?php
$fileHeaderComment = <<<COMMENT
This file is part of eelly package.
(c) eelly.com
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
COMMENT;
define('ROOT_PATH', __DIR__);
chdir(ROOT_PATH);
$finder = PhpCsFixer\Finder::create()
->in(__DIR__);
$rules = [
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHP71Migration' => true,
'@PHP71Migration:risky' => true,
'ordered_imports' => true,
'array_syntax' => ['syntax' => 'short'],
'header_comment' => ['header' => $fileHeaderComment],
'ordered_class_elements' => true,
'no_multiline_whitespace_before_semicolons' => true,
'binary_operator_spaces' => ['align_double_arrow' => true],
'declare_equal_normalize' => ['space' => 'none'],
'phpdoc_order' => true,
'phpdoc_no_alias_tag' => [],
'phpdoc_var_without_name' => false,
'increment_style' => ['style' => 'post'],
];
return PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules($rules)
->setFinder($finder)
->setCacheFile(sys_get_temp_dir().'/'.md5(__FILE__).'.php_cs.cache');
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。