This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronized configuration files with project-template-cakephp.
- Loading branch information
1 parent
39ede78
commit 6fa236c
Showing
8 changed files
with
167 additions
and
47 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 |
---|---|---|
|
@@ -16,3 +16,6 @@ end_of_line = crlf | |
[*.yml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.twig] | ||
insert_final_newline = false |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# 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. | ||
.htaccess text | ||
*.css text diff=css | ||
*.ctp text diff=php | ||
*.default text | ||
*.html text diff=html | ||
*.ini text | ||
*.js text | ||
*.md text | ||
*.php text diff=php | ||
*.po text | ||
*.properties text | ||
*.sql text | ||
*.svg text | ||
*.txt text | ||
*.xml text | ||
*.yml 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. | ||
composer binary | ||
*.png binary | ||
*.jpg binary | ||
*.gif binary | ||
*.ico binary | ||
*.mo binary | ||
*.pdf binary | ||
*.phar binary | ||
|
||
# Web fonts are binary | ||
*.otf binary | ||
*.eot binary | ||
*.ttf binary | ||
*.woff binary | ||
*.woff2 binary | ||
|
||
# Treat zip files as binary | ||
*.7z binary | ||
*.bz2 binary | ||
*.gz binary | ||
*.zip binary |
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 |
---|---|---|
@@ -1,5 +1,41 @@ | ||
# Project specific files # | ||
########################## | ||
build/ | ||
vendor/ | ||
cghooks.lock | ||
|
||
composer.lock | ||
config/Migrations/schema-dump-default.lock | ||
config/Migrations/schema-dump-test.lock | ||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
Icon? | ||
ehthumbs.db | ||
Thumbs.db | ||
|
||
# Tool specific files # | ||
####################### | ||
# vim | ||
*~ | ||
*.swp | ||
*.swo | ||
# sublime text & textmate | ||
*.sublime-* | ||
*.stTheme.cache | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
# Eclipse | ||
.settings/* | ||
# JetBrains, aka PHPStorm, IntelliJ IDEA | ||
.idea/* | ||
# NetBeans | ||
nbproject/* | ||
# Visual Studio Code | ||
.vscode | ||
# Sass preprocessor | ||
.sass-cache/ |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
linters: | ||
phpcs: | ||
standard: CakePHP | ||
extensions: '.php,.ctp' | ||
extensions: 'php,ctp' | ||
exclude: 'Generic.Commenting.Todo' | ||
files: | ||
ignore: ['config/*', 'tests/*'] | ||
ignore: ['webroot/plugins/*'] |
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
parameters: | ||
level: 7 | ||
paths: | ||
- src | ||
- tests | ||
- webroot | ||
autoload_files: | ||
- tests/bootstrap.php | ||
earlyTerminatingMethodCalls: | ||
Cake\Console\Shell: | ||
- abort | ||
includes: | ||
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon | ||
- vendor/timeweb/phpstan-enum/extension.neon |
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