Skip to content

CI phpunit is broken for PHP 7.2 and newer #927

@frank9999

Description

@frank9999

Run vendor/bin/phpunit
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.

............................................................... 63 / 208 ( 30%)
..........................................................EEEEE 126 / 208 ( 60%)
EEE............................................................ 189 / 208 ( 90%)
...................

Time: 108 ms, Memory: 8.00MB

There were 8 errors:

  1. Ratchet\Session\SessionProviderTest::testToClassCase with data set #0 ('php', 'Php')
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

  1. Ratchet\Session\SessionProviderTest::testToClassCase with data set Back up #1 ('php_binary', 'PhpBinary')
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

  1. Ratchet\Session\SessionProviderTest::testConnectionValueFromPdo
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

  1. Ratchet\Session\SessionProviderTest::testOnMessageDecorator
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

  1. Ratchet\Session\SessionProviderTest::testRejectInvalidSeralizers
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

  1. Ratchet\Session\SessionProviderTest::testOpen
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

  1. Ratchet\Session\SessionProviderTest::testOnClose
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

  1. Ratchet\Session\SessionProviderTest::testOnError
    ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/home/runner/work/Ratchet/Ratchet/src/Ratchet/Session/SessionProvider.php:53
/home/runner/work/Ratchet/Ratchet/tests/unit/Session/SessionComponentTest.php:19

FAILURES!
Tests: 208, Assertions: 246, Errors: 8.
Error: Process completed with exit code 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions