Skip to content

Commit

Permalink
Фикс версии 2-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenidev committed Jan 23, 2024
1 parent 0f82fcf commit 246dfd7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
13 changes: 4 additions & 9 deletions RUVENTS/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<rule ref="RUVENTS.Views.ShortEcho"/>
<rule ref="RUVENTS.Views.ShortTagWhitespace"/>
<rule ref="RUVENTS.Functions.UselessParameterDefaultValue">
<rule ref="RUVENTS.Views.ShortTagForce"></rule>
<rule ref="RUVENTS.Views.ShortTagForce"></rule>
<exclude name="SlevomatCodingStandard.Functions.UselessParameterDefaultValue.UselessParameterDefaultValue"/>
</rule>
<rule ref="RUVENTS.NamingConventions.CamelCaseFunctionName">
Expand Down Expand Up @@ -408,15 +408,10 @@
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>

<!-- PSR2R -->
<rule ref="PSR2R.Classes.ClassCreateInstance"/>
<rule ref="PSR2R.Classes.ClassFileName"/>
<!--<rule ref="PSR2R.Classes.InterfaceName"/> toDo: Спорная вещь. Обсудить... -->
<rule ref="PSR2R.Classes.PropertyDeclaration"/>
<rule ref="PSR2R.Classes.SelfAccessor"/>
<!--<rule ref="PSR2R.Classes.TraitName"/> toDo: Спорная вещь. Обсудить... -->

<rule ref="SlevomatCodingStandard.Functions">
<exclude name="SlevomatCodingStandard.Functions.FunctionLength.FunctionLength"/>
<exclude name="SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall.DisallowedTrailingComma"/>
<exclude name="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall.MissingTrailingComma"/>
<!-- Рано такое делать. IDEA/PhpStorm не умеют форматировать такие... -->
<exclude name="SlevomatCodingStandard.Functions.TrailingCommaInCall.MissingTrailingComma"/>
</rule>
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
]
},
"require": {
"php": ">=7.1",
"php": ">=8.2",
"ext-json": "*",
"squizlabs/php_codesniffer": "3.5.8",
"slevomat/coding-standard": "6.4.1",
"fig-r/psr2r-sniffer": "0.5.0",
"squizlabs/php_codesniffer": "3.8.1",
"slevomat/coding-standard": "8.14.1",
"fig-r/psr2r-sniffer": "2.0.0",
"pheromone/phpcs-security-audit": "2.0.1",
"escapestudios/symfony2-coding-standard": "3.11.0"
"escapestudios/symfony2-coding-standard": "3.13.0"
},
"require-dev": {
"roave/security-advisories": "dev-master",
Expand Down

0 comments on commit 246dfd7

Please sign in to comment.