Documentation improvement

This commit is contained in:
Vincent Letourneau
2018-03-29 10:49:56 +02:00
parent fa971dc95a
commit 1f4cba9861
2 changed files with 2 additions and 28 deletions

View File

@@ -279,13 +279,13 @@ sudo docker-compose exec -T php php -d memory_limit=256M -d xdebug.profiler_enab
### Testing PHP application with PHPUnit
```sh
sudo docker-compose exec -T php ./app/vendor/bin/phpunit --colors=always --configuration ./app/
sudo docker-compose exec -T php ./app/vendor/bin/phpunit --colors=always --configuration ./app
```
### Fixing standard code with [PSR2](http://www.php-fig.org/psr/psr-2/)
```sh
sudo docker-compose exec -T php ./app/vendor/bin/phpcs -v --standard=PSR2 ./app/src/
sudo docker-compose exec -T php ./app/vendor/bin/phpcbf -v --standard=PSR2 ./app/src
```
### Checking the standard code with [PSR2](http://www.php-fig.org/psr/psr-2/)

View File

@@ -1,26 +0,0 @@
# Configure Local CA CERT with MacOS
## 1. The warning you receive while developing locally.
![Warning](images/cacert-1-warning.png)
## 2. Open the keychain app.
![Open Keychain](images/cacert-2-open-keychain.png)
## 3. Use File --> Import to add the ca cert you've already created.
![Add CA Cert](images/cacert-3-add-cacert-file-import.png)
## 4. Once added, locate it via the search box.
![Localhost Search Box](images/cacert-4-locate-cert.png)
## 5. Set to always trust.
![Trust The Cert](images/cacert-5-set-to-always-trust.png)
## 6. Reload the webpage.
![The Results](images/cacert-6-reload-page.png)