Skip to content

Commit

Permalink
Merge tag v2.4.0 into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
roadiz-ci committed Dec 6, 2024
1 parent 1828252 commit b3ea950
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 21 deletions.
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"doctrine/orm": "~2.20.0",
"jms/serializer": "^3.9.0",
"league/flysystem": "^3.0",
"roadiz/models": "2.4.x-dev",
"roadiz/rozier": "2.4.x-dev",
"roadiz/models": "2.4.*",
"roadiz/rozier": "2.4.*",
"symfony/asset": "6.4.*",
"symfony/cache": "6.4.*",
"symfony/dotenv": "6.4.*",
Expand All @@ -53,11 +53,11 @@
"phpstan/phpstan": "^1.5.3",
"phpstan/phpstan-doctrine": "^1.3",
"phpunit/phpunit": "^9.5",
"roadiz/compat-bundle": "2.4.x-dev",
"roadiz/core-bundle": "2.4.x-dev",
"roadiz/documents": "2.4.x-dev",
"roadiz/entity-generator": "2.4.x-dev",
"roadiz/rozier-bundle": "2.4.x-dev",
"roadiz/compat-bundle": "2.4.*",
"roadiz/core-bundle": "2.4.*",
"roadiz/documents": "2.4.*",
"roadiz/entity-generator": "2.4.*",
"roadiz/rozier-bundle": "2.4.*",
"symfony/browser-kit": "6.4.*",
"symfony/phpunit-bridge": "^7.0",
"symfony/stopwatch": "6.4.*"
Expand Down Expand Up @@ -87,8 +87,8 @@
},
"extra": {
"branch-alias": {
"dev-main": "2.3.x-dev",
"dev-develop": "2.4.x-dev"
"dev-main": "2.4.x-dev",
"dev-develop": "2.5.x-dev"
}
}
}
5 changes: 1 addition & 4 deletions src/Controller/Admin/FontsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@

class FontsController extends AbstractAdminController
{
private FilesystemOperator $fontStorage;

public function __construct(
FilesystemOperator $fontStorage,
private readonly FilesystemOperator $fontStorage,
SerializerInterface $serializer,
UrlGeneratorInterface $urlGenerator,
) {
parent::__construct($serializer, $urlGenerator);
$this->fontStorage = $fontStorage;
}

protected function supports(PersistableInterface $item): bool
Expand Down
4 changes: 2 additions & 2 deletions src/EventSubscriber/UpdateFontSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/**
* Calls font life cycle methods when no data changed according to Doctrine.
*/
final class UpdateFontSubscriber implements EventSubscriberInterface
final readonly class UpdateFontSubscriber implements EventSubscriberInterface
{
public function __construct(private readonly FontLifeCycleSubscriber $fontSubscriber)
public function __construct(private FontLifeCycleSubscriber $fontSubscriber)
{
}

Expand Down
3 changes: 0 additions & 3 deletions src/Form/FontType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Validator\Constraints\File;

/**
* FontType.
*/
class FontType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options): void
Expand Down
3 changes: 0 additions & 3 deletions src/Form/FontVariantsType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
*/
class FontVariantsType extends AbstractType
{
/**
* @param OptionsResolver $resolver [description]
*/
public function configureOptions(OptionsResolver $resolver): void
{
$resolver->setDefaults([
Expand Down

0 comments on commit b3ea950

Please sign in to comment.