Skip to content

Commit c100ca0

Browse files
committed
Adds initial code and tests
1 parent 069c702 commit c100ca0

14 files changed

+2169
-0
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This is the top-most .editorconfig file; do not search in parent directories.
2+
root = true
3+
4+
# All files.
5+
[*]
6+
end_of_line = LF
7+
indent_style = space
8+
indent_size = 2
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
[Makefile]
14+
indent_style = tab
15+
16+
[composer.json]
17+
indent_size = 4

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/bin/
2+
/vendor/
3+
*.sqlite

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/make -f
2+
3+
init:
4+
composer install --prefer-dist --no-progress
5+
6+
test:
7+
bin/phpunit
8+
9+
.PHONY: init test

composer.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "pnx/tree",
3+
"description": "A library for working with tree implementations.",
4+
"type": "library",
5+
"license": "GPL-2.0+",
6+
"authors": [
7+
{
8+
"name": "Kim Pepper",
9+
"email": "[email protected]"
10+
}
11+
],
12+
"minimum-stability": "dev",
13+
"require": {
14+
"doctrine/dbal": "~2.5"
15+
},
16+
"require-dev": {
17+
"phpunit/phpunit": "~4.8"
18+
},
19+
"autoload": {
20+
"psr-4": {
21+
"PNX\\Tree\\": "src"
22+
}
23+
},
24+
"autoload-dev": {
25+
"psr-4": {
26+
"PNX\\Tree\\Tests\\": "tests"
27+
}
28+
},
29+
"config": {
30+
"bin-dir": "bin/"
31+
}
32+
}

0 commit comments

Comments
 (0)