From 149d7ce991d169d4b43efe9161ce306c5ea9dcad Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 26 Apr 2021 12:56:27 +0200 Subject: [PATCH] chore: Add/update static files. --- LICENSE | 8 ++++---- composer.json | 1 + grumphp.yml | 10 ++++++++++ resource/header.txt | 5 +++++ 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 grumphp.yml create mode 100644 resource/header.txt diff --git a/LICENSE b/LICENSE index 1cf094aab..be3f7b28e 100644 --- a/LICENSE +++ b/LICENSE @@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - chill-bundles - Copyright (C) 2021 Chill Project + + Copyright (C) This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published - by the Free Software Foundation, either version 3 of the License, or + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, diff --git a/composer.json b/composer.json index 18722a420..bfa6e3e59 100644 --- a/composer.json +++ b/composer.json @@ -52,6 +52,7 @@ }, "require-dev": { "doctrine/doctrine-fixtures-bundle": "^3.3", + "drupol/php-conventions": "^5", "fakerphp/faker": "^1.13", "nelmio/alice": "^3.8", "phpstan/extension-installer": "^1.1", diff --git a/grumphp.yml b/grumphp.yml new file mode 100644 index 000000000..838493a81 --- /dev/null +++ b/grumphp.yml @@ -0,0 +1,10 @@ +imports: + - { resource: tests/app/vendor/drupol/php-conventions/config/php73/grumphp.yml } + +parameters: + tasks.phpcsfixer.config: .php_cs.dist.php + tasks.license.name: AGPL-3.0 + tasks.license.holder: Champs-Libres + tasks.license.date_from: 2001 + + tasks.phpcsfixer.allow_risky: false diff --git a/resource/header.txt b/resource/header.txt new file mode 100644 index 000000000..4f6730dc9 --- /dev/null +++ b/resource/header.txt @@ -0,0 +1,5 @@ +Chill is a software for social workers + +For the full copyright and license information, please view +the LICENSE file that was distributed with this source code. +