bump dependencies (#3089)

This commit is contained in:
Kevin Papst
2022-01-22 17:11:30 +01:00
committed by GitHub
parent 9c40bd98aa
commit 8b8e9b001e
6 changed files with 927 additions and 834 deletions

View File

@@ -78,8 +78,8 @@
"dama/doctrine-test-bundle": "^6.0",
"doctrine/doctrine-fixtures-bundle": "^3.2",
"fakerphp/faker": "^1.15",
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^1.0",
"friendsofphp/php-cs-fixer": "3.2.*",
"phpstan/phpstan": "1.4.0",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.0",

1740
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -100,7 +100,7 @@ final class CreateUserCommand extends Command
*/
protected function askForPassword(InputInterface $input, OutputInterface $output): string
{
/* @var QuestionHelper $helper */
/** @var QuestionHelper $helper */
$helper = $this->getHelper('question');
$passwordQuestion = new Question('Please enter the password: ');

View File

@@ -12,10 +12,13 @@ namespace App\Utils;
interface HtmlToPdfConverter
{
/**
* Returns the binary content of the PDF, which can be saved as file or send via Reponse.
* Returns the binary content of the PDF, which can be saved as file.
* Throws an exception if conversion fails.
*
* @param string $html
* @param array $options
* @return mixed
* @return string
* @throws \Exception
*/
public function convertToPdf(string $html, array $options = []);
public function convertToPdf(string $html, array $options = []): string;
}

View File

@@ -56,10 +56,10 @@ class MPdfConverter implements HtmlToPdfConverter
/**
* @param string $html
* @param array $options
* @return mixed|string
* @return string
* @throws \Mpdf\MpdfException
*/
public function convertToPdf(string $html, array $options = [])
public function convertToPdf(string $html, array $options = []): string
{
$options = array_merge(
$this->sanitizeOptions($options),

View File

@@ -25,7 +25,7 @@
{% set tableName = 'plugins' %}
{{ tables.datatable_header(tableName, columns, null, {}) }}
{% for plugin in plugins %}
{% for plugin in plugins|sort((p1, p2) => p1.name|lower <=> p2.name|lower) %}
<tr>
<td class="{{ tables.data_table_column_class(tableName, columns, 'name') }}">
{% if plugin.id != plugin.name %}