mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-01-11 20:38:42 +00:00
Remove unavailable tools
This commit is contained in:
parent
9704fe7631
commit
12a707ea3d
|
|
@ -8,7 +8,6 @@ Tools used for the code inspection are:
|
|||
|
||||
* PhpLoc
|
||||
* PhpMetrics
|
||||
* PDepend
|
||||
* PhpUnit (see tests)
|
||||
* Jasmine (see tests)
|
||||
* Custom scripts/tools
|
||||
|
|
@ -23,6 +22,6 @@ As external tool scrutinizer is used to automate code inspection and provide ins
|
|||
|
||||
For developers it is recommended to copy the contents of the `default.sh` file in the `Build` repository under `Hooks` to your `pre-commit` file in the `.git/hooks` directory. If the `pre-commit` file doesn't exist just create it.
|
||||
|
||||
The same should be done with every module. Simply go to `.git/modules/**/hooks` and also add the content of the `default.sh` file to all `pre-commit` files.
|
||||
The same should be done with every module. Simply go to `.git/modules/**/hooks` and also add the content of the `default.sh` file to all `pre-commit` files.
|
||||
|
||||
By doing this every commit will be inspected and either pass without warnings, pass with warnings or stop with errors. This will allow you to fix code before committing it. Be aware only changed files will be inspected. Also make sure all `pre-commit` have `+x` permissions.
|
||||
|
|
@ -23,9 +23,7 @@ The following tools are important to test the application and to ensure the code
|
|||
* phploc
|
||||
* phpunit
|
||||
* phpcs
|
||||
* phpmd
|
||||
* phpmetrics
|
||||
* pdepend
|
||||
* documentor
|
||||
* phpstan
|
||||
* phan
|
||||
|
|
@ -34,6 +32,6 @@ The following tools are important to test the application and to ensure the code
|
|||
|
||||
For developers it is recommended to copy the contents of the `default.sh` file in the `Build` repository under `Hooks` to your `pre-commit` file in the `.git/hooks` directory. If the `pre-commit` file doesn't exist just create it.
|
||||
|
||||
The same should be done with every module. Simply go to `.git/modules/**/hooks` and also add the content of the `default.sh` file to all `pre-commit` files.
|
||||
The same should be done with every module. Simply go to `.git/modules/**/hooks` and also add the content of the `default.sh` file to all `pre-commit` files.
|
||||
|
||||
By doing this every commit will be inspected and either pass without warnings, pass with warnings or stop with errors. This will allow you to fix code before committing it. Be aware only changed files will be inspected. Also make sure all `pre-commit` have `+x` permissions.
|
||||
Loading…
Reference in New Issue
Block a user