]> git.immae.eu Git - github/shaarli/Shaarli.git/commit - index.php
CachedPage: move to a proper file, add tests
authorVirtualTam <virtualtam@flibidi.net>
Thu, 9 Jul 2015 20:14:39 +0000 (22:14 +0200)
committerVirtualTam <virtualtam@flibidi.net>
Thu, 13 Aug 2015 21:48:06 +0000 (23:48 +0200)
commit01e48f269df59e02798dad4a698c125d76b0ed70
tree9341487badd4ed14e0104ae338cf48c4ee0dc994
parent5ac5349ac053b1e560b136c62f8c764fd3230039
CachedPage: move to a proper file, add tests

Modifications
 - rename `pageCache` to `CachedPage`
 - move utilities to `Cache`
 - do not access globals
 - apply coding rules
 - update LinkDB and test code
 - add test coverage

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
application/Cache.php [new file with mode: 0644]
application/CachedPage.php [new file with mode: 0644]
application/LinkDB.php
index.php
tests/CacheTest.php [new file with mode: 0644]
tests/CachedPageTest.php [new file with mode: 0644]
tests/LinkDBTest.php
tests/utils/ReferenceLinkDB.php