Skip to content

Commit 22af26d

Browse files
committed
Creating initial caches
- MemoryCache + tests - VoidCache + tests
1 parent d49d348 commit 22af26d

File tree

11 files changed

+2978
-0
lines changed

11 files changed

+2978
-0
lines changed

.editorconfig

Lines changed: 821 additions & 0 deletions
Large diffs are not rendered by default.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/

.styleci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
php:
2+
version: 8.1
3+
preset: recommended
4+
disabled:
5+
- align_double_arrow
6+
- align_phpdoc

composer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "webdevcave/simple-cache",
3+
"description": "PSR Simple Cache Implementation",
4+
"type": "library",
5+
"keywords": ["php", "psr", "simple-cache", "cache"],
6+
"require": {
7+
"php": ">=8",
8+
"psr/simple-cache": "^3.0"
9+
},
10+
"license": "MIT",
11+
"autoload": {
12+
"psr-4": {
13+
"Webdevcave\\SimpleCache\\": "src/"
14+
}
15+
},
16+
"require-dev": {
17+
"phpunit/phpunit": "^10.5"
18+
},
19+
"scripts": {
20+
"test": "./vendor/bin/phpunit ./tests"
21+
},
22+
"scripts-descriptions": {
23+
"test": "Run unit tests"
24+
}
25+
}

0 commit comments

Comments
 (0)