Fix more PHP 8.1 deprecations, refs #10008
parent
10ae1d7b08
commit
47cf602f9e
|
@ -377,16 +377,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "justinrainbow/json-schema",
|
"name": "justinrainbow/json-schema",
|
||||||
"version": "5.2.10",
|
"version": "5.2.11",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/justinrainbow/json-schema.git",
|
"url": "https://github.com/justinrainbow/json-schema.git",
|
||||||
"reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b"
|
"reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b",
|
"url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ab6744b7296ded80f8cc4f9509abbff393399aa",
|
||||||
"reference": "2ba9c8c862ecd5510ed16c6340aa9f6eadb4f31b",
|
"reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -441,9 +441,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/justinrainbow/json-schema/issues",
|
"issues": "https://github.com/justinrainbow/json-schema/issues",
|
||||||
"source": "https://github.com/justinrainbow/json-schema/tree/5.2.10"
|
"source": "https://github.com/justinrainbow/json-schema/tree/5.2.11"
|
||||||
},
|
},
|
||||||
"time": "2020-05-27T16:41:55+00:00"
|
"time": "2021-07-22T09:24:00+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/log",
|
"name": "psr/log",
|
||||||
|
|
|
@ -52,6 +52,11 @@ class ErrorHandler
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self::$io) {
|
if (self::$io) {
|
||||||
|
// ignore symfony/console deprecation warning
|
||||||
|
if (0 === strpos($message, 'Return type of Symfony\\Component\\Console\\Helper\\HelperSet::getIterator() should either be compatible with IteratorAggregate::getIterator')) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
self::$io->writeError('<warning>Deprecation Notice: '.$message.' in '.$file.':'.$line.'</warning>');
|
self::$io->writeError('<warning>Deprecation Notice: '.$message.' in '.$file.':'.$line.'</warning>');
|
||||||
if (self::$io->isVerbose()) {
|
if (self::$io->isVerbose()) {
|
||||||
self::$io->writeError('<warning>Stack trace:</warning>');
|
self::$io->writeError('<warning>Stack trace:</warning>');
|
||||||
|
|
Loading…
Reference in New Issue