Fixed broken exif_imagetype() twig function, composer update

This commit is contained in:
Matias Griese
2021-04-26 10:50:02 +03:00
parent 094a1bd5ee
commit 1fd2162d4f
3 changed files with 28 additions and 28 deletions

View File

@@ -3,6 +3,7 @@
1. [](#bugfix) 1. [](#bugfix)
* Fixed broken numeric language codes in Flex Pages [#3332](https://github.com/getgrav/grav/issues/3332) * Fixed broken numeric language codes in Flex Pages [#3332](https://github.com/getgrav/grav/issues/3332)
* Fixed broken `exif_imagetype()` twig function
# v1.7.13 # v1.7.13
## 04/23/2021 ## 04/23/2021

53
composer.lock generated
View File

@@ -212,40 +212,39 @@
}, },
{ {
"name": "doctrine/cache", "name": "doctrine/cache",
"version": "1.10.2", "version": "1.11.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/cache.git", "url": "https://github.com/doctrine/cache.git",
"reference": "13e3381b25847283a91948d04640543941309727" "reference": "a9c1b59eba5a08ca2770a76eddb88922f504e8e0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/cache/zipball/13e3381b25847283a91948d04640543941309727", "url": "https://api.github.com/repos/doctrine/cache/zipball/a9c1b59eba5a08ca2770a76eddb88922f504e8e0",
"reference": "13e3381b25847283a91948d04640543941309727", "reference": "a9c1b59eba5a08ca2770a76eddb88922f504e8e0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "~7.1 || ^8.0" "php": "~7.1 || ^8.0"
}, },
"conflict": { "conflict": {
"doctrine/common": ">2.2,<2.4" "doctrine/common": ">2.2,<2.4",
"psr/cache": ">=3"
}, },
"require-dev": { "require-dev": {
"alcaeus/mongo-php-adapter": "^1.1", "alcaeus/mongo-php-adapter": "^1.1",
"doctrine/coding-standard": "^6.0", "cache/integration-tests": "dev-master",
"doctrine/coding-standard": "^8.0",
"mongodb/mongodb": "^1.1", "mongodb/mongodb": "^1.1",
"phpunit/phpunit": "^7.0", "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
"predis/predis": "~1.0" "predis/predis": "~1.0",
"psr/cache": "^1.0 || ^2.0",
"symfony/cache": "^4.4 || ^5.2"
}, },
"suggest": { "suggest": {
"alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver"
}, },
"type": "library", "type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9.x-dev"
}
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache"
@@ -292,7 +291,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/cache/issues", "issues": "https://github.com/doctrine/cache/issues",
"source": "https://github.com/doctrine/cache/tree/1.10.x" "source": "https://github.com/doctrine/cache/tree/1.11.0"
}, },
"funding": [ "funding": [
{ {
@@ -308,7 +307,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-07-07T18:54:01+00:00" "time": "2021-04-13T14:46:17+00:00"
}, },
{ {
"name": "doctrine/collections", "name": "doctrine/collections",
@@ -642,16 +641,16 @@
}, },
{ {
"name": "filp/whoops", "name": "filp/whoops",
"version": "2.12.0", "version": "2.12.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/filp/whoops.git", "url": "https://github.com/filp/whoops.git",
"reference": "d501fd2658d55491a2295ff600ae5978eaad7403" "reference": "c13c0be93cff50f88bbd70827d993026821914dd"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/filp/whoops/zipball/d501fd2658d55491a2295ff600ae5978eaad7403", "url": "https://api.github.com/repos/filp/whoops/zipball/c13c0be93cff50f88bbd70827d993026821914dd",
"reference": "d501fd2658d55491a2295ff600ae5978eaad7403", "reference": "c13c0be93cff50f88bbd70827d993026821914dd",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -701,7 +700,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/filp/whoops/issues", "issues": "https://github.com/filp/whoops/issues",
"source": "https://github.com/filp/whoops/tree/2.12.0" "source": "https://github.com/filp/whoops/tree/2.12.1"
}, },
"funding": [ "funding": [
{ {
@@ -709,7 +708,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-03-30T12:00:00+00:00" "time": "2021-04-25T12:00:00+00:00"
}, },
{ {
"name": "getgrav/cache", "name": "getgrav/cache",
@@ -3576,16 +3575,16 @@
}, },
{ {
"name": "codeception/lib-innerbrowser", "name": "codeception/lib-innerbrowser",
"version": "1.4.2", "version": "1.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Codeception/lib-innerbrowser.git", "url": "https://github.com/Codeception/lib-innerbrowser.git",
"reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449" "reference": "4b0d89b37fe454e060a610a85280a87ab4f534f1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/4ffb91c18e4cacd073ff2914c07e5ccaf5efe449", "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/4b0d89b37fe454e060a610a85280a87ab4f534f1",
"reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449", "reference": "4b0d89b37fe454e060a610a85280a87ab4f534f1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3630,9 +3629,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/Codeception/lib-innerbrowser/issues", "issues": "https://github.com/Codeception/lib-innerbrowser/issues",
"source": "https://github.com/Codeception/lib-innerbrowser/tree/1.4.2" "source": "https://github.com/Codeception/lib-innerbrowser/tree/1.5.0"
}, },
"time": "2021-04-06T05:26:49+00:00" "time": "2021-04-23T06:18:29+00:00"
}, },
{ {
"name": "codeception/module-asserts", "name": "codeception/module-asserts",

View File

@@ -265,7 +265,7 @@ class FilesystemExtension extends AbstractExtension
return false; return false;
} }
return @exif_imagetype(); return @exif_imagetype($filename);
} }
/** /**