Skip to content

Commit 850dbc5

Browse files
committed
Merge pull request #1 from devdrops/develop
Merged #1
2 parents 1f0a4e6 + fa7735f commit 850dbc5

File tree

8 files changed

+207
-166
lines changed

8 files changed

+207
-166
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
.idea
2-
vendor
1+
/composer.lock
2+
/vendor

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
##PHP DocBlock Checker
2+
3+
A basic CLI (Command Line Interface) tool to verify if your PHP classes have DocBlocks.
4+
5+
###What it does?
6+
7+
This tool can:
8+
9+
- Check if every PHP class and it's methods does have their own DocBlock.
10+
11+
###What it does not?
12+
- It doesn't check for the integrity of your DocBlocks **at this time**.
13+
14+
###What does it requires?
15+
Please check `composer.json` for details.
16+
17+
###Where is the documentation?
18+
Please check `docs.md` for further information on how to use this tool.
19+
20+
###And, in case I want some references?
21+
22+
- [phpDocumentor list of DocBlock tags](http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.pkg.html)
23+
- [Project source](https://github.com/Block8/php-docblock-checker)
24+
- [PSR-5 PHPDoc Standard [**DRAFT**]](https://github.com/php-fig/fig-standards/pull/169/files)

composer.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"keywords" : ["php", "phpci", "testing", "docblock", "comment", "checker", "code quality"],
77
"homepage" : "https://www.phptesting.org/",
88
"license" : "BSD-2-Clause",
9-
109
"authors": [
1110
{
1211
"name" : "Dan Cryer",
@@ -15,25 +14,29 @@
1514
"role" : "Developer"
1615
}
1716
],
18-
1917
"support": {
2018
"issues": "https://github.com/Block8/php-docblock-checker/issues",
2119
"source": "https://github.com/Block8/php-docblock-checker"
2220
},
23-
2421
"require": {
2522
"php": ">=5.3.3",
2623
"phpunit/php-token-stream": "1.*",
2724
"symfony/console": "~2.1"
2825
},
29-
3026
"require-dev": {
3127
"phpmd/phpmd": "~2.0",
3228
"squizlabs/php_codesniffer": "~1.5",
3329
"phploc/phploc": "~2.0"
3430
},
35-
3631
"bin": [
3732
"phpdoccheck"
38-
]
33+
],
34+
"autoload": {
35+
"psr-0": {
36+
"PhpDocblockChecker": "src/"
37+
},
38+
"psr-4": {
39+
"PhpDocblockChecker\\": "src/"
40+
}
41+
}
3942
}

0 commit comments

Comments
 (0)