diff --git a/SeptCodingStandard/ruleset.xml b/SeptCodingStandard/ruleset.xml index 67efb0f..cd362c4 100644 --- a/SeptCodingStandard/ruleset.xml +++ b/SeptCodingStandard/ruleset.xml @@ -29,32 +29,12 @@ - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - diff --git a/composer.json b/composer.json index b6e55fa..87477dd 100644 --- a/composer.json +++ b/composer.json @@ -12,17 +12,13 @@ } ], "require": { - "slevomat/coding-standard": ">=8.19", - "squizlabs/php_codesniffer": "^3.0", - "escapestudios/symfony2-coding-standard": "^3.16" + "slevomat/coding-standard": ">=8.23", + "squizlabs/php_codesniffer": "^4.0" }, "support" : { "source": "https://git.1sept.ru/1sept/sept-coding-standard.git", "issues": "https://git.1sept.ru/1sept/sept-coding-standard.git/issues" }, - "conflict": { - "squizlabs/php_codesniffer": "<3 || >=4" - }, "config": { "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true diff --git a/composer.lock b/composer.lock index 5b933a3..ab80fc8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d07ee3ff50e325eff0fa0e02a0879b6b", + "content-hash": "740fa72d0fbb610e313e50941ad1967d", "packages": [ { "name": "dealerdirect/phpcodesniffer-composer-installer", @@ -102,64 +102,6 @@ ], "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", "version": "2.3.0", @@ -209,32 +151,32 @@ }, { "name": "slevomat/coding-standard", - "version": "8.22.1", + "version": "8.23.0", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "1dd80bf3b93692bedb21a6623c496887fad05fec" + "reference": "ba476e9c5dd52107acb17e33a70034d65f380847" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/1dd80bf3b93692bedb21a6623c496887fad05fec", - "reference": "1dd80bf3b93692bedb21a6623c496887fad05fec", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/ba476e9c5dd52107acb17e33a70034d65f380847", + "reference": "ba476e9c5dd52107acb17e33a70034d65f380847", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.1.2", "php": "^7.4 || ^8.0", "phpstan/phpdoc-parser": "^2.3.0", - "squizlabs/php_codesniffer": "^3.13.4" + "squizlabs/php_codesniffer": "^4.0.0" }, "require-dev": { "phing/phing": "3.0.1|3.1.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-phpunit": "2.0.7", "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", "extra": { @@ -258,7 +200,7 @@ ], "support": { "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": [ { @@ -270,41 +212,36 @@ "type": "tidelift" } ], - "time": "2025-09-13T08:53:30+00:00" + "time": "2025-09-17T09:18:54+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.13.4", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119" + "reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119", - "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/06113cfdaf117fc2165f9cd040bd0f17fcd5242d", + "reference": "06113cfdaf117fc2165f9cd040bd0f17fcd5242d", "shasum": "" }, "require": { "ext-simplexml": "*", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "php": ">=5.4.0" + "php": ">=7.2.0" }, "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/phpcbf", "bin/phpcs" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -323,7 +260,7 @@ "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", "keywords": [ "phpcs", @@ -354,7 +291,7 @@ "type": "thanks_dev" } ], - "time": "2025-09-05T05:47:09+00:00" + "time": "2025-09-15T11:28:58+00:00" } ], "packages-dev": [],