diff options
author | VirtualTam <virtualtam@flibidi.org> | 2015-03-12 00:43:02 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-06-11 00:45:45 +0200 |
commit | ca74886f30da323f42aa4bd70461003f46ef299b (patch) | |
tree | 3714895c25d80bdb472211a564f83d3744d90f34 /tests/.htaccess | |
parent | cbecab773526b0c39f3cffa1d4595b5caa781bda (diff) | |
download | Shaarli-ca74886f30da323f42aa4bd70461003f46ef299b.tar.gz Shaarli-ca74886f30da323f42aa4bd70461003f46ef299b.tar.zst Shaarli-ca74886f30da323f42aa4bd70461003f46ef299b.zip |
LinkDB: move to a proper file, add test coverage
Relates to #71
LinkDB
- move to application/LinkDB.php
- code cleanup
- indentation
- whitespaces
- formatting
- comment cleanup
- add missing documentation
- unify formatting
Test coverage for LinkDB
- constructor
- public / private access
- link-related methods
Shaarli utilities (LinkDB dependencies)
- move startsWith() and endsWith() functions to application/Utils.php
- add test coverage
Dev utilities
- Composer: add PHPUnit to dev dependencies
- Makefile:
- update lint targets
- add test targets
- generate coverage reports
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/.htaccess')
-rw-r--r-- | tests/.htaccess | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/.htaccess b/tests/.htaccess new file mode 100644 index 00000000..b584d98c --- /dev/null +++ b/tests/.htaccess | |||
@@ -0,0 +1,2 @@ | |||
1 | Allow from none | ||
2 | Deny from all | ||