We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NestedArray::yamlSplitArray() throws deprecation warnings on PHP8.0+ due to required parameters following optional ones:
NestedArray::yamlSplitArray()
Deprecated function: Required parameter $exclude_parents_key follows optional parameter $indent_level in include() (line 444 of /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php) #0 /home/[redacted]/gitrepo/web/core/includes/bootstrap.inc(312): _drupal_error_handler_real() #1 /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php(444): _drupal_error_handler() #2 /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php(444): include() #3 /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #4 [internal function]: Composer\Autoload\ClassLoader->loadClass() #5 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1142): ReflectionClass->__construct() #6 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(618): Symfony\Component\DependencyInjection\ContainerBuilder->createService() #7 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1267): Symfony\Component\DependencyInjection\ContainerBuilder->doGet() #8 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1215): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() #9 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1117): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() #10 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(618): Symfony\Component\DependencyInjection\ContainerBuilder->createService() #11 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(558): Symfony\Component\DependencyInjection\ContainerBuilder->doGet() #12 /home/[redacted]/gitrepo/vendor/drupal/console-core/src/Application.php(468): Symfony\Component\DependencyInjection\ContainerBuilder->get() #13 /home/[redacted]/gitrepo/vendor/drupal/console-core/src/Application.php(214): Drupal\Console\Core\Application->registerCommands() #14 /home/[redacted]/gitrepo/vendor/drupal/console-core/src/Application.php(119): Drupal\Console\Core\Application->loadCommands() #15 /home/[redacted]/gitrepo/vendor/drupal/console/src/Application.php(64): Drupal\Console\Core\Application->doRun() #16 /home/[redacted]/gitrepo/vendor/symfony/console/Application.php(149): Drupal\Console\Application->doRun() #17 /home/[redacted]/gitrepo/vendor/drupal/console/bin/drupal.php(89): Symfony\Component\Console\Application->run() #18 /home/[redacted]/gitrepo/vendor/drupal/console/bin/drupal(4): require('...') #19 {main}
/** * @param array $array * @param array $split_array * @param int $indent_level * @param array $key_flatten * @param int $key_level * @param bool $exclude_parents_key */ public function yamlSplitArray(array &$array, array &$split_array, $indent_level = '', &$key_flatten, &$key_level, $exclude_parents_key) { ... }
Also NestedArray::arrayDiff() has the same issue:
NestedArray::arrayDiff()
Deprecated function: Required parameter $statistics follows optional parameter $negate in include() (line 444 of /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php) #0 /home/[redacted]/gitrepo/web/core/includes/bootstrap.inc(312): _drupal_error_handler_real() #1 /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php(444): _drupal_error_handler() #2 /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php(444): include() #3 /home/[redacted]/gitrepo/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile() #4 [internal function]: Composer\Autoload\ClassLoader->loadClass() #5 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1142): ReflectionClass->__construct() #6 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(618): Symfony\Component\DependencyInjection\ContainerBuilder->createService() #7 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1267): Symfony\Component\DependencyInjection\ContainerBuilder->doGet() #8 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1215): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() #9 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(1117): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices() #10 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(618): Symfony\Component\DependencyInjection\ContainerBuilder->createService() #11 /home/[redacted]/gitrepo/vendor/symfony/dependency-injection/ContainerBuilder.php(558): Symfony\Component\DependencyInjection\ContainerBuilder->doGet() #12 /home/[redacted]/gitrepo/vendor/drupal/console-core/src/Application.php(468): Symfony\Component\DependencyInjection\ContainerBuilder->get() #13 /home/[redacted]/gitrepo/vendor/drupal/console-core/src/Application.php(214): Drupal\Console\Core\Application->registerCommands() #14 /home/[redacted]/gitrepo/vendor/drupal/console-core/src/Application.php(119): Drupal\Console\Core\Application->loadCommands() #15 /home/[redacted]/gitrepo/vendor/drupal/console/src/Application.php(64): Drupal\Console\Core\Application->doRun() #16 /home/[redacted]/gitrepo/vendor/symfony/console/Application.php(149): Drupal\Console\Application->doRun() #17 /home/[redacted]/gitrepo/vendor/drupal/console/bin/drupal.php(89): Symfony\Component\Console\Application->run() #18 /home/[redacted]/gitrepo/vendor/drupal/console/bin/drupal(4): require('...') #19 {main}
/** * @param $array1 * @param $array2 * @param bool $negate if Negate is true only if values are equal are returned. * @param $statistics mixed array * @return array */ public function arrayDiff($array1, $array2, $negate = false, &$statistics) { ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NestedArray::yamlSplitArray()
throws deprecation warnings on PHP8.0+ due to required parameters following optional ones:Also
NestedArray::arrayDiff()
has the same issue:The text was updated successfully, but these errors were encountered: