-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from koriym/spike
Ask Email address
- Loading branch information
Showing
3 changed files
with
39 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ As well as config file for popular continuous integration tool. | |
To create your project, enter the following command in your console. | ||
|
||
``` | ||
composer create-project koriym/php-skeleton {project-path} | ||
composer create-project koriym/php-skeleton <project-path> | ||
``` | ||
|
||
You will be asked a few questions to configure the project: | ||
|
@@ -36,6 +36,10 @@ What is the package name ? | |
What is your name ? | ||
(Akihito Koriyama): | ||
What is your email address ? | ||
([email protected]): | ||
``` | ||
|
||
## Composer Commands | ||
|
@@ -59,11 +63,6 @@ Once installed, the project will automatically be configured so you can run thos | |
`composer cs-fix` run [`php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer) and [`phpcbf`](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Fixing-Errors-Automatically) to fix up the PHP code to follow the coding standards. (Check only command `compposer cs` is also available.) | ||
|
||
|
||
### build | ||
|
||
`composer build` run [`phploc`](https://github.com/sebastianbergmann/phploc), [`pdepend`](https://pdepend.org/) and [tests](#tests) above. It's handy for Jenkins. | ||
You need "composer require phploc/phploc pdepend/pdepend --dev" for this. | ||
|
||
## Setup continuous integration | ||
|
||
* [Travis CI](https://docs.travis-ci.com/user/getting-started) | ||
|
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