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: Yoast/PHPUnit-Polyfills
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.1.4
Choose a base ref
...
head repository: Yoast/PHPUnit-Polyfills
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.1.5
Choose a head ref
  • 16 commits
  • 9 files changed
  • 3 contributors

Commits on Mar 20, 2025

  1. Configuration menu
    Copy the full SHA
    769b63b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #255 from Yoast/JRF/update-yoastcs-3.2.0

    Composer: update to YoastCS 3.2.0
    jrfnl authored Mar 20, 2025
    Configuration menu
    Copy the full SHA
    43fba23 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2025

  1. GH Actions: Bump DavidAnson/markdownlint-cli2-action from 19 to 20

    Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 19 to 20.
    - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
    - [Commits](DavidAnson/markdownlint-cli2-action@v19...v20)
    
    ---
    updated-dependencies:
    - dependency-name: DavidAnson/markdownlint-cli2-action
      dependency-version: '20'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored May 19, 2025
    Configuration menu
    Copy the full SHA
    681b61e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #257 from Yoast/dependabot/github_actions/1.x/Davi…

    …dAnson/markdownlint-cli2-action-20
    
    GH Actions: Bump DavidAnson/markdownlint-cli2-action from 19 to 20
    jrfnl authored May 19, 2025
    Configuration menu
    Copy the full SHA
    c81efd0 View commit details
    Browse the repository at this point in the history
  3. Dependabot: remove reviewers

    Support for the `reviewers` key in `dependabot.yml` files is being removed by GitHub on May 20th 2025.
    
    The recommendation is to have a `CODEOWNERS` file to set reviewers instead.
    
    For now, this commit removes the `reviewers` key from the `dependabot.yml` file without replacing it.
    That should prevent comments being left in PRs by the dependabot bot account about the field no longer being supported.
    
    Ref:
    * https://github.blog/changelog/2025-04-29-dependabot-reviewers-configuration-option-being-replaced-by-code-owners/
    * https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-file-location
    jrfnl committed May 19, 2025
    Configuration menu
    Copy the full SHA
    f351497 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #258 from Yoast/JRF/feature/remove-dependabot-revi…

    …ewers
    
    Dependabot: remove reviewers
    jrfnl authored May 19, 2025
    Configuration menu
    Copy the full SHA
    f68a8d1 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2025

  1. GH Actions: remove GH Token set via env

    As of the release of `shivammathur/setup-php` v`2.35.0`, this should no longer be needed as the `setup-php` action runner will automatically use the `secrets.GITHUB_TOKEN` token.
    
    Ref:
    * https://github.com/shivammathur/setup-php/releases/tag/2.35.0
    * shivammathur/setup-php@55463ff
    jrfnl committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    cd833cb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #259 from Yoast/feature/ghactions-update-for-setup…

    …-php-2.35.0
    
    GH Actions: remove GH Token set via `env`
    jrfnl authored Jul 28, 2025
    Configuration menu
    Copy the full SHA
    d77542d View commit details
    Browse the repository at this point in the history
  3. XTestCaseTest: update for PHPUnit 12.2.0

    > A warning is now emitted when a data provider provides data sets that have more values than the test method consumes using arguments
    
    While not problematic for PHPUnit Polyfills 1.x - 3.x, this will fail tests for 4.x (without this change).
    
    Ref: https://github.com/sebastianbergmann/phpunit/blob/12.2/ChangeLog-12.2.md#changed-1
    jrfnl committed Jul 28, 2025
    Configuration menu
    Copy the full SHA
    da773e5 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #260 from Yoast/feature/update-xtestcasetest

    XTestCaseTest: update for PHPUnit 12.2.0
    jrfnl authored Jul 28, 2025
    Configuration menu
    Copy the full SHA
    4313f03 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2025

  1. PHP 8.5 | Tests: prevent deprecation notice for Reflection*::setAcces…

    …sible()
    
    Since PHP 8.1, calling the `Reflection*::setAccessible()` methods is no longer necessary as reflected properties/methods/etc will always be accessible.
    However, the method calls are still needed for PHP < 8.1.
    
    As of PHP 8.5, calling the `Reflection*::setAccessible()` methods is now formally deprecated and will yield a deprecation notice, which will fail test runs.
    As of PHP 9.0, the `setAccessible()` method(s) will be removed.
    
    With the latter in mind, this commit prevents the deprecation notice by making the calls to `setAccessible()` conditional.
    
    Silencing the deprecation would mean, this would need to be "fixed" again come PHP 9.0, while the current solution should be stable, including for PHP 9.0.
    
    Ref: https://wiki.php.net/rfc/deprecations_php_8_5#extreflection_deprecations
    jrfnl committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    5c49998 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #261 from Yoast/feature/fix-runtime-deprecations-p…

    …hp-8.5
    
    PHP 8.5 | Tests: prevent deprecation notice for Reflection*::setAccessible()
    jrfnl authored Aug 10, 2025
    Configuration menu
    Copy the full SHA
    002a850 View commit details
    Browse the repository at this point in the history
  3. GH Actions: improve "don't run on forks" condition

    Remove the condition containing a hard-coded repository name in favour of a more generic condition which should safeguard that the cron job doesn't run on forks just the same.
    jrfnl committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    8460324 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #262 from Yoast/feature/ghactions-improve-dont-run…

    …-cronjobs-on-forks-condition
    
    GH Actions: improve "don't run on forks" condition
    jrfnl authored Aug 10, 2025
    Configuration menu
    Copy the full SHA
    5d24d1b View commit details
    Browse the repository at this point in the history
  5. Changelog for the 1.1.5 release

    Includes updating the `VERSION` constant in the `Autoload` class.
    jrfnl committed Aug 10, 2025
    Configuration menu
    Copy the full SHA
    689d8b5 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #263 from Yoast/feature/1.x/changelog-v1.1.5

    Changelog for the 1.1.5 release
    jrfnl authored Aug 10, 2025
    Configuration menu
    Copy the full SHA
    41aaac4 View commit details
    Browse the repository at this point in the history
Loading