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: infection/infection
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.25.3
Choose a base ref
...
head repository: infection/infection
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.25.4
Choose a head ref
  • 19 commits
  • 98 files changed
  • 7 contributors

Commits on Oct 2, 2021

  1. Test infection.phar works from subfolder where vendor folder is not a…

    …vailable; Revert #1583 (#1586)
    
    * Test `infection.phar` works from subfolder where `vendor` folder is not available
    
    This catches a bug introduced in #1583, where `./infection.phar -V` fails with
    
    ```
    Warning: require(phar:///app/infection-builds/infection.phar/vendor/composer/installed.php): Failed to open stream: phar error: "vendor/composer/installed.php" is not a file in phar "/app/infection-builds/infection.phar" in phar:///app/infection-builds/infection.phar/vendor/composer/InstalledVersions.php on line 189
    ```
    
    while `build/infection.phar` works as expected
    
    * Revert "Do not use ocramius/package-versions (and do not break building PHAR this time) (#1583)"
    
    This reverts commit 15015ab.
    
    * Get back `build/` prefix
    maks-rafalko authored Oct 2, 2021
    Configuration menu
    Copy the full SHA
    04f5ab6 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2021

  1. Configuration menu
    Copy the full SHA
    0b19212 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Configuration menu
    Copy the full SHA
    96bcafa View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Configuration menu
    Copy the full SHA
    20f8086 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Configuration menu
    Copy the full SHA
    d86ddd6 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Configuration menu
    Copy the full SHA
    ef4ddca View commit details
    Browse the repository at this point in the history
  2. Run Infection on PHP 8.1. (#1535)

    * Run Infection on PHP 8.1
    
    * update symfony deps, add ReturnTypeWillChange attribute
    
    * add check on VariadicPlaceholder
    
    * remove conflict with symfony/console 4.1.5
    
    * try to fix Return type of Mock_SplFileInfo_8d3a072c::getPath() should either be compatible with SplFileInfo::getPath() on 8.1
    
    * whitelist PHP 8.1 constants in scoper.inc.php
    
    * Add MockSplFileInfo mocks to work with Unit tests
    
    * Increase possible direct issues
    
    * fix another bunch of tests
    
    * export SYMFONY_DEPRECATIONS_HELPER env variable as part of CI pipeline
    
    * cast to int explicitly to avoid "Implicit conversion from float to int loses precision"
    
    * fix pipeline
    
    * remove continue-on-error on PHP 8.1
    
    * remove ignore-platform-req from pipeline
    
    * clean up pipeline
    
    * import ReturnTypeWillChange to use section
    sidz authored Oct 13, 2021
    Configuration menu
    Copy the full SHA
    55446cf View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. Update PHPStan (#1594)

    kubawerlos authored Oct 14, 2021
    Configuration menu
    Copy the full SHA
    52447dc View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2021

  1. Configuration menu
    Copy the full SHA
    8e3d509 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2021

  1. Run integration tests after E2E ones (#1596)

    * Run integration tests after E2E ones
    
    * Fix "Tracing" benchmark test
    kubawerlos authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    384d439 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. PHPStan fixes (#1595)

    kubawerlos authored Oct 19, 2021
    Configuration menu
    Copy the full SHA
    84140e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2021

  1. Stop Infection execution with 0 exit code when git diff filter retu…

    …rns empty result (#1600)
    
    * Use Symfony's `Process::fromShellCommandLin()` to execute a command
    
    * Stop Infection execution with `0` exit code when git diff filter returns empty result (no files to be mutated)
    
    * Stop Infection execution with `0` exit code when git diff filter returns empty result (no files to be mutated)
    
    Fixes #1599
    
    This will improve the speed of CI builds and immediately stop Infection execution.
    
    Example: if `README.md` is updated on the root of the folder, we don't want/need to run Infection against the whole project.
    
    * Depending on OS, check command line differently
    
    https://www.php.net/manual/en/function.escapeshellarg.php
    
    > On Windows, escapeshellarg() instead replaces percent signs, exclamation marks (delayed variable substitution) and double quotes with spaces and adds double quotes around the string.
    maks-rafalko authored Oct 28, 2021
    Configuration menu
    Copy the full SHA
    a7ece6f View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2021

  1. feat: Concat does not generate mutant when both operands are the same (

    …#1602)
    
    * feat: Concat does not generate mutant when both operands are the same
    
    Closes #1601
    
    * Update ConcatTest.php
    
    * use prettyPrint instead of prettyPrintExpr
    
    * add clone per review suggestion
    
    * suppress psalm issue - ImpureMethodCall
    
    - per @maks-rafalko
    
    * Update Concat.php
    
    * suppress issue in psalm.xml
    michalbundyra authored Oct 31, 2021
    Configuration menu
    Copy the full SHA
    1892158 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Set XDEBUG_MODE for processes with coverage (#1518)

    * Set XDEBUG_MODE for processes with coverage
    
    Fixes #1473
    sanmai authored Nov 10, 2021
    Configuration menu
    Copy the full SHA
    2da5bcc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    847f05d View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Configuration menu
    Copy the full SHA
    735cd3b View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2021

  1. Add dg/bypass-finals to the conflict packages list (#1605)

    * Add dg/bypass-finals to the conflict packages list
    
    * Fix composer warnigns and indentation
    
    Co-authored-by: maks-rafalko <b0rn@list.ru>
    alex-ception and maks-rafalko authored Nov 27, 2021
    Configuration menu
    Copy the full SHA
    f60fbc5 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Allow Symfony 6 (#1606)

    * Allow Symfony 6
    
    * Fix composer warnings
    
    Co-authored-by: maks-rafalko <b0rn@list.ru>
    julien-boudry and maks-rafalko authored Dec 1, 2021
    Configuration menu
    Copy the full SHA
    a9e7c20 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2021

  1. Configuration menu
    Copy the full SHA
    88dae3c View commit details
    Browse the repository at this point in the history
Loading