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: sebastianbergmann/phpunit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 11.2.0
Choose a base ref
...
head repository: sebastianbergmann/phpunit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 11.2.1
Choose a head ref
  • 11 commits
  • 10 files changed
  • 2 contributors

Commits on Jun 8, 2024

  1. Add test

    sebastianbergmann committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    71bde40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    deccf9e View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. [TASK] Provide a test to demonstrate a regresision

    This change adds a fixture class and a MockBuilder test
    to showcase a regression introduced with version 11.2.0.
    
    Given is a class, where one method is mocked using the
    `onlyMethods()` option to check the method gets called.
    The method is called in the class constructor and also
    in other public method.
    
    Providing a test mocking that method this breaks since
    11.2.0 - albeit having the count in previous version
    only working for calls to the mock method AFTER the
    constructor call.
    
    Following exception thrown is not expectd:
    
        Error: Typed property
        MockObject_ClassCallingMethodInConstructor_b5ada611::$__phpunit_state
        must not be accessed before initialization
    
    Related: #5857
    sbuerk authored and sebastianbergmann committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    e5b3c30 View commit details
    Browse the repository at this point in the history
  2. Fix CS/WS issue

    sebastianbergmann committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    ae39c2a View commit details
    Browse the repository at this point in the history
  3. Improve test name

    sebastianbergmann committed Jun 9, 2024
    Configuration menu
    Copy the full SHA
    28ca43a View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    18e3f20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    103e228 View commit details
    Browse the repository at this point in the history
  3. Closes #5859

    sebastianbergmann committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    4c37cbd View commit details
    Browse the repository at this point in the history
  4. Closes #5857

    sebastianbergmann committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    a5a2676 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e45a2c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Prepare release

    sebastianbergmann committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    1b87757 View commit details
    Browse the repository at this point in the history
Loading