From 2566f474cd0a7b60b541f8bc2ae417a6830ae111 Mon Sep 17 00:00:00 2001 From: Luke Rodgers Date: Fri, 4 Nov 2022 16:18:31 +0000 Subject: [PATCH] Run `composer validate` in CI --- .travis.yml | 1 + composer.json | 1 + composer.lock | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 36e57108..d59ad2ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ before_install: install: - composer self-update --2 + - composer validate - composer install # Run static analysis tests before trying to install the modules in magento - vendor/bin/php-cs-fixer fix --diff --dry-run diff --git a/composer.json b/composer.json index 10b372e9..cb958417 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ "classmap": ["src/"], "files": ["src/functions.php"] }, + "license": "LGPL-3.0-only", "require-dev": { "phpunit/phpunit": "^8.5|^9.5", "friendsofphp/php-cs-fixer": "^3.0" diff --git a/composer.lock b/composer.lock index f178e7ac..db77f242 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": "8d4614614acab1c327a791dace4003ca", + "content-hash": "6de2e3219f3d44ca99197f75e32c4d6a", "packages": [ { "name": "psr/container", @@ -1342,6 +1342,7 @@ "issues": "https://github.com/PHP-CS-Fixer/diff/issues", "source": "https://github.com/PHP-CS-Fixer/diff/tree/v2.0.2" }, + "abandoned": true, "time": "2020-10-14T08:32:19+00:00" }, { @@ -3817,5 +3818,5 @@ "php": "~7.2|~7.3|~7.4|~8.1" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.2.0" }