|
383 | 383 | </properties> |
384 | 384 | </rule> |
385 | 385 | <rule ref="SlevomatCodingStandard.Variables.UselessVariable"/> |
386 | | - |
387 | | -<!-- <rule ref="SlevomatCodingStandard.ControlStructures.EarlyExit"/>--> |
388 | | -<!-- <rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition"/>--> |
389 | | -<!-- <rule ref="SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator"/>--> |
390 | | -<!-- <rule ref="SlevomatCodingStandard.ControlStructures.RequireYodaComparison"/>--> |
391 | | -<!-- <rule ref="SlevomatCodingStandard.ControlStructures.DisallowEmpty"/>--> |
392 | | -<!-- <rule ref="SlevomatCodingStandard.TypeHints.DisallowArrayTypeHintSyntax"/>--> |
393 | | -<!-- <rule ref="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint"/>--> |
394 | | -<!-- <rule ref="SlevomatCodingStandard.PHP.UselessParentheses"/>--> |
395 | | -<!-- <rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName"/> project based --> |
396 | | -<!-- <rule ref="SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces"/> project based --> |
397 | | -<!-- <rule ref="SlevomatCodingStandard.Operators.DisallowIncrementAndDecrementOperators"/>--> |
398 | | -<!-- <rule ref="SlevomatCodingStandard.Operators.RequireOnlyStandaloneIncrementAndDecrementOperators"/>--> |
399 | | -<!-- <rule ref="SlevomatCodingStandard.Functions.TrailingCommaInCall"/>--> |
400 | | -<!-- <rule ref="SlevomatCodingStandard.Functions.UnusedParameter"/>--> |
401 | | - |
402 | | - <!-- 6.0.0 php7.4 --> |
403 | | - <rule ref="SlevomatCodingStandard.Functions.RequireArrowFunction"/> |
404 | | -<!-- <rule ref="SlevomatCodingStandard.Functions.DisallowArrowFunction"/>--> |
405 | | -<!-- <rule ref="SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator"/>--> |
406 | | - <rule ref="SlevomatCodingStandard.Numbers.DisallowNumericLiteralSeparator"/> |
407 | | - <rule ref="SlevomatCodingStandard.PHP.RequireNowdoc"/> |
408 | | - <rule ref="SlevomatCodingStandard.PHP.ReferenceSpacing"/> |
409 | | - <rule ref="SlevomatCodingStandard.PHP.DisallowReference"/> |
410 | | - <rule ref="SlevomatCodingStandard.PHP.RequireExplicitAssertion"/> |
411 | | - <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint"> |
412 | | - <properties> |
413 | | - <property name="traversableTypeHints" type="array"> |
414 | | - <element value="Traversable"/> |
415 | | - </property> |
416 | | - </properties> |
417 | | - </rule> |
418 | | - <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint"> |
419 | | - <properties> |
420 | | - <property name="traversableTypeHints" type="array"> |
421 | | - <element value="Traversable"/> |
422 | | - </property> |
423 | | - </properties> |
424 | | - </rule> |
425 | | - <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint"> |
426 | | - <properties> |
427 | | - <property name="traversableTypeHints" type="array"> |
428 | | - <element value="Traversable"/> |
429 | | - </property> |
430 | | - </properties> |
431 | | - </rule> |
432 | | - <rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment"> |
433 | | - <properties> |
434 | | - <property name="traversableTypeHints" type="array"> |
435 | | - <element value="Traversable"/> |
436 | | - </property> |
437 | | - </properties> |
438 | | - </rule> |
| 386 | + <!--<rule ref="SlevomatCodingStandard.ControlStructures.EarlyExit"/>--> |
| 387 | + <!--<rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition"/>--> |
| 388 | + <!--<rule ref="SlevomatCodingStandard.ControlStructures.DisallowShortTernaryOperator"/>--> |
| 389 | + <!--<rule ref="SlevomatCodingStandard.ControlStructures.RequireYodaComparison"/>--> |
| 390 | + <!--<rule ref="SlevomatCodingStandard.ControlStructures.DisallowEmpty"/>--> |
| 391 | + <!--<rule ref="SlevomatCodingStandard.TypeHints.DisallowArrayTypeHintSyntax"/>--> |
| 392 | + <!--<rule ref="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint"/>--> |
| 393 | + <!--<rule ref="SlevomatCodingStandard.PHP.UselessParentheses"/>--> |
| 394 | + <!--<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName"/> project based --> |
| 395 | + <!--<rule ref="SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces"/> project based --> |
| 396 | + <!--<rule ref="SlevomatCodingStandard.Operators.DisallowIncrementAndDecrementOperators"/>--> |
| 397 | + <!--<rule ref="SlevomatCodingStandard.Operators.RequireOnlyStandaloneIncrementAndDecrementOperators"/>--> |
| 398 | + <!--<rule ref="SlevomatCodingStandard.Functions.TrailingCommaInCall"/>--> |
| 399 | + <!--<rule ref="SlevomatCodingStandard.Functions.UnusedParameter"/>--> |
| 400 | + <!--<rule ref="SlevomatCodingStandard.Functions.RequireArrowFunction"/>--> |
| 401 | + <!--<rule ref="SlevomatCodingStandard.Functions.DisallowArrowFunction"/>--> |
| 402 | + <!--<rule ref="SlevomatCodingStandard.Numbers.RequireNumericLiteralSeparator"/>--> |
| 403 | + <!--<rule ref="SlevomatCodingStandard.Numbers.DisallowNumericLiteralSeparator"/>--> |
| 404 | + <!--<rule ref="SlevomatCodingStandard.PHP.RequireNowdoc"/>--> |
| 405 | + <!--<rule ref="SlevomatCodingStandard.PHP.ReferenceSpacing"/>--> |
| 406 | + <!--<rule ref="SlevomatCodingStandard.PHP.DisallowReference"/>--> |
| 407 | + <!--<rule ref="SlevomatCodingStandard.PHP.RequireExplicitAssertion"/>--> |
| 408 | + <!--<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">--> |
| 409 | + <!-- <properties>--> |
| 410 | + <!-- <property name="traversableTypeHints" type="array">--> |
| 411 | + <!-- <element value="Traversable"/>--> |
| 412 | + <!-- </property>--> |
| 413 | + <!-- </properties>--> |
| 414 | + <!--</rule>--> |
| 415 | + <!--<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint">--> |
| 416 | + <!-- <properties>--> |
| 417 | + <!-- <property name="traversableTypeHints" type="array">--> |
| 418 | + <!-- <element value="Traversable"/>--> |
| 419 | + <!-- </property>--> |
| 420 | + <!-- </properties>--> |
| 421 | + <!--</rule>--> |
| 422 | + <!--<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">--> |
| 423 | + <!-- <properties>--> |
| 424 | + <!-- <property name="traversableTypeHints" type="array">--> |
| 425 | + <!-- <element value="Traversable"/>--> |
| 426 | + <!-- </property>--> |
| 427 | + <!-- </properties>--> |
| 428 | + <!--</rule>--> |
| 429 | + <!--<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment">--> |
| 430 | + <!-- <properties>--> |
| 431 | + <!-- <property name="traversableTypeHints" type="array">--> |
| 432 | + <!-- <element value="Traversable"/>--> |
| 433 | + <!-- </property>--> |
| 434 | + <!-- </properties>--> |
| 435 | + <!--</rule>--> |
| 436 | + <!--<rule ref="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing">--> |
| 437 | + <!-- <properties>--> |
| 438 | + <!-- <property name="tokensToCheck" type="array">--> |
| 439 | + <!-- <element value="T_BREAK"/>--> |
| 440 | + <!-- <element value="T_CONTINUE"/>--> |
| 441 | + <!-- <element value="T_RETURN"/>--> |
| 442 | + <!-- <element value="T_THROW"/>--> |
| 443 | + <!-- </property>--> |
| 444 | + <!-- </properties>--> |
| 445 | + <!--</rule>--> |
439 | 446 | <rule ref="SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing"> |
440 | 447 | <exclude name="SlevomatCodingStandard.ControlStructures.BlockControlStructureSpacing.IncorrectLinesCountBeforeControlStructure"/> |
441 | 448 | <properties> |
|
447 | 454 | <element value="T_FOREACH"/> |
448 | 455 | <element value="T_SWITCH"/> |
449 | 456 | <element value="T_TRY"/> |
450 | | -<!-- <element value="T_CASE"/>--> |
| 457 | + <!--<element value="T_CASE"/>--> |
451 | 458 | <element value="T_DEFAULT"/> |
452 | 459 | </property> |
453 | 460 | </properties> |
454 | 461 | </rule> |
455 | | - <rule ref="SlevomatCodingStandard.ControlStructures.JumpStatementsSpacing"> |
456 | | - <properties> |
457 | | - <property name="tokensToCheck" type="array"> |
458 | | - <element value="T_BREAK"/> |
459 | | - <element value="T_CONTINUE"/> |
460 | | - <element value="T_RETURN"/> |
461 | | - <element value="T_THROW"/> |
462 | | - </property> |
463 | | - </properties> |
464 | | - </rule> |
465 | 462 | </ruleset> |
0 commit comments