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
[ticket/12775] Replace functions_container with a container_builder class. #2671
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
cdf87e0
[ticket/12775] Add a conter_factory class and remove functions_container
Nicofuma 8620545
[ticket/12775] Add customs parameters
Nicofuma cbe846a
[ticket/12775] Don't assign $container to null
Nicofuma 301d9ce
[ticket/12775] Add a config.php class (and service)
Nicofuma b999540
[ticket/12775] Add get() and get_all() into config_php
Nicofuma 01c25d3
[ticket/12775] Use the config.php handler in \phpbb\config_php
Nicofuma 4f56f9b
[ticket/12775] Rename the variables into common.php
Nicofuma 98890fe
[ticket/12775] Fix config_php::load_config_file()
Nicofuma 7864851
[ticket/12775] Update phpBB/bin/phpbbcli.php
Nicofuma f87e76b
[ticket/12775] Update phpBB/download/file.php
Nicofuma e7804ec
[ticket/12775] Update phpBB/install/database_update.php
Nicofuma ef1346c
[ticket/12775] Update phpBB/install/index.php
Nicofuma 20912d7
[ticket/12775] Skip the tests related to the container
Nicofuma cefffe0
[ticket/12775] Load the config file before constants.php
Nicofuma 91ca12f
[ticket/12775] Update container and config in install/
Nicofuma c87f44c
[ticket/12775] Use a field instead of a local var in load_config_var()
Nicofuma 1d966fb
[ticket/12775] Add tests for the container factory
Nicofuma afffec8
[ticket/12775] Add tests for \phpbb\config_php
Nicofuma 926e47e
[ticket/12775] Fix unit tests
Nicofuma 11ff91c
[ticket/12775] Remove the last include of functions_container
Nicofuma 40937e2
[ticket/12775] Renamed to \phpbb\di\container_builder
Nicofuma 2db160f
[ticket/12775] Rename config_php to config_php_file
Nicofuma f2e8e92
[ticket/12775] Fix container_builder
Nicofuma 15c23e6
[ticket/12775] Update doc blocks
Nicofuma 98e8be9
[ticket/12775] Fix comments
Nicofuma ed812a9
[ticket/12775] Move phpbb_convert_30_dbms_to_31 into the config file …
Nicofuma d226a73
[ticket/12775] Remove useless includes of config.php
Nicofuma 35c0b6d
[ticket/12775] Fix doc blocks in the container builder
Nicofuma 8c0d179
[ticket/12775] Set defined_vars as a property of config_php_file
Nicofuma 6c57fbe
[ticket/12775] Rename config_php_handler to config_php_file container…
Nicofuma 285656a
[ticket/12775] Extract the vars later in install/install_update.php
Nicofuma 5b11ee8
[ticket/12775] Inject the connection when created in the container
Nicofuma e2cbaf4
[ticket/12775] Add the definition of dbal.conn in fixtures/config/ser…
Nicofuma 58a52fe
[ticket/12775] Set dbal.conn.driver as synthetic during installation
Nicofuma File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume we can easily remove this later on to also have the extensions loaded? This would fix https://tracker.phpbb.com/browse/PHPBB3-12685
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think too, and this way we could have a "safe" phpbbcli (no cache, no extensions...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do that later as a PR on top of this.