Skip to content

phpunit-bridge 3.4 is incompatible with PHP 5.3 the come back #33395

@kylekatarnls

Description

@kylekatarnls

phpunit-bridge version(s) affected: 3.4.31

The following code has been added but is not compatible with the supposed minimal version of PHP 5.3:

self::$isAtLeastPhpUnit83 = class_exists(ErrorHandler::class) && method_exists(ErrorHandler::class, '__invoke');

Replace ErrorHandler::class with 'PHPUnit\Util\ErrorHandler'

Please consider adding a Travis-CI build to check the compatibility before tagging version. Maybe just a linting of files to check static syntax compatibility.

If you wish, I could try to add it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy