-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Symfony 7, dropped support for 4.4 and bumped minimal version t…
…o 5.4 (#324) * Allow Symfony 7, dropped Symfony 4.4 and bumped to Syfmony 5.4 * Fix testsuite * CI update for Symfony 7 * Dropped symfony/framework-extra-bundle usage * Fix PHPUnit tests * Reverted completely switching from annotation routes
- Loading branch information
1 parent
d09d9a1
commit 6c5d03d
Showing
27 changed files
with
309 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
framework: | ||
annotations: true | ||
|
||
sensio_framework_extra: | ||
router: | ||
annotations: true |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
framework: | ||
test: true | ||
secret: '%env(APP_SECRET)%' | ||
http_method_override: false | ||
handle_all_throwables: true | ||
session: | ||
handler_id: null | ||
cookie_secure: auto | ||
cookie_samesite: lax | ||
storage_factory_id: session.storage.factory.mock_file | ||
php_errors: | ||
log: true | ||
router: | ||
utf8: true | ||
cache: null |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ration/config/6.3/routes/annotations.yaml → ...ration/config/6.4/routes/controllers.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
controllers: | ||
resource: ../../../src/Controller/ | ||
type: annotation | ||
type: attribute |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
about: | ||
path: | ||
en: /about | ||
fr: /a-propos | ||
defaults: { _controller: \Presta\SitemapBundle\Tests\Integration\Controller\StaticController::about } | ||
options: | ||
sitemap: true |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
framework: | ||
test: true | ||
secret: '%env(APP_SECRET)%' | ||
http_method_override: false | ||
handle_all_throwables: true | ||
session: | ||
handler_id: null | ||
cookie_secure: auto | ||
cookie_samesite: lax | ||
storage_factory_id: session.storage.factory.mock_file | ||
php_errors: | ||
log: true | ||
router: | ||
utf8: true | ||
cache: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
framework: | ||
messenger: | ||
transports: | ||
async: 'in-memory://' | ||
routing: | ||
'Presta\SitemapBundle\Messenger\DumpSitemapMessage': async |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
presta_sitemap: | ||
default_section: static | ||
dump_directory: "%kernel.project_dir%/public" | ||
items_by_set: 10 | ||
alternate: | ||
enabled: true | ||
default_locale: en | ||
locales: [en, fr] | ||
i18n: symfony |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
controllers: | ||
resource: ../../../src/Controller/ | ||
type: attribute |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
presta_sitemap: | ||
resource: "@PrestaSitemapBundle/config/routing.yml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
about: | ||
path: | ||
en: /about | ||
fr: /a-propos | ||
defaults: { _controller: \Presta\SitemapBundle\Tests\Integration\Controller\StaticController::about } | ||
options: | ||
sitemap: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<routes xmlns="http://symfony.com/schema/routing" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> | ||
|
||
<route id="xml" path="/company"> | ||
<default key="_controller">Presta\SitemapBundle\Tests\Integration\Controller\StaticController::company</default> | ||
<option key="sitemap"> | ||
{"priority":"0.7", "changefreq":"weekly", "section":"static"} | ||
</option> | ||
</route> | ||
|
||
</routes> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
yaml: | ||
path: /contact | ||
defaults: { _controller: \Presta\SitemapBundle\Tests\Integration\Controller\StaticController::contact } | ||
options: | ||
sitemap: | ||
section: static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.