Skip to content

Commit

Permalink
added patches from framework to test php8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
simialbi committed Apr 8, 2021
1 parent 3dd737a commit 50e5332
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"mailchimp/transactional": "^1.0.0"
},
"require-dev": {
"cweagans/composer-patches": "^1.7",
"phpunit/phpunit": "4.8.34",
"victorjonsson/markdowndocs": "*",
"yiisoft/yii2-coding-standards": "~2.0"
Expand All @@ -45,5 +46,20 @@
"psr-4": {
"yiiunit\\extensions\\mandrill\\": "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
},
"composer-exit-on-patch-failure": false,
"patches": {
"phpunit/phpunit-mock-objects": {
"Fix PHP 7 and 8 compatibility": "https://yiisoft.github.io/phpunit-patches/phpunit_mock_objects.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"
}
}
}
}

0 comments on commit 50e5332

Please sign in to comment.