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: composer/semver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.4.2
Choose a base ref
...
head repository: composer/semver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.4.3
Choose a head ref
  • 10 commits
  • 16 files changed
  • 4 contributors

Commits on Aug 21, 2024

  1. Fix: resolve PHP 8.3 deprecation in test suite (#161)

    Resolve the following deprecation when running the test suite with PHP 8.3:
    
        Remaining self deprecation notices (1)
          1x: Calling ReflectionProperty::setValue() with a single argument is deprecated
            1x in SemverTest::testUsortShouldInitialVersionParserClass from Composer\Semver
    
    Co-authored-by: Aad Mathijssen <aad.mathijssen@iodigital.com>
    aadmathijssen and aadmathijssen authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    420071a View commit details
    Browse the repository at this point in the history
  2. Mark all data providers as static (#163)

    Reasons:
    - consistency: some data providers were already static, now all of them are static
    - performance: the class does not need to be instantiated anymore to execute the data provider
    - future-proof: non-static data providers are deprecated in PHPUnit 10
    
    Co-authored-by: Aad Mathijssen <aad.mathijssen@iodigital.com>
    aadmathijssen and aadmathijssen authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    9569a83 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Prepare tests for PHPUnit 10 (#162)

    * Avoid mandatory `void` return type of the inherited `setUp` method in PHPUnit 10
    
    This is done by renaming the inherited `setUp` method to a new `setUpTestCase` method and adding an `@before` annotation.
    
    * Use `onlyMethods` instead of `setMethods` on MockBuilder instance when available
    
    This resolves the following error when running the test suite using PHPUnit 10:
    
        Call to undefined method PHPUnit\Framework\MockObject\MockBuilder::setMethods()
    
    ---------
    
    Co-authored-by: Aad Mathijssen <aad.mathijssen@iodigital.com>
    aadmathijssen and aadmathijssen authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    4b9538f View commit details
    Browse the repository at this point in the history
  2. Add PHP 8.3 to GitHub workflows (#164)

    Co-authored-by: Aad Mathijssen <aad.mathijssen@iodigital.com>
    aadmathijssen and aadmathijssen authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2d9c536 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f29591 View commit details
    Browse the repository at this point in the history
  4. Bump actions/checkout from 2 to 4 (#166)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v2...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    9f46b40 View commit details
    Browse the repository at this point in the history
  5. Bump actions/cache from 2 to 4 (#165)

    Bumps [actions/cache](https://github.com/actions/cache) from 2 to 4.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v2...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    df37d00 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Update CI (#167)

    Seldaek authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    6656025 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Fix types

    Seldaek committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    578f80e View commit details
    Browse the repository at this point in the history
  2. Update changelog

    Seldaek committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4313d26 View commit details
    Browse the repository at this point in the history
Loading