Add recipe for tiloweb/pagination-bundle 3.0 (#1949)

* Add recipe for tiloweb/pagination-bundle 3.0

* fix: enable default_items_per_page in config to comply with recipes-contrib guidelines

Don't create bundle config files when no options are set.
Uncommenting default_items_per_page makes the config valid.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: remove trailing whitespace to resolve QA encoding check

Made-with: Cursor

* chore: trigger QA check after PR description update

Made-with: Cursor

* chore: trigger QA check after bundle PHP 8.1 compatibility

Made-with: Cursor

* chore: trigger QA check - v3.0.1 now on Packagist with PHP 8.1

Made-with: Cursor

* fix: remove blank lines with invalid indentation for QA 4-spaces check

Made-with: Cursor

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Thibault Henry
2026-02-26 12:33:40 +01:00
committed by GitHub
parent bedece222d
commit 5f696eb297
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Read the documentation: https://github.com/Tiloweb/SymfonyPaginationBundle
tiloweb_pagination:
# The Twig template used to render the pagination
# template: '@TilowebPagination/pagination.html.twig'
# Number of page links to show before and after the current page
# page_range: 4
# Default number of items per page
default_items_per_page: 10

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"Tiloweb\\PaginationBundle\\TilowebPaginationBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}