From 84e41c524a7a7f31212e4aab90832f2a7035f569 Mon Sep 17 00:00:00 2001 From: Martin Komischke Date: Fri, 30 Jan 2026 14:27:17 +0100 Subject: [PATCH] make it MIT --- LICENSE.md | 46 +++++++++++++----------- backend/src/SplitFairly/Compensation.php | 2 +- frontend/package-lock.json | 6 ++-- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 489cc99..1c4a05b 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,22 +1,26 @@ -# Lizenz / License +The MIT License (MIT) +===================== + +Copyright © Martin Komischke + +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. -**Copyright (c) 2024–2026 Martin Komischke** -**All rights reserved / Alle Rechte vorbehalten** - ---- - -## DEUTSCH - -Dieser Quellcode ist ausschließlich für den privaten Gebrauch durch Personen bestimmt, denen ich den Quellcode ausdrücklich zur Verfügung gestellt habe. -Eine Vervielfältigung, Verbreitung, Veröffentlichung oder Weitergabe – ganz oder in Teilen – an Dritte ist ohne meine ausdrückliche schriftliche Zustimmung nicht gestattet. - -Zuwiderhandlungen werden urheberrechtlich verfolgt. - ---- - -## ENGLISH - -This source code is intended solely for private use by individuals to whom I have explicitly provided access. -Reproduction, distribution, publication, or sharing – in whole or in part – with third parties is strictly prohibited without my prior written consent. - -Violations will be prosecuted under copyright law. diff --git a/backend/src/SplitFairly/Compensation.php b/backend/src/SplitFairly/Compensation.php index fead6e4..c15e768 100644 --- a/backend/src/SplitFairly/Compensation.php +++ b/backend/src/SplitFairly/Compensation.php @@ -17,7 +17,7 @@ public static function calculate(Expenses $a, Expenses $b): self { $spentDiff = $a->spent()->substract($b->spent()); $lentDiff = $a->lent()->substract($b->lent()); - + $totalDiff = $spentDiff->add($lentDiff); return new Compensation( diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 06990f9..4130e3c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1832,7 +1832,7 @@ "version": "19.2.10", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.10.tgz", "integrity": "sha512-WPigyYuGhgZ/cTPRXB2EwUw+XvsRA3GqHlsP4qteqrnnjDrApbS7MxcGr/hke5iUoeB7E/gQtrs9I37zAJ0Vjw==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "csstype": "^3.2.2" @@ -1842,7 +1842,7 @@ "version": "19.2.3", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", - "devOptional": true, + "dev": true, "license": "MIT", "peerDependencies": { "@types/react": "^19.2.0" @@ -2128,7 +2128,7 @@ "version": "3.2.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", - "devOptional": true, + "dev": true, "license": "MIT" }, "node_modules/debug": {