From 733b4979bec57a2a88f432ca49d54019f06967ac Mon Sep 17 00:00:00 2001 From: Vincent Letourneau Date: Thu, 28 Sep 2017 11:30:26 +0200 Subject: [PATCH] Add verbose mode to code-sniff command --- Makefile | 2 +- etc/nginx/default.template | 48 -------------------------------------- 2 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 etc/nginx/default.template diff --git a/Makefile b/Makefile index 459e8b7..1148421 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ clean: code-sniff: @echo "Checking the standard code..." - @docker-compose exec -T php ./app/vendor/bin/phpcs --standard=PSR2 app/src + @docker-compose exec -T php ./app/vendor/bin/phpcs -v --standard=PSR2 app/src composer-up: @docker run --rm -v $(shell pwd)/web/app:/app composer update diff --git a/etc/nginx/default.template b/etc/nginx/default.template deleted file mode 100644 index 1088f8f..0000000 --- a/etc/nginx/default.template +++ /dev/null @@ -1,48 +0,0 @@ -# Nginx configuration - -server { - listen 80 default_server; - listen [::]:80 default_server; - server_name localhost; - - index index.php index.html; - error_log /var/log/nginx/error.log; - access_log /var/log/nginx/access.log; - root /var/www/html/public; - - location ~ \.php$ { - try_files $uri =404; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass php:9000; - fastcgi_index index.php; - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param PATH_INFO $fastcgi_path_info; - } -} - -# server { -# server_name localhost; - -# listen 443 ssl; -# fastcgi_param HTTPS on; - -# ssl_certificate /etc/ssl/server.pem; -# ssl_certificate_key /etc/ssl/server.key; -# ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; - -# index index.php index.html; -# error_log /var/log/nginx/error.log; -# access_log /var/log/nginx/access.log; -# root /var/www/html/public; - -# location ~ \.php$ { -# try_files $uri =404; -# fastcgi_split_path_info ^(.+\.php)(/.+)$; -# fastcgi_pass php:9000; -# fastcgi_index index.php; -# include fastcgi_params; -# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; -# fastcgi_param PATH_INFO $fastcgi_path_info; -# } -# } \ No newline at end of file