Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2016-2024 SonarSource SA
Copyright (C) 2016-2025 SonarSource SA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down
2 changes: 1 addition & 1 deletion MarketPlaceFiles/VS2022/overview-2022.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Check out the [source code on GitHub](https://github.com/SonarSource/sonarlint-v

## **License**

Copyright 2017-2024 SonarSource SA
Copyright 2017-2025 SonarSource SA

Licensed under the GNU Lesser General Public License, Version 3.0

Expand Down
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sonarlint-visualstudio
Copyright (C) 2016-2024 SonarSource SA
Copyright (C) 2016-2025 SonarSource SA
mailto:info AT sonarsource DOT com

This product includes software developed at
Expand Down
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ Check out the [contributing](CONTRIBUTING.md) page to see the best places to log

## License

Copyright 2016-2024 SonarSource.
Copyright 2016-2025 SonarSource.

Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)
2 changes: 1 addition & 1 deletion THIRD-PARTY-NOTICES
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The attached notices are provided for information only.
License notice for SonarQube analyzers
----------------------------------------------------------

Copyright (C) 2012-2024 SonarSource SA
Copyright (C) 2012-2025 SonarSource SA
All rights reserved.
mailto:info AT sonarsource DOT com

Expand Down
4 changes: 2 additions & 2 deletions src/AssemblyInfo.Shared.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -31,5 +31,5 @@
[assembly: AssemblyDescription("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyCompany("SonarSource")]
[assembly: AssemblyCopyright("Copyright © SonarSource SA 2016-2024")]
[assembly: AssemblyCopyright("Copyright © SonarSource SA 2016-2025")]
[assembly: AssemblyTrademark("")]
2 changes: 1 addition & 1 deletion src/CFamily.UnitTests/CMake/BuildConfigProviderTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily.UnitTests/CMake/CMakeHashCalculatorTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily.UnitTests/CMake/CMakeSettingsProviderTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
6 changes: 3 additions & 3 deletions src/CFamily.UnitTests/CMake/MacroEvaluationServiceTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -68,7 +68,7 @@ public void Evaluate_NoMacrosInInput_MacroEvaluatorNotCalled(string inputWithout
}

[TestMethod]
[DataRow("${name1}", "[XXX]")] // simple single param only
[DataRow("${name1}", "[XXX]")] // simple single param only
[DataRow("AAA_${name1}_BBB", "AAA_[XXX]_BBB")] // text and param
[DataRow("${name1}${name1}", "[XXX][XXX]")] // duplicate param
[DataRow("__${name1}__${a.x}__${AA.BB}__", "__[XXX]__[YYY]__[ZZZ]__")] // text and multiple params
Expand Down Expand Up @@ -126,7 +126,7 @@ private static Mock<IMacroEvaluator> CreateEvaluator(params (string macroPrefix,
{
Func<string, string, IEvaluationContext, string> finder = (prefix, name, context) =>
macroData.FirstOrDefault(x => x.macroPrefix == prefix && x.macroName == name).valueToReturn;

var evaluator = new Mock<IMacroEvaluator>();
evaluator.Setup(x => x.TryEvaluate(It.IsAny<string>(), It.IsAny<string>(), EvaluationContext))
.Returns(finder);
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily.UnitTests/CMake/MacroEvaluatorTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily/CMake/BuildConfigProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily/CMake/CMakeCompilationDatabaseLocator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily/CMake/CMakeHashCalculator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily/CMake/CMakeSettings.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
6 changes: 3 additions & 3 deletions src/CFamily/CMake/CMakeSettingsProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -37,8 +37,8 @@ internal interface ICMakeSettingsProvider

internal class CMakeSettingsSearchResult
{
public CMakeSettingsSearchResult(CMakeSettings settings,
string cMakeSettingsFilePath,
public CMakeSettingsSearchResult(CMakeSettings settings,
string cMakeSettingsFilePath,
string rootCMakeListsFilePath)
{
Settings = settings;
Expand Down
6 changes: 3 additions & 3 deletions src/CFamily/CMake/EvaluationContext.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -52,8 +52,8 @@ internal class EvaluationContext : IEvaluationContext
{
public EvaluationContext(string activeConfiguration,
string rootDirectory,
string generator,
string rootCMakeListsFilePath,
string generator,
string rootCMakeListsFilePath,
string cMakeSettingsFilePath)
{
ActiveConfiguration = activeConfiguration;
Expand Down
4 changes: 2 additions & 2 deletions src/CFamily/CMake/MacroEvaluationService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -89,7 +89,7 @@ public string Evaluate(string input, IEvaluationContext evaluationContext)
LogDebug($"{prefix}.{name} = {evaluatedProperty}");
sb.Replace(match.Value, evaluatedProperty);
}

return sb.ToString();
}

Expand Down
2 changes: 1 addition & 1 deletion src/CFamily/CMake/MacroEvaluator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily/IVCXCompilationDatabaseProvider.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion src/CFamily/InternalsVisibleTo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -195,7 +195,7 @@ public async Task GetConfig_HasActiveInactiveAndUnsupportedRules_ReturnsValidBin
var activeRules = new SonarQubeRule[]
{
CreateRule("activeRuleKey", "repoKey1", true),
ActiveTaintAnalysisRule,
ActiveTaintAnalysisRule,
ActiveRuleWithUnsupportedSeverity
};

Expand Down Expand Up @@ -340,7 +340,7 @@ public CSharpVBBindingConfigProvider CreateTestSubject()

BindingConfiguration = new BindingConfiguration(
new BoundServerProject("solution", ExpectedProjectKey, new ServerConnection.SonarQube(new Uri(serverUrl))),
SonarLintMode.Connected,
SonarLintMode.Connected,
"c:\\test\\");

var sonarProperties = PropertiesResponse.ToDictionary(x => x.Key, y => y.Value);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -57,7 +57,7 @@ public void GetCredentials_ProxiesToICredentialStoreService()
connectionCredentials.Password.Should().BeSameAs(password);
credentialStoreService.ReceivedWithAnyArgs(1).ReadCredentials(default);
}

[TestMethod]
public void GetCredentials_NoCredentials_ReturnsNull()
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2024 SonarSource SA
* Copyright (C) 2016-2025 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
Expand Down
Loading