Enh: Updated to yii2-imagine 2.3 for PHP 8 support (#4819)

This commit is contained in:
Lucas Bartholemy 2021-02-04 15:28:34 +01:00 committed by GitHub
parent d130ee7c54
commit 066252b8dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 58 additions and 27 deletions

View File

@ -28,6 +28,7 @@ jobs:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
mysql-version:
- "5.7"

View File

@ -9,7 +9,8 @@ HumHub Changelog
- Fix #4569: Prevent double module registration
- Fix #4389: Require to check a checkbox if the profile field is required
- Fix #3687: Disable profile field type for existing record
- Fix #4825: Make settings index(name, module_id) unique
- Fix #4819: Fixed some PHP8 issues. (Updated to Yii 2.0.40 / Imagine 1.0+)
- Fix #4825: Ensure unique setting values (Added unique table index)
1.7.2 (January 21, 2021)

View File

@ -55,11 +55,11 @@
"raoul2000/yii2-jcrop-widget": "*",
"twig/twig": "^1.0",
"xj/yii2-jplayer-widget": "*",
"yiisoft/yii2": "2.0.38",
"yiisoft/yii2": "2.0.40",
"yiisoft/yii2-authclient": "~2.2.0",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-httpclient": "~2.0.0",
"yiisoft/yii2-imagine": "~2.1.0",
"yiisoft/yii2-imagine": "~2.3.0",
"yiisoft/yii2-jui": "~2.0.0",
"yiisoft/yii2-queue": "~2.3.0",
"yiisoft/yii2-redis": "~2.0.0",

76
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "4f9aff23264e76d73e62ea202d64e205",
"content-hash": "5cbfb05625eba449f4e73346a024240e",
"packages": [
{
"name": "bower-asset/bootstrap",
@ -53,7 +53,7 @@
"version": "3.5.1",
"source": {
"type": "git",
"url": "git@github.com:jquery/jquery-dist.git",
"url": "https://github.com/jquery/jquery-dist.git",
"reference": "4c0e4becb8263bb5b3e6dadc448d8e7305ef8215"
},
"dist": {
@ -92,7 +92,7 @@
"version": "v1.3.2",
"source": {
"type": "git",
"url": "git@github.com:bestiejs/punycode.js.git",
"url": "https://github.com/bestiejs/punycode.js.git",
"reference": "38c8d3131a82567bfef18da09f7f4db68c84f8a3"
},
"dist": {
@ -489,24 +489,24 @@
},
{
"name": "imagine/imagine",
"version": "v0.7.1",
"version": "1.2.4",
"source": {
"type": "git",
"url": "https://github.com/avalanche123/Imagine.git",
"reference": "a9a702a946073cbca166718f1b02a1e72d742daa"
"reference": "d2e18be6e930ca169e4f921ef73ebfc061bf55d8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/avalanche123/Imagine/zipball/a9a702a946073cbca166718f1b02a1e72d742daa",
"reference": "a9a702a946073cbca166718f1b02a1e72d742daa",
"url": "https://api.github.com/repos/avalanche123/Imagine/zipball/d2e18be6e930ca169e4f921ef73ebfc061bf55d8",
"reference": "d2e18be6e930ca169e4f921ef73ebfc061bf55d8",
"shasum": ""
},
"require": {
"php": ">=5.3.2"
},
"require-dev": {
"sami/sami": "^3.3",
"symfony/phpunit-bridge": "^3.2"
"friendsofphp/php-cs-fixer": "^2.2",
"phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5 || ^8.4 || ^9.3"
},
"suggest": {
"ext-gd": "to use the GD implementation",
@ -520,8 +520,8 @@
}
},
"autoload": {
"psr-0": {
"Imagine": "lib/"
"psr-4": {
"Imagine\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -545,9 +545,9 @@
],
"support": {
"issues": "https://github.com/avalanche123/Imagine/issues",
"source": "https://github.com/avalanche123/Imagine/tree/v0.7.1"
"source": "https://github.com/avalanche123/Imagine/tree/1.2.4"
},
"time": "2017-05-16T10:31:22+00:00"
"time": "2020-11-03T22:35:03+00:00"
},
{
"name": "jbroadway/urlify",
@ -5622,16 +5622,16 @@
},
{
"name": "yiisoft/yii2",
"version": "2.0.38",
"version": "2.0.40",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/yii2-framework.git",
"reference": "fd01e747cc66a049ec105048f0ab8dfbdf60bf4b"
"reference": "debb520c1d72a2c97c09d70a2a2a4f600ef3958e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/fd01e747cc66a049ec105048f0ab8dfbdf60bf4b",
"reference": "fd01e747cc66a049ec105048f0ab8dfbdf60bf4b",
"url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/debb520c1d72a2c97c09d70a2a2a4f600ef3958e",
"reference": "debb520c1d72a2c97c09d70a2a2a4f600ef3958e",
"shasum": ""
},
"require": {
@ -5739,7 +5739,7 @@
"type": "tidelift"
}
],
"time": "2020-09-14T21:52:10+00:00"
"time": "2020-12-23T15:44:43+00:00"
},
{
"name": "yiisoft/yii2-authclient",
@ -6014,26 +6014,40 @@
},
{
"name": "yiisoft/yii2-imagine",
"version": "2.1.1",
"version": "2.3.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/yii2-imagine.git",
"reference": "a8a1a068862a86e3395e665bc86e63d5c9b60841"
"reference": "b103b1b1deb786d4d5fe955898ec866dbee5c1b4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii2-imagine/zipball/a8a1a068862a86e3395e665bc86e63d5c9b60841",
"reference": "a8a1a068862a86e3395e665bc86e63d5c9b60841",
"url": "https://api.github.com/repos/yiisoft/yii2-imagine/zipball/b103b1b1deb786d4d5fe955898ec866dbee5c1b4",
"reference": "b103b1b1deb786d4d5fe955898ec866dbee5c1b4",
"shasum": ""
},
"require": {
"imagine/imagine": "~0.6.0 | ~0.7.1",
"imagine/imagine": "^1.0",
"yiisoft/yii2": "~2.0.0"
},
"require-dev": {
"cweagans/composer-patches": "^1.7",
"phpunit/phpunit": "4.8.34"
},
"type": "yii2-extension",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
},
"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/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"
}
}
},
"autoload": {
@ -6065,7 +6079,21 @@
"source": "https://github.com/yiisoft/yii2-imagine",
"wiki": "http://www.yiiframework.com/wiki/"
},
"time": "2018-02-22T11:57:06+00:00"
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
},
{
"url": "https://tidelift.com/funding/github/packagist/yiisoft/yii2-imagine",
"type": "tidelift"
}
],
"time": "2020-12-23T17:16:36+00:00"
},
{
"name": "yiisoft/yii2-jui",

View File

@ -25,4 +25,5 @@ return [
['name' => 'colorInfo', 'value' => '#6fdbe8', 'module_id' => 'base'],
['name' => 'colorSuccess', 'value' => '#97d271', 'module_id' => 'base'],
['name' => 'colorDanger', 'value' => '#ff8989', 'module_id' => 'base'],
['name' => 'defaultLanguage', 'value' => 'en-US', 'module_id' => 'base'],
];