mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-09 13:34:38 +02:00
[core] extract BridgeAbstract methods to make them functions
Method validateData is now afunction in lib/validation.php validateTextValue, validateNumberValue, validateCheckboxValue and validateListValue are now anonymous functions defined in validateData Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
747be13849
commit
a1ef589ffe
3 changed files with 106 additions and 100 deletions
|
@ -15,6 +15,8 @@ require __DIR__ . '/BridgeAbstract.php';
|
|||
require __DIR__ . '/FeedExpander.php';
|
||||
require __DIR__ . '/Cache.php';
|
||||
require __DIR__ . '/CacheAbstract.php';
|
||||
|
||||
require __DIR__ . '/validation.php';
|
||||
require __DIR__ . '/html.php';
|
||||
require __DIR__ . '/error.php';
|
||||
require __DIR__ . '/contents.php';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue