From f1a32e161f585fe729b8dba78c5a089b1ca4cb73 Mon Sep 17 00:00:00 2001 From: JamesRezo <james@rezo.net> Date: Thu, 23 Mar 2023 18:39:50 +0100 Subject: [PATCH] chore: composer normalize --- composer.json | 12 ++++++------ rector.php | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 51be450..afaf764 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,13 @@ { "name": "spip/images", - "type": "spip-plugin", "description": "Filtres de transformation d'image et de couleurs", "license": "GPL-3.0-or-later", + "type": "spip-plugin", "authors": [ { "name": "Collectif SPIP", - "role": "Maintainer", - "homepage": "https://discuter.spip.net/c/spip-dev/5" + "homepage": "https://discuter.spip.net/c/spip-dev/5", + "role": "Maintainer" } ], "require": { @@ -15,10 +15,10 @@ }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^1.0", - "phpstan/phpstan": "^1.10", - "spip/coding-standards": "^1.3", "phpcompatibility/php-compatibility": "dev-develop", - "rector/rector": "^0.15.23" + "phpstan/phpstan": "^1.10", + "rector/rector": "^0.15.23", + "spip/coding-standards": "^1.3" }, "config": { "allow-plugins": { diff --git a/rector.php b/rector.php index 5e9e33e..22bc73a 100644 --- a/rector.php +++ b/rector.php @@ -8,6 +8,7 @@ use Rector\Set\ValueObject\LevelSetList; return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ __DIR__ . '/filtres', + __DIR__ . '/images_fonctions.php', ]); $rectorConfig->sets([ -- GitLab