芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/vendor/johngrogg/ics-parser/ecs.php
parameters(); $parameters->set(Option::LINE_ENDING, "\n"); // https://github.com/symplify/easy-coding-standard/blob/master/config/set/psr12.php $parameters->set(Option::SETS, array('psr12')); $parameters->set(Option::SKIP, array( 'PhpCsFixer\Fixer\Basic\BracesFixer' => null, 'PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer' => null, 'PhpCsFixer\Fixer\Operator\NotOperatorWithSuccessorSpaceFixer' => null, 'PhpCsFixer\Fixer\Operator\PreIncrementFixer' => null, 'PhpCsFixer\Fixer\Phpdoc\PhpdocScalarFixer' => null, 'PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer' => null, 'PhpCsFixer\Fixer\Phpdoc\PhpdocVarAnnotationCorrectOrderFixer' => null, 'PhpCsFixer\Fixer\Phpdoc\PhpdocVarWithoutNameFixer' => null, 'PhpCsFixer\Fixer\ReturnNotation\SimplifiedNullReturnFixer' => null, // Requires PHP 7.1 and above 'PhpCsFixer\Fixer\ClassNotation\VisibilityRequiredFixer' => null, )); $services = $containerConfigurator->services(); $services->set(SpaceAfterNotSniff::class) ->property('spacing', 0); $services->set(ArraySyntaxFixer::class) ->call('configure', array(array('syntax' => 'long'))); $services->set(YodaStyleFixer::class) ->call('configure', array(array('equal' => false, 'identical' => false, 'less_and_greater' => false))); $services->set(BlankLineBeforeStatementFixer::class) ->call('configure', array(array('statements' => array('continue', 'declare', 'return', 'throw', 'try')))); $services->set(AssignmentInConditionSniff::class); $services->set(AlphabeticallySortedUsesSniff::class); $services->set(UnusedUsesSniff::class); $services->set(SelfMemberReferenceSniff::class); $services->set(NoAliasFunctionsFixer::class); $services->set(NoMixedEchoPrintFixer::class); $services->set(NoMultilineWhitespaceAroundDoubleArrowFixer::class); $services->set(NoTrailingCommaInSinglelineArrayFixer::class); $services->set(NormalizeIndexBraceFixer::class); $services->set(TrailingCommaInMultilineArrayFixer::class); $services->set(TrimArraySpacesFixer::class); $services->set(EncodingFixer::class); $services->set(Psr4Fixer::class); $services->set(LowercaseConstantsFixer::class); $services->set(LowercaseKeywordsFixer::class); $services->set(LowercaseStaticReferenceFixer::class); $services->set(MagicConstantCasingFixer::class); $services->set(MagicMethodCasingFixer::class); $services->set(NativeFunctionCasingFixer::class); $services->set(NativeFunctionTypeDeclarationCasingFixer::class); $services->set(CastSpacesFixer::class); $services->set(NoShortBoolCastFixer::class); $services->set(ClassDefinitionFixer::class); $services->set(MethodSeparationFixer::class); $services->set(SingleClassElementPerStatementFixer::class); $services->set(NoTrailingWhitespaceInCommentFixer::class); $services->set(SingleLineCommentStyleFixer::class); $services->set(ElseifFixer::class); $services->set(IncludeFixer::class); $services->set(NoTrailingCommaInListCallFixer::class); $services->set(NoUnneededControlParenthesesFixer::class); $services->set(NoUnneededCurlyBraces::class); $services->set(SwitchCaseSemicolonToColonFixer::class); $services->set(SwitchCaseSpaceFixer::class); $services->set(DoctrineAnnotationIndentationFixer::class); $services->set(FunctionDeclarationFixer::class); $services->set(FunctionTypehintSpaceFixer::class); $services->set(MethodArgumentSpaceFixer::class); $services->set(NoSpacesAfterFunctionNameFixer::class); $services->set(NoUnreachableDefaultArgumentValueFixer::class); $services->set(NoUnusedImportsFixer::class); $services->set(SingleImportPerStatementFixer::class); $services->set(SingleLineAfterImportsFixer::class); $services->set(ListSyntaxFixer::class); $services->set(NoLeadingNamespaceWhitespaceFixer::class); $services->set(SingleBlankLineBeforeNamespaceFixer::class); $services->set(AlignEqualsFixerHelper::class); $services->set(ObjectOperatorWithoutWhitespaceFixer::class); $services->set(StandardizeNotEqualsFixer::class); $services->set(FullOpeningTagFixer::class); $services->set(NoClosingTagFixer::class); $services->set(PhpdocNoUselessInheritdocFixer::class); $services->set(NoEmptyPhpdocFixer::class); $services->set(PhpdocIndentFixer::class); $services->set(PhpdocInlineTagFixer::class); $services->set(PhpdocNoAccessFixer::class); $services->set(PhpdocNoPackageFixer::class); $services->set(PhpdocSingleLineVarSpacingFixer::class); $services->set(PhpdocToCommentFixer::class); $services->set(PhpdocTrimFixer::class); $services->set(PhpdocTypesFixer::class); $services->set(NoUselessReturnFixer::class); $services->set(NoEmptyStatementFixer::class); $services->set(NoMultilineWhitespaceBeforeSemicolonsFixer::class); $services->set(SpaceAfterSemicolonFixer::class); $services->set(HeredocToNowdocFixer::class); $services->set(SingleQuoteFixer::class); $services->set(CompactNullableTypehint::class); $services->set(LineEndingFixer::class); $services->set(NoExtraConsecutiveBlankLinesFixer::class); $services->set(NoSpacesInsideParenthesisFixer::class); $services->set(NoWhitespaceInBlankLineFixer::class); $services->set(SingleBlankLineAtEofFixer::class); };