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

Add compatibility for PHP8 #116

Merged
merged 10 commits into from
Mar 1, 2021
Merged

Add compatibility for PHP8 #116

merged 10 commits into from
Mar 1, 2021

Commits on Feb 24, 2021

  1. Support PHPUnit 9.x

    amotl committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    81bf5a0 View commit details
    Browse the repository at this point in the history
  2. Improve/fix documentation

    amotl committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    1a605e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Configuration menu
    Copy the full SHA
    28e6972 View commit details
    Browse the repository at this point in the history
  2. Replace Coveralls by Codecov

    We found that Coveralls is not able to merge coverage reports from
    different job runs. Since supporting PHP8, we have different code
    branches in order to support the old and the new PDO interface.
    
    So, it is crucial to merge coverage reports from two job runs, one
    for PHP7.4 and another for PHP8.
    amotl committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    b1e30c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f19af7b View commit details
    Browse the repository at this point in the history
  4. Improve test suite by adding "composer run multicover"

    This will aid on running the tests with coverage on both PHP7 and PHP8,
    merge coverage reports and render them as HTML to be inspected by
    humans.
    
    It's not completely maintenance free because some paths will probably
    have to be adjusted for others, but it's way better than nothing.
    amotl committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    6cb24c3 View commit details
    Browse the repository at this point in the history
  5. Improve code coverage to satisfy Codecov

    With the introduction of PHP8 compatibility, some `class_alias` code
    has been introduced. We have not been able to make PHPUnit grok the
    coverage of this code by other means.
    
    Additionally, some annotations have been added to improve code coverage
    metrics on code which actually has been covered but was not accounted.
    amotl committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    893bc20 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. Improve changelog wording

    amotl committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    3263258 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e314fb8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c1693d View commit details
    Browse the repository at this point in the history