From 97e5f6876b2a06fc3b764984646cba1f204b801d Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Sat, 2 Nov 2024 16:58:26 +0100 Subject: [PATCH] Ajout de la configuration pour renovate --- renovate.json | 16 ++++++++++++++++ src/LittleTown.Core.Tests/ExceptionTesting.cs | 3 --- src/LittleTown.Core/MatchAggregate/Match.cs | 1 + 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..eea98fa --- /dev/null +++ b/renovate.json @@ -0,0 +1,16 @@ +{ + "extends": [ + "config:base" + ], + "packageRules": [ + { + "updateTypes": [ + "minor", + "patch", + "pin", + "digest" + ], + "automerge": false + } + ] +} \ No newline at end of file diff --git a/src/LittleTown.Core.Tests/ExceptionTesting.cs b/src/LittleTown.Core.Tests/ExceptionTesting.cs index 1515834..82de54f 100644 --- a/src/LittleTown.Core.Tests/ExceptionTesting.cs +++ b/src/LittleTown.Core.Tests/ExceptionTesting.cs @@ -1,7 +1,4 @@ -using System.Reflection; using System.Text.Json; -using AutoMapper.Internal; -using LittleTown.Core.Exceptions; using LittleTown.StaticDataAcces; namespace LittleTown.Core.Tests; diff --git a/src/LittleTown.Core/MatchAggregate/Match.cs b/src/LittleTown.Core/MatchAggregate/Match.cs index f94365a..1b15716 100644 --- a/src/LittleTown.Core/MatchAggregate/Match.cs +++ b/src/LittleTown.Core/MatchAggregate/Match.cs @@ -166,6 +166,7 @@ public class Match } return result; } + /// Changer le joueur en cours pour passer au suivant public void NextPlayer() { _currentPlayerIndex++; -- 2.49.1