From 71b20f6b548d4fbe4736c6ab112ad5ef9a885a6e Mon Sep 17 00:00:00 2001 From: Gregor Date: Wed, 7 Aug 2024 18:28:50 +0200 Subject: [PATCH 1/2] Remove squizlabs/php_codesniffer from composer dev-requirements --- composer.json | 3 +- composer.lock | 82 +-------------------------------------------------- 2 files changed, 2 insertions(+), 83 deletions(-) diff --git a/composer.json b/composer.json index ea51d3a..5536297 100644 --- a/composer.json +++ b/composer.json @@ -38,8 +38,7 @@ "require-dev": { "ext-json": "*", "phpunit/phpunit": "^9.6", - "php-sap/integration-tests": "^7.0", - "squizlabs/php_codesniffer": "^3.7" + "php-sap/integration-tests": "^7.0" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 5df046b..bdcc4f4 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": "8a148f7f5d9c23afb9bc5766699702bb", + "content-hash": "9e3c15c57bb73e6146eba405f5213235", "packages": [ { "name": "php-sap/common", @@ -2001,86 +2001,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 e95886a9ae83412ce6053cc79f75f7bad18cc391 Mon Sep 17 00:00:00 2001 From: Gregor Date: Wed, 7 Aug 2024 18:29:29 +0200 Subject: [PATCH 2/2] remove scripts from composer.json --- composer.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/composer.json b/composer.json index 5536297..447fdfe 100644 --- a/composer.json +++ b/composer.json @@ -49,11 +49,5 @@ "psr-4": { "tests\\phpsap\\saprfc\\": "tests/" } - }, - "scripts": { - "tests": "vendor/bin/phpunit" - }, - "scripts-descriptions": { - "tests": "Run all unit tests." } }