forked from phpDocumentor/phpDocumentor
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phpDocumentor#40: Basic Implementation for Documentation Standards
In this commit I have added on the previous commit to create a baseline way of dealign with Documentation Standard. phpDocumentor now supports rulesets in the same way as PHP_CodeSniffer and as such allows the custom creation of standards. With this feature it will be possible to finetune and tweak how your documentation is validated.
- Loading branch information
Showing
60 changed files
with
2,279 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
/** | ||
* phpDocumentor | ||
* | ||
* PHP Version 5.3 | ||
* | ||
* @copyright 2010-2014 Mike van Riel / Naenius (http://www.naenius.com) | ||
* @license http://www.opensource.org/licenses/mit-license.php MIT | ||
* @link http://phpdoc.org | ||
*/ | ||
|
||
namespace Cilex; | ||
|
||
/** | ||
* Describes a Service Provider that contains Commands. | ||
* | ||
* Because commands consume services when they are instantiated they should be registered after all services are | ||
* registered with the container. By applying this interface and registering all commands inside the | ||
* {@see self::registerCommands()} method Cilex will first register the services and after all services are registered | ||
* register the commands. | ||
*/ | ||
interface CommandProviderInterface | ||
{ | ||
/** | ||
* Registers commands with the Container. | ||
* | ||
* @param Application $app | ||
* | ||
* @return void | ||
*/ | ||
public function registerCommands($app); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.