bump dependencies (#3089)
This commit is contained in:
@@ -78,8 +78,8 @@
|
|||||||
"dama/doctrine-test-bundle": "^6.0",
|
"dama/doctrine-test-bundle": "^6.0",
|
||||||
"doctrine/doctrine-fixtures-bundle": "^3.2",
|
"doctrine/doctrine-fixtures-bundle": "^3.2",
|
||||||
"fakerphp/faker": "^1.15",
|
"fakerphp/faker": "^1.15",
|
||||||
"friendsofphp/php-cs-fixer": "^3.0",
|
"friendsofphp/php-cs-fixer": "3.2.*",
|
||||||
"phpstan/phpstan": "^1.0",
|
"phpstan/phpstan": "1.4.0",
|
||||||
"phpstan/phpstan-doctrine": "^1.0",
|
"phpstan/phpstan-doctrine": "^1.0",
|
||||||
"phpstan/phpstan-phpunit": "^1.0",
|
"phpstan/phpstan-phpunit": "^1.0",
|
||||||
"phpstan/phpstan-symfony": "^1.0",
|
"phpstan/phpstan-symfony": "^1.0",
|
||||||
|
|||||||
1740
composer.lock
generated
1740
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -100,7 +100,7 @@ final class CreateUserCommand extends Command
|
|||||||
*/
|
*/
|
||||||
protected function askForPassword(InputInterface $input, OutputInterface $output): string
|
protected function askForPassword(InputInterface $input, OutputInterface $output): string
|
||||||
{
|
{
|
||||||
/* @var QuestionHelper $helper */
|
/** @var QuestionHelper $helper */
|
||||||
$helper = $this->getHelper('question');
|
$helper = $this->getHelper('question');
|
||||||
|
|
||||||
$passwordQuestion = new Question('Please enter the password: ');
|
$passwordQuestion = new Question('Please enter the password: ');
|
||||||
|
|||||||
@@ -12,10 +12,13 @@ namespace App\Utils;
|
|||||||
interface HtmlToPdfConverter
|
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 string $html
|
||||||
* @param array $options
|
* @param array $options
|
||||||
* @return mixed
|
* @return string
|
||||||
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
public function convertToPdf(string $html, array $options = []);
|
public function convertToPdf(string $html, array $options = []): string;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,10 +56,10 @@ class MPdfConverter implements HtmlToPdfConverter
|
|||||||
/**
|
/**
|
||||||
* @param string $html
|
* @param string $html
|
||||||
* @param array $options
|
* @param array $options
|
||||||
* @return mixed|string
|
* @return string
|
||||||
* @throws \Mpdf\MpdfException
|
* @throws \Mpdf\MpdfException
|
||||||
*/
|
*/
|
||||||
public function convertToPdf(string $html, array $options = [])
|
public function convertToPdf(string $html, array $options = []): string
|
||||||
{
|
{
|
||||||
$options = array_merge(
|
$options = array_merge(
|
||||||
$this->sanitizeOptions($options),
|
$this->sanitizeOptions($options),
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
{% set tableName = 'plugins' %}
|
{% set tableName = 'plugins' %}
|
||||||
|
|
||||||
{{ tables.datatable_header(tableName, columns, null, {}) }}
|
{{ tables.datatable_header(tableName, columns, null, {}) }}
|
||||||
{% for plugin in plugins %}
|
{% for plugin in plugins|sort((p1, p2) => p1.name|lower <=> p2.name|lower) %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="{{ tables.data_table_column_class(tableName, columns, 'name') }}">
|
<td class="{{ tables.data_table_column_class(tableName, columns, 'name') }}">
|
||||||
{% if plugin.id != plugin.name %}
|
{% if plugin.id != plugin.name %}
|
||||||
|
|||||||
Reference in New Issue
Block a user