PHPackages                             awesomite/phpunit-4.8-fixer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. awesomite/phpunit-4.8-fixer

ActiveLibrary[Testing &amp; Quality](/categories/testing)

awesomite/phpunit-4.8-fixer
===========================

Fixes issues in PHPUnit 4.8 on PHP 7.2

v1.0.0(8y ago)07.3k5MITPHP

Since Dec 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/awesomite/phpunit-4.8-fixer)[ Packagist](https://packagist.org/packages/awesomite/phpunit-4.8-fixer)[ RSS](/packages/awesomite-phpunit-48-fixer/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (5)

PHPUnit 4.8 Fixer
=================

[](#phpunit-48-fixer)

[![Coverage Status](https://camo.githubusercontent.com/b7dc0adf85282e0cfa98ab95f5ccb6d5eb359f04f5ae70895658f4844456b643/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f617765736f6d6974652f706870756e69742d342e382d66697865722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/awesomite/phpunit-4.8-fixer?branch=master)[![Build Status](https://camo.githubusercontent.com/584d8e22c6cf11a1e2d2b1e99a37b8e6db29935d3985491ed33424ed36e8800c/68747470733a2f2f7472617669732d63692e6f72672f617765736f6d6974652f706870756e69742d342e382d66697865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/awesomite/phpunit-4.8-fixer)

Function [`each`](http://php.net/manual/en/function.each.php) is deprecated from PHP 7.2, it causes errors in PHPUnit 4.8:

```
Deprecated: The each() function is deprecated.
This message will be suppressed on further calls in (...)/phpunit/src/Util/Getopt.php

```

This library fixes the above issue.

Installation
------------

[](#installation)

```
composer require awesomite/phpunit-4.8-fixer

```

Usage
-----

[](#usage)

Execute the following command once before executing tests:

```
vendor/bin/phpunit-4.8-fixer

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10114238?v=4)[Bartłomiej Krukowski](/maintainers/bkrukowski)[@bkrukowski](https://github.com/bkrukowski)

---

Top Contributors

[![bkrukowski](https://avatars.githubusercontent.com/u/10114238?v=4)](https://github.com/bkrukowski "bkrukowski (14 commits)")

### Embed Badge

![Health badge](/badges/awesomite-phpunit-48-fixer/health.svg)

```
[![Health](https://phpackages.com/badges/awesomite-phpunit-48-fixer/health.svg)](https://phpackages.com/packages/awesomite-phpunit-48-fixer)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k129.9M916](/packages/brianium-paratest)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M39.0k](/packages/orchestra-testbench)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.0M322](/packages/drupal-core-dev)[webmozarts/strict-phpunit

Enables type-safe comparisons of objects in PHPUnit

30300.1k6](/packages/webmozarts-strict-phpunit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
