Ci Phpunit Test Versions Save

An easier way to use PHPUnit with CodeIgniter 3.x.

v3.0.4

1 year ago

Added

  • You can set return value type void as ':void' when you use $this->getDouble().
$mock = $this->getDouble(
    'SplFileObject',
    ['next' => ':void'],
    ['php://memory']
);

Fixed

  • Fix bug that pre_controller can't modify $class/$method. See #394.

Others

  • Compatible with PHP 8.1

v3.0.3

2 years ago

Others

  • Compatible with CodeIgniter 3.1.13

v2.0.2

2 years ago

Others

  • Compatible with CodeIgniter 3.1.13

v1.0.2

2 years ago

Others

  • Compatible with CodeIgniter 3.1.13

v3.0.2

2 years ago

Others

  • Compatible with PHP 8.0

v3.0.1

2 years ago

Fixed

  • Fix bug that install.php --from-composer does not work. See #371.
  • Exclude views/errors/ for PHPUnit coverage report. See #372.
  • Fix bug that Monkey Patching causes Warning: flock(): Illegal operation argument. See #377.

v2.0.1

2 years ago

Fixed

  • Fix bug that install.php --from-composer does not work. See #371.
  • Fix bug that Monkey Patching causes Warning: flock(): Illegal operation argument. See #377.

v1.0.1

2 years ago

Fixed

  • Fix bug that install.php --from-composer does not work. See #371.
  • Fix bug that Monkey Patching causes Warning: flock(): Illegal operation argument. See #377.

v3.0.0

3 years ago

Changed

  • Require PHP 7.3 or later, PHPUnit 9.3 or later

v2.0.0

3 years ago

Changed

  • Require PHP 7.2 or later, PHPUnit 8.1 to 9.2