Release 2.2.1 (#4389)

* added missing functions to invoice security policy
This commit is contained in:
Kevin Papst
2023-11-01 01:16:17 +01:00
committed by GitHub
parent e06acc95c5
commit c840fee911
3 changed files with 13 additions and 3 deletions

View File

@@ -17,11 +17,11 @@ class Constants
/**
* The current release version
*/
public const VERSION = '2.2.0';
public const VERSION = '2.2.1';
/**
* The current release: major * 10000 + minor * 100 + patch
*/
public const VERSION_ID = 20200;
public const VERSION_ID = 20201;
/**
* The software name
*/

View File

@@ -16,7 +16,7 @@ use Symfony\Component\Form\AbstractType;
*/
final class ContractByUserForm extends AbstractType
{
public function getParent(): ?string
public function getParent(): string
{
return YearByUserForm::class;
}

View File

@@ -169,6 +169,10 @@ final class InvoicePolicy implements SecurityPolicyInterface
// vendor/symfony/twig-bridge/Extension/AssetExtension.php
'asset',
// =================================================================
// vendor/symfony/twig-bridge/Extension/SecurityExtension.php
'is_granted',
// =================================================================
// Twig/RuntimeExtensions.php
'qr_code_data_uri',
@@ -176,6 +180,12 @@ final class InvoicePolicy implements SecurityPolicyInterface
// =================================================================
// Twig/Configuration.php
'config',
// =================================================================
// Twig/LocaleFormatExtensions.php
'create_date',
'month_names',
'locale_format',
]
));
}