upd
This commit is contained in:
@@ -29,32 +29,12 @@
|
|||||||
|
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
<!-- Include the whole Symfony standard -->
|
<ruleset name="AcmeProject">
|
||||||
<rule ref="vendor/escapestudios/symfony2-coding-standard/Symfony/ruleset.xml"><!-- relative path to your ruleset.xml -->
|
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml"><!-- relative path to your ruleset.xml -->
|
||||||
<!-- sniffs to exclude -->
|
<!-- sniffs to exclude -->
|
||||||
<exclude name="Symfony.Functions.Arguments.Invalid" />
|
</rule>
|
||||||
|
</ruleset>
|
||||||
|
|
||||||
<exclude name="Symfony.NamingConventions.ValidClassName.InvalidInterfaceName" />
|
|
||||||
<exclude name="Symfony.NamingConventions.ValidClassName.InvalidTraitName" />
|
|
||||||
|
|
||||||
<exclude name="Symfony.Errors.ExceptionMessage.Invalid" />
|
|
||||||
|
|
||||||
<exclude name="Symfony.Commenting.ClassComment.Missing" />
|
|
||||||
<exclude name="Symfony.Commenting.License.Warning" />
|
|
||||||
<exclude name="Symfony.Commenting.FunctionComment.ParamNameNoMatch" />
|
|
||||||
<exclude name="Symfony.Commenting.FunctionComment.MissingParamTag" />
|
|
||||||
<exclude name="Symfony.Commenting.FunctionComment.MissingReturn" />
|
|
||||||
<exclude name="Symfony.Commenting.Annotations.Invalid" />
|
|
||||||
<exclude name="Symfony.Commenting.FunctionComment.SpacingAfterParamType" />
|
|
||||||
|
|
||||||
<exclude name="Squiz.Strings.ConcatenationSpacing.PaddingFound" />
|
|
||||||
|
|
||||||
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
|
|
||||||
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" />
|
|
||||||
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification" />
|
|
||||||
<exclude name="SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment.AttributeBeforeDocComment" />
|
|
||||||
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat" />
|
|
||||||
</rule>
|
|
||||||
|
|
||||||
<!-- Force array element indentation with 4 spaces -->
|
<!-- Force array element indentation with 4 spaces -->
|
||||||
<rule ref="Generic.Arrays.ArrayIndent"/>
|
<rule ref="Generic.Arrays.ArrayIndent"/>
|
||||||
|
|||||||
@@ -12,17 +12,13 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"slevomat/coding-standard": ">=8.19",
|
"slevomat/coding-standard": ">=8.23",
|
||||||
"squizlabs/php_codesniffer": "^3.0",
|
"squizlabs/php_codesniffer": "^4.0"
|
||||||
"escapestudios/symfony2-coding-standard": "^3.16"
|
|
||||||
},
|
},
|
||||||
"support" : {
|
"support" : {
|
||||||
"source": "https://git.1sept.ru/1sept/sept-coding-standard.git",
|
"source": "https://git.1sept.ru/1sept/sept-coding-standard.git",
|
||||||
"issues": "https://git.1sept.ru/1sept/sept-coding-standard.git/issues"
|
"issues": "https://git.1sept.ru/1sept/sept-coding-standard.git/issues"
|
||||||
},
|
},
|
||||||
"conflict": {
|
|
||||||
"squizlabs/php_codesniffer": "<3 || >=4"
|
|
||||||
},
|
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||||
|
|||||||
99
composer.lock
generated
99
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "d07ee3ff50e325eff0fa0e02a0879b6b",
|
"content-hash": "740fa72d0fbb610e313e50941ad1967d",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "dealerdirect/phpcodesniffer-composer-installer",
|
"name": "dealerdirect/phpcodesniffer-composer-installer",
|
||||||
@@ -102,64 +102,6 @@
|
|||||||
],
|
],
|
||||||
"time": "2025-07-17T20:45:56+00:00"
|
"time": "2025-07-17T20:45:56+00:00"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "escapestudios/symfony2-coding-standard",
|
|
||||||
"version": "3.16.0",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/djoos/Symfony-coding-standard.git",
|
|
||||||
"reference": "5a8962f81ac04c8e5d67acf619823c1cb883a627"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/djoos/Symfony-coding-standard/zipball/5a8962f81ac04c8e5d67acf619823c1cb883a627",
|
|
||||||
"reference": "5a8962f81ac04c8e5d67acf619823c1cb883a627",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"squizlabs/php_codesniffer": "^3.3.1"
|
|
||||||
},
|
|
||||||
"conflict": {
|
|
||||||
"squizlabs/php_codesniffer": "<3 || >=4"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
|
|
||||||
},
|
|
||||||
"type": "phpcodesniffer-standard",
|
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "3.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "David Joos",
|
|
||||||
"email": "iam@davidjoos.com"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Community contributors",
|
|
||||||
"homepage": "https://github.com/djoos/Symfony-coding-standard/graphs/contributors"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "CodeSniffer ruleset for the Symfony 2+ coding standard",
|
|
||||||
"homepage": "https://github.com/djoos/Symfony-coding-standard",
|
|
||||||
"keywords": [
|
|
||||||
"Coding Standard",
|
|
||||||
"Symfony2",
|
|
||||||
"phpcs",
|
|
||||||
"static analysis",
|
|
||||||
"symfony"
|
|
||||||
],
|
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/djoos/Symfony-coding-standard/issues",
|
|
||||||
"source": "https://github.com/djoos/Symfony-coding-standard"
|
|
||||||
},
|
|
||||||
"time": "2025-07-09T10:52:53+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpdoc-parser",
|
"name": "phpstan/phpdoc-parser",
|
||||||
"version": "2.3.0",
|
"version": "2.3.0",
|
||||||
@@ -209,32 +151,32 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "slevomat/coding-standard",
|
"name": "slevomat/coding-standard",
|
||||||
"version": "8.22.1",
|
"version": "8.23.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/slevomat/coding-standard.git",
|
"url": "https://github.com/slevomat/coding-standard.git",
|
||||||
"reference": "1dd80bf3b93692bedb21a6623c496887fad05fec"
|
"reference": "ba476e9c5dd52107acb17e33a70034d65f380847"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/slevomat/coding-standard/zipball/1dd80bf3b93692bedb21a6623c496887fad05fec",
|
"url": "https://api.github.com/repos/slevomat/coding-standard/zipball/ba476e9c5dd52107acb17e33a70034d65f380847",
|
||||||
"reference": "1dd80bf3b93692bedb21a6623c496887fad05fec",
|
"reference": "ba476e9c5dd52107acb17e33a70034d65f380847",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.1.2",
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.1.2",
|
||||||
"php": "^7.4 || ^8.0",
|
"php": "^7.4 || ^8.0",
|
||||||
"phpstan/phpdoc-parser": "^2.3.0",
|
"phpstan/phpdoc-parser": "^2.3.0",
|
||||||
"squizlabs/php_codesniffer": "^3.13.4"
|
"squizlabs/php_codesniffer": "^4.0.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phing/phing": "3.0.1|3.1.0",
|
"phing/phing": "3.0.1|3.1.0",
|
||||||
"php-parallel-lint/php-parallel-lint": "1.4.0",
|
"php-parallel-lint/php-parallel-lint": "1.4.0",
|
||||||
"phpstan/phpstan": "2.1.24",
|
"phpstan/phpstan": "2.1.26",
|
||||||
"phpstan/phpstan-deprecation-rules": "2.0.3",
|
"phpstan/phpstan-deprecation-rules": "2.0.3",
|
||||||
"phpstan/phpstan-phpunit": "2.0.7",
|
"phpstan/phpstan-phpunit": "2.0.7",
|
||||||
"phpstan/phpstan-strict-rules": "2.0.6",
|
"phpstan/phpstan-strict-rules": "2.0.6",
|
||||||
"phpunit/phpunit": "9.6.8|10.5.48|11.4.4|11.5.36|12.3.10"
|
"phpunit/phpunit": "9.6.8|10.5.48|11.4.4|11.5.36|12.3.11"
|
||||||
},
|
},
|
||||||
"type": "phpcodesniffer-standard",
|
"type": "phpcodesniffer-standard",
|
||||||
"extra": {
|
"extra": {
|
||||||
@@ -258,7 +200,7 @@
|
|||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/slevomat/coding-standard/issues",
|
"issues": "https://github.com/slevomat/coding-standard/issues",
|
||||||
"source": "https://github.com/slevomat/coding-standard/tree/8.22.1"
|
"source": "https://github.com/slevomat/coding-standard/tree/8.23.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -270,41 +212,36 @@
|
|||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-09-13T08:53:30+00:00"
|
"time": "2025-09-17T09:18:54+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "squizlabs/php_codesniffer",
|
"name": "squizlabs/php_codesniffer",
|
||||||
"version": "3.13.4",
|
"version": "4.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
|
"url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
|
||||||
"reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119"
|
"reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119",
|
"url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/06113cfdaf117fc2165f9cd040bd0f17fcd5242d",
|
||||||
"reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119",
|
"reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-simplexml": "*",
|
"ext-simplexml": "*",
|
||||||
"ext-tokenizer": "*",
|
"ext-tokenizer": "*",
|
||||||
"ext-xmlwriter": "*",
|
"ext-xmlwriter": "*",
|
||||||
"php": ">=5.4.0"
|
"php": ">=7.2.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
|
"phpunit/phpunit": "^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31"
|
||||||
},
|
},
|
||||||
"bin": [
|
"bin": [
|
||||||
"bin/phpcbf",
|
"bin/phpcbf",
|
||||||
"bin/phpcs"
|
"bin/phpcs"
|
||||||
],
|
],
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "3.x-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
"license": [
|
"license": [
|
||||||
"BSD-3-Clause"
|
"BSD-3-Clause"
|
||||||
@@ -323,7 +260,7 @@
|
|||||||
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
|
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
|
"description": "PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.",
|
||||||
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
|
"homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"phpcs",
|
"phpcs",
|
||||||
@@ -354,7 +291,7 @@
|
|||||||
"type": "thanks_dev"
|
"type": "thanks_dev"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-09-05T05:47:09+00:00"
|
"time": "2025-09-15T11:28:58+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [],
|
"packages-dev": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user