Skip to content
New issue

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

Bump friendsofphp/php-cs-fixer from 3.25.0 to 3.26.1 #10

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"ext-exif": "*",
"ext-iconv": "*",
"ext-zip": "*",
"andanteproject/page-filter-form-bundle": "^1.0",
"doctrine/annotations": "^2.0",
"doctrine/doctrine-bundle": "^2.9",
"doctrine/doctrine-migrations-bundle": "^3.2",
Expand Down
82 changes: 75 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
Symfony\UX\LiveComponent\LiveComponentBundle::class => ['all' => true],
Symfony\UX\Autocomplete\AutocompleteBundle::class => ['all' => true],
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
Andante\PageFilterFormBundle\AndantePageFilterFormBundle::class => ['all' => true],
];
6 changes: 5 additions & 1 deletion config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ security:
property: username
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
pattern: ^/(_(profiler|wdt)|css|images|js|media)/
security: false
image_resolver:
pattern: ^/media/cache/resolve
security:
false
main:
lazy: true
provider: app_user_provider
Expand Down
2 changes: 2 additions & 0 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ twig:
globals:
displayMode: "@app.display_mode_subscriber" #The id of your service

form_themes: ['bootstrap_5_layout.html.twig']

when@test:
twig:
strict_variables: true
60 changes: 0 additions & 60 deletions src/Command/RenameAuthorCommand.php

This file was deleted.

56 changes: 0 additions & 56 deletions src/Command/RenameSerieCommand.php

This file was deleted.

51 changes: 0 additions & 51 deletions src/Controller/AuthorController.php

This file was deleted.

3 changes: 2 additions & 1 deletion src/Controller/AutocompleteGroupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public function index(Request $request, BookRepository $bookRepository, string $
'serie' => $bookRepository->getAllSeries()->getResult(),
'authors' => $bookRepository->getAllAuthors(),
'tags' => $bookRepository->getAllTags(),
'publisher' => $bookRepository->getAllPublisherss()->getResult(),
default => [],
};

Expand All @@ -41,7 +42,7 @@ public function index(Request $request, BookRepository $bookRepository, string $
}
$json['results'][] = ['value' => $item['item'], 'text' => $item['item']];
}
if (!$exactmatch && strlen($query) > 2) {
if (!$exactmatch && strlen($query) > 2 && $request->get('create', true) === true) {
$json['results'][] = ['value' => $query, 'text' => 'New: '.$query];
}

Expand Down
Loading
Loading