From 7c5cd378e14c43d2e28565c9884717af6cbef6dd Mon Sep 17 00:00:00 2001 From: mrdrogdrog <tilman.vatteroth@udo.edu> Date: Sat, 23 May 2015 09:42:12 +0200 Subject: [PATCH] versteckte dateien --- .editorconfig | 18 ++++++++++++++++++ .gitattributes | 36 ++++++++++++++++++++++++++++++++++++ .htaccess | 5 +++++ .travis.yml | 18 ++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .htaccess create mode 100644 .travis.yml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7061901 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.bat] +end_of_line = crlf + +[*.yml] +indent_style = space +indent_size = 2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..926a808 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,36 @@ +# Define the line ending behavior of the different file extensions +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto +* text eol=lf + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.php text +*.default text +*.ctp text +*.sql text +*.md text +*.po text +*.js text +*.css text +*.ini text +*.properties text +*.txt text +*.xml text +*.yml text +.htaccess text + +# Declare files that will always have CRLF line endings on checkout. +*.bat eol=crlf + +# Declare files that will always have LF line endings on checkout. +*.pem eol=lf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary +*.gif binary +*.ico binary +*.mo binary +*.pdf binary +*.phar binary diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8cfc1ea --- /dev/null +++ b/.htaccess @@ -0,0 +1,5 @@ +<IfModule mod_rewrite.c> + RewriteEngine on + RewriteRule ^$ webroot/ [L] + RewriteRule (.*) webroot/$1 [L] +</IfModule> diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b9b3379 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: php + +sudo: false + +php: + - 5.4 + - 5.5 + - 5.6 + +before_script: + - sh -c "composer require 'cakephp/cakephp-codesniffer:dev-master'" + - phpenv rehash + +script: + - sh -c "vendor/bin/phpcs -p --extensions=php --standard=vendor/cakephp/cakephp-codesniffer/CakePHP ./src ./tests ./config ./webroot" + +notifications: + email: false -- GitLab