From 0f3b19ba490a2783fa2d351ffb0b1e198a09716c Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Sat, 3 Jun 2017 11:48:32 +0200 Subject: [PATCH] TASK: Adding licence --- Classes/MenuService/SettingsService.php | 2 +- License.txt | 19 +++++++++++++++++++ composer.json | 20 ++++++++++++++++---- 3 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 License.txt diff --git a/Classes/MenuService/SettingsService.php b/Classes/MenuService/SettingsService.php index bd29f83..54db405 100644 --- a/Classes/MenuService/SettingsService.php +++ b/Classes/MenuService/SettingsService.php @@ -49,7 +49,7 @@ class SettingsService implements ServiceInterface { if ($forMenu) { $items = &$this->menuConfiguration[$forMenu]; - }else { + } else { $items = &$this->menuConfiguration; } if ($items) { diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..2ffa411 --- /dev/null +++ b/License.txt @@ -0,0 +1,19 @@ +Copyright (c) 2016 Ferdinand Kuhl + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/composer.json b/composer.json index afad4be..2b742f3 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,25 @@ { "name":"digicomp/menu", "type":"typo3-flow-package", - "description":"Menu", + "description": "Helps with the creation of simple fluid based menus", + "keywords": [ + "flow", + "neos", + "menu" + ], + "authors": [ + { + "name": "Ferdinand Kuhl", + "email": "f.kuhl@digital-competence.de", + "homepage": "http://www.digital-competence.de", + "role": "Developer" + } + ], + "license": "MIT", + "homepage": "https://github.com/digicomp/DigiComp.Sequence", "require":{ "typo3/flow":"~2.0|~3.0" }, - "require-dev":{ - "phpunit/phpunit": "3.7.*" - }, "autoload":{ "psr-4":{ "DigiComp\\Menu\\":"Classes"