Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SonarSource/sonar-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: SonarSource/sonar-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: mm/fix-mock-creation
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 0 files changed
  • 1 contributor

Commits on Jul 20, 2026

  1. Fix inline Mockito mock creation

    Extract the TypeTable mocks into local variables before passing them to thenReturn. This preserves Mockito unfinished-stubbing validation and resolves the two java:S9016 findings currently failing the Quality Gate.
    mostafa-mohammed-sonarsource committed Jul 20, 2026
    Configuration menu
    Copy the full SHA
    0e8af26 View commit details
    Browse the repository at this point in the history
  2. Merge origin/master into mm/fix-mock-creation

    Resolve the TypeMatcherImplTest conflict in favor of master's equivalent inline-mock fix, which uses Mockito type inference. The focused TypeMatcherImplTest suite continues to pass.
    mostafa-mohammed-sonarsource committed Jul 20, 2026
    Configuration menu
    Copy the full SHA
    b144bdb View commit details
    Browse the repository at this point in the history
Loading