Skip to content

Commit 00f1503

Browse files
eloipochDominik Liebler
authored andcommitted
add composer
Added as a dependencies: - PHPUnit to allow run the test suit - PHP CodeSniffer to allow check the code style
1 parent 33db535 commit 00f1503

File tree

3 files changed

+531
-1
lines changed

3 files changed

+531
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# common
22
.idea
3-
/nbproject
3+
/nbproject
4+
/vendor/

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "domnikl/design-patterns-php",
3+
"description": "Sample code for several design patterns in PHP",
4+
"authors": [
5+
{
6+
"name": "Dominik Liebler",
7+
"email": "liebler.dominik@googlemail.com"
8+
}
9+
],
10+
"minimum-stability": "stable",
11+
"require-dev": {
12+
"phpunit/phpunit": "3.7.*",
13+
"squizlabs/php_codesniffer": "1.5.*"
14+
},
15+
"autoload": {
16+
"psr-4": {
17+
"DesignPatterns\\": ""
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)