From ce116b9a67c9f8c9ee657211a030005bdf7310c4 Mon Sep 17 00:00:00 2001 From: Gregor Date: Wed, 7 Aug 2024 18:09:03 +0200 Subject: [PATCH 1/2] remove squizlabs/php_codesniffer from dev-requirements #23 --- composer.json | 1 - composer.lock | 82 +-------------------------------------------------- 2 files changed, 1 insertion(+), 82 deletions(-) diff --git a/composer.json b/composer.json index 18dd952..e40d7ec 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,6 @@ } }, "require-dev": { - "squizlabs/php_codesniffer": "^3.7", "phpunit/phpunit": "^9.0" }, "scripts": { diff --git a/composer.lock b/composer.lock index d622648..ade669f 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": "ad489487eb8085a090ad0f5313614689", + "content-hash": "2e9625bdb8bda51307b5061d60cd82ce", "packages": [ { "name": "php-sap/datetime", @@ -1805,86 +1805,6 @@ ], "time": "2020-09-28T06:39:44+00:00" }, - { - "name": "squizlabs/php_codesniffer", - "version": "3.10.2", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/86e5f5dd9a840c46810ebe5ff1885581c42a3017", - "reference": "86e5f5dd9a840c46810ebe5ff1885581c42a3017", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" - }, - "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" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "Former lead" - }, - { - "name": "Juliette Reinders Folmer", - "role": "Current lead" - }, - { - "name": "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.", - "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", - "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", - "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" - }, - "funding": [ - { - "url": "https://github.com/PHPCSStandards", - "type": "github" - }, - { - "url": "https://github.com/jrfnl", - "type": "github" - }, - { - "url": "https://opencollective.com/php_codesniffer", - "type": "open_collective" - } - ], - "time": "2024-07-21T23:26:44+00:00" - }, { "name": "theseer/tokenizer", "version": "1.2.3", From b3d2503c4e3cdfc7fd0eb1db587222c734f7d8a0 Mon Sep 17 00:00:00 2001 From: Gregor Date: Wed, 7 Aug 2024 18:09:34 +0200 Subject: [PATCH 2/2] remove phpunit script from composer --- composer.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/composer.json b/composer.json index e40d7ec..3ea8480 100644 --- a/composer.json +++ b/composer.json @@ -35,11 +35,5 @@ }, "require-dev": { "phpunit/phpunit": "^9.0" - }, - "scripts": { - "tests": "vendor/bin/phpunit" - }, - "scripts-descriptions": { - "tests": "Run all unit tests." } }