Permalink
Branch: master
Commits on Feb 8, 2019
  1. minor #162 add phpunit 7.2 (IonBazan, DavidPrevot)

    nicolas-grekas committed Feb 8, 2019
    This PR was merged into the 1.11-dev branch.
    
    Discussion
    ----------
    
    add phpunit 7.2
    
    This PR fixes support for PHPUnit 7.2 by adding a separate `TestListener` for each major PHPUnit version.
    
    It should fix #144 and is based on #133.
    
    Commits
    -------
    
    fde6fd5 Update src/Util/TestListenerForV7.php
    eb96800 add phpunit 7.2
  2. minor #166 Redefine INTL_IDN_VARIANT_* constants on the Idn class (de…

    nicolas-grekas committed Feb 8, 2019
    …rrabus)
    
    This PR was merged into the 1.11-dev branch.
    
    Discussion
    ----------
    
    Redefine INTL_IDN_VARIANT_* constants on the Idn class
    
    I'm currently working on a project where we have to deploy the application to servers with a strange configuration. The servers run php 5.6, but instead of the bundled `ext-intl` the very outdated version 1.1 of `pecl/intl` is installed.
    
    If I install the polyfill there, the `bootstrap.php` scrit will find an already defined `idn_to_ascii` function and do nothing. This is why I'd like to force the usage of the polyfill code here.
    
    The problem that I have is that the old `pecl/intl` does not define all constants. To be more precise, `INTL_IDNA_VARIANT_UTS46` is missing because version 1.1 did not yet support the `$variant` parameter.
    
    In order to solve this problem for me, I have redefined all constants on the `Idn` class.
    
    Commits
    -------
    
    212e135 Redefine INTL_IDN_VARIANT_* constants on the Idn class.
Commits on Feb 6, 2019
  1. feature #167 Added missing polyfill for JsonException (nicolas-grekas)

    nicolas-grekas committed Feb 6, 2019
    This PR was merged into the 1.10-dev branch.
    
    Discussion
    ----------
    
    Added missing polyfill for JsonException
    
    Commits
    -------
    
    957cef5 Added missing polyfill for JsonException
  2. Added missing polyfill for JsonException

    nicolas-grekas committed Feb 5, 2019