Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 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 @@ -394,7 +394,6 @@
<properties>
<property name="spacing" type="int" value="1"/>
<property name="spacingBeforeFirst" type="int" value="0"/>
<property name="ignoreNewlines" type="bool" value="true"/>
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
Expand All @@ -408,15 +407,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