mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge pull request #2397 from Nicofuma/ticket/11497
[ticket/11497] Remove 'ext.finder' from services' list * Nicofuma/ticket/11497: [ticket/11497] Rename set_ext_finder in find_routing_files [ticket/11497] Change the date in the package declaration [ticket/11497] Fix pagination tests [ticket/11497] Use a mock object to define the root folder for the finder [ticket/11497] Generate the list of the routes in controller_helper [ticket/11497] Fix the path for the finder in controller_provider [ticket/11497] Fix tests [ticket/11497] Update pagination test [ticket/11497] Remove 'ext.finder' from services' list
This commit is contained in:
@@ -95,6 +95,7 @@ services:
|
||||
- @user
|
||||
- @config
|
||||
- @controller.provider
|
||||
- @ext.manager
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
|
||||
@@ -107,8 +108,6 @@ services:
|
||||
|
||||
controller.provider:
|
||||
class: phpbb\controller\provider
|
||||
arguments:
|
||||
- @ext.finder
|
||||
calls:
|
||||
- [find, [%core.root_path%]]
|
||||
|
||||
@@ -175,16 +174,6 @@ services:
|
||||
- %core.php_ext%
|
||||
- @cache.driver
|
||||
|
||||
ext.finder:
|
||||
class: phpbb\extension\finder
|
||||
arguments:
|
||||
- @ext.manager
|
||||
- @filesystem
|
||||
- %core.root_path%
|
||||
- @cache.driver
|
||||
- %core.php_ext%
|
||||
- _ext_finder
|
||||
|
||||
filesystem:
|
||||
class: phpbb\filesystem
|
||||
|
||||
@@ -217,7 +206,7 @@ services:
|
||||
kernel_request_subscriber:
|
||||
class: phpbb\event\kernel_request_subscriber
|
||||
arguments:
|
||||
- @ext.finder
|
||||
- @ext.manager
|
||||
- %core.root_path%
|
||||
- %core.php_ext%
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user