Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support baseline configuration #737

Open
wants to merge 11 commits into
base: 8.4.x
Choose a base branch
from

Commits on Mar 1, 2023

  1. Ensure GPG isn't used on tests

    Some people - like me - have a tweaked/opinionated global Git
    configuration that forces GPG signatures everywhere, which basically
    breaks the tests.
    
    This standardises the expected configuration for tests, preventing
    unexpected breakages.
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    71563be View commit details
    Browse the repository at this point in the history
  2. Ensure data providers are static

    PHPUnit 10.x only accepts static data providers, so...
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    3013c0f View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Move away from deprecated MockObject#withConsecutive()

    More info: sebastianbergmann/phpunit#5063
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    29ddca2 View commit details
    Browse the repository at this point in the history
  2. Upgrade to PHPUnit v10

    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    d72bef7 View commit details
    Browse the repository at this point in the history
  3. Unblock PHPUnit upgrade by enabling PCOV

    Given the plans for laminas-continuous-integration-action v2 is to always
    ship PCOV, we can simply enable it here to allow us to detach the two
    processes.
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    d5789e6 View commit details
    Browse the repository at this point in the history
  4. Implement regex-based baseline for changes

    This adds (lazy) filtering capabilities to detected changes.
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    bb5dd01 View commit details
    Browse the repository at this point in the history
  5. Parse and apply baseline from configuration

    This integrates the changes filter into the backward compatibility check
    command, parsing the configuration file prior to any process to ease the
    integration of new properties.
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    4898a8e View commit details
    Browse the repository at this point in the history
  6. Make configuration parsing more flexible

    This moves responsibilities around and introduces abstractions to
    support different file formats with less effort.
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    3bb70e2 View commit details
    Browse the repository at this point in the history
  7. Implement XML configuration parser

    This ships a parser and the expected schema to ease the validation of
    XML documents.
    
    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    8765e3d View commit details
    Browse the repository at this point in the history
  8. Make XML the default configuration format

    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    e1c9698 View commit details
    Browse the repository at this point in the history
  9. Remove unused JSON parser

    Signed-off-by: Luís Cobucci <lcobucci@gmail.com>
    lcobucci committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    cdeca27 View commit details
    Browse the repository at this point in the history