From 3d4286952cadced10178e9ddeb80825762b2d6e5 Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Wed, 14 Apr 2021 23:20:42 +0100 Subject: [PATCH] chore: update linting commands, correct license --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 4b3354c..6813f67 100644 --- a/composer.json +++ b/composer.json @@ -1,15 +1,15 @@ { "name": "markcheret/footnotes", "description": "footnotes aims to be the all-in-one solution for displaying an automatically-generated list of references on your WordPress Page or Post.", - "license": "GPL-3.0-or-later", + "license": "GPL-3.0", "scripts": { "release": "./_tools/release.sh", "release:commit": "composer run release -- -c", "build": "./_tools/build.sh", - "lint-php": "./vendor/bin/phpcs --standard='WordPress' --colors --encoding=utf-8 -n -p --ignore=*/vendor/* ./*.php ./*/*.php ./*/*/*.php", - "lint-php:fix": "./vendor/bin/phpcbf --standard='WordPress' --encoding=utf-8 -p --ignore=*/vendor/* ./*.php ./*/*.php ./*/*/*.php", - "lint-css": "echo TODO", - "lint-js": "echo TODO", + "lint:php": "./vendor/bin/phpcs --standard='WordPress' --colors --encoding=utf-8 -n -p --ignore=*/vendor/* ./*.php ./*/*.php ./*/*/*.php", + "lint:php:fix": "./vendor/bin/phpcbf --standard='WordPress' --encoding=utf-8 -p --ignore=*/vendor/* ./*.php ./*/*.php ./*/*/*.php", + "lint:css": "echo TODO", + "lint:js": "echo TODO", "docs": "./vendor/bin/phpdoc -d . -t ./docs --ignore vendor/", "commit": "./vendor/bin/php-commitizen commit -- ./.php-commitizen.php", "post-install-cmd": "./_tools/setup.sh"