File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ composer require jfcherng/php-diff
4545
4646## Example
4747
48- See [ example/ demo.php] ( https://github.com/jfcherng/php-diff/blob/v6/example/demo.php ) and files under ` tests/ ` .
48+ See ` demo.php ` in the [ example/ ] ( https://github.com/jfcherng/php-diff/blob/v6/example ) and files under ` tests/ ` .
4949
5050``` php
5151<?php
Original file line number Diff line number Diff line change 4444 " phan --color" ,
4545 " phpcs --colors -n"
4646 ],
47- "example" : [
48- " Composer\\ Config::disableProcessTimeout" ,
49- " @php -S localhost:12388 -t example/"
50- ],
5147 "fix" : [
5248 " php-cs-fixer fix --verbose"
5349 ],
50+ "server" : [
51+ " Composer\\ Config::disableProcessTimeout" ,
52+ " @php -S localhost:12388 -t example/"
53+ ],
5454 "test" : [
5555 " phpunit --verbose"
5656 ]
Original file line number Diff line number Diff line change 1- To run the example on your local machine, you can follow steps below.
1+ To run ` demo.php ` on your local machine, you can follow steps below.
22
33In the parent folder (i.e., this project's root directory):
44
5- 1 . Install dependencies with ` composer install ` .
6- 1 . Start PHP development server with ` composer run-script example ` .
5+ 1 . Install dependencies with ` composer upgrade ` .
6+ 1 . Start PHP development server with ` composer run-script server ` .
771 . Visit ` http://localhost:12388/demo.php ` with your web browser.
You can’t perform that action at this time.
0 commit comments