VCST-1274: restrict inviteUser only for commands with organizationId #310
module-ci.yml
on: pull_request
ci
2m 15s
module-katalon-tests
/
e2e-tests
Matrix: deploy-cloud / Deploy
Waiting for pending jobs
Annotations
10 warnings
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/ProfileSchema.cs(261,1): warning S103: Split this 350 characters long line (which is greater than 300 authorized). (https://rules.sonarsource.com/csharp/RSPEC-103) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Extensions/MemberExtensions.cs(18,64): warning S109: Assign this magic number '20' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/AddressTypeEnum.cs(12,46): warning S109: Assign this magic number '2' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/AddressTypeEnum.cs(13,42): warning S109: Assign this magic number '4' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/AddressTypeEnum.cs(14,66): warning S109: Assign this magic number '3' to a well-named variable or constant, and use that instead. (https://rules.sonarsource.com/csharp/RSPEC-109) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Schemas/VendorType.cs(14,12): warning S1541: The Cyclomatic Complexity of this constructor is 12 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Commands/ChangeOrganizationContactRoleCommandHandler.cs(68,13): warning S2259: 'user' is null on at least one execution path. (https://rules.sonarsource.com/csharp/RSPEC-2259) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Authorization/ProfileAuthorizationHandler.cs(31,39): warning S3776: Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Authorization/ProfileAuthorizationHandler.cs(31,39): warning S1541: The Cyclomatic Complexity of this method is 29 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|
ci
/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/Authorization/ProfileAuthorizationHandler.cs(31,39): warning S138: This method 'HandleRequirementAsync' has 138 lines, which is greater than the 80 lines authorized. Split it into smaller methods. (https://rules.sonarsource.com/csharp/RSPEC-138) [/home/runner/work/vc-module-profile-experience-api/vc-module-profile-experience-api/src/VirtoCommerce.ProfileExperienceApiModule.Data/VirtoCommerce.ProfileExperienceApiModule.Data.csproj]
|