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
PSR-2 refactoring for config plugin #2382
Merged
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
c6639e6
start of refactoring the config plugin
splitbrain e063bab
moved php parser to it's own file
splitbrain 6850fd4
created a configuration Loader class
splitbrain 8ea5685
moved the whole settings class mechanism to it's own class
splitbrain 5a38a12
added Writer class for saving the config back to file
splitbrain 077c27b
adjusted basic loading saving in admin
splitbrain 5675a07
moved language loading to the loader
splitbrain a017dff
introduce getType for Settings
splitbrain 5c17d2d
first go over the settings classes for PSR-2
splitbrain a1ef8b4
PSR2 adjustments for admin class
splitbrain edba97f
fixed the minimal tests we have
splitbrain de33cda
Merge branch 'psr2' into psr2-config
splitbrain be1cc9a
replaced ptln() with echo
splitbrain 0a5b05e
Moved settings to their own namespace
splitbrain 70b28bc
check for opcache function before using it
splitbrain 1c0be3e
reset config directory for every test
splitbrain d7e6f39
Merge branch 'testinit' into psr2-config
splitbrain eb1b595
basic test for the Writer class
splitbrain e98b5e4
sucess is green
splitbrain 5d703e3
Also allow test files ending in Test.php
splitbrain f00299d
extract save checking into own method
splitbrain af40dea
proper defaults for initialize
splitbrain 98a151b
Some first Setting class tests
splitbrain c73b800
some more tests on the output mechanism
splitbrain 91109d5
Fixed some bugs in the Loader and added tests
splitbrain 303ffdf
Merge branch 'psr2' into psr2-config
splitbrain d6fc72e
fix language and TOC handling
splitbrain 6dd8fd8
some more testing
splitbrain 28cc4f4
make the onoff setting more boolean
splitbrain d6987bd
fixed updateSettings iteration
splitbrain e901cf7
make abstract test abstract again
splitbrain 8356fe6
improve update() comments
Chris--S 5f43ccc
Merge pull request #2404 from splitbrain/psr2-config-update-comments
splitbrain f37fd93
fix numericopt setting
splitbrain 53f3816
do not drop undefined settings when saving the configuration
splitbrain 80302b1
readd PLUGIN_CONFIG_PLUGINLIST event
splitbrain 3b223df
pass correct array in event
splitbrain 13b5250
removed constructor parameters we never use
splitbrain 4667676
clean settings data
splitbrain fbe5f61
removed fixme that had been fixed
splitbrain e729604
make undefined settings output work again
splitbrain 7a0ee53
show other errors in undefined settings again
splitbrain b71f246
an empty class is valid, only truly no class is bad
splitbrain f74addc
remove support for _cautionList
splitbrain a6e1db4
fallback classes for plugins inheriting from old settings classes
splitbrain f8dcd5b
do not initialize the configuration in constructor
splitbrain 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
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.
It looks like that
$list
is not defined already or used further in this function