Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yiisoft/phpunit-patches
Patches for PHPUnit 4.8.34 allowing it to run on PHP 5.3 - PHP 8.1
https://github.com/yiisoft/phpunit-patches
compatibility hacktoberfest legacy patch phpunit
Last synced: 4 months ago
JSON representation
Patches for PHPUnit 4.8.34 allowing it to run on PHP 5.3 - PHP 8.1
- Host: GitHub
- URL: https://github.com/yiisoft/phpunit-patches
- Owner: yiisoft
- License: bsd-3-clause
- Created: 2020-10-30T18:56:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-31T20:35:12.000Z (almost 3 years ago)
- Last Synced: 2024-04-13T23:10:32.155Z (10 months ago)
- Topics: compatibility, hacktoberfest, legacy, patch, phpunit
- Homepage: https://www.yiiframework.com/
- Size: 11.7 KB
- Stars: 8
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Legacy PHPUnit patches
Patches for PHPUnit 4.8.34 allowing it to run on PHP 5.3 - PHP 8.3.
You can apply these automatically with [Simple patches plugin for Composer](https://github.com/cweagans/composer-patches) in your `composer.json`:
```json
{
"require-dev": {
"cweagans/composer-patches": "^1.7",
"phpunit/phpunit": "4.8.34"
},
"extra": {
"composer-exit-on-patch-failure": true,
"patches": {
"phpunit/phpunit-mock-objects": {
"Fix PHP 7 and 8 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_mock_objects.patch"
},
"phpunit/php-file-iterator": {
"Fix PHP 8.1 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_path_file_iterator.patch"
},
"phpunit/phpunit": {
"Fix PHP 7 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php7.patch",
"Fix PHP 8 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php8.patch",
"Fix PHP 8.1 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php81.patch",
"Fix PHP 8.3 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_php83.patch"
}
}
}
}
```