-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
375 additions
and
500 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
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 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[{*.(xlf,xml,html5,twig,json,js,vue}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.php] | ||
indent_style = space | ||
indent_size = 4 | ||
max_line_length = 120 |
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,11 +1,30 @@ | ||
# Custom | ||
.check-author.yml export-ignore | ||
.gitattributes export-ignore | ||
.github export-ignore | ||
.gitignore export-ignore | ||
.travis.yml export-ignore | ||
/js export-ignore | ||
/specs export-ignore | ||
/tests export-ignore | ||
build.default.properties export-ignore | ||
build.xml export-ignore | ||
phpunit.xml.dist export-ignore | ||
/tests export-ignore | ||
/specs export-ignore | ||
/js export-ignore | ||
|
||
# Auto detect text files and perform LF normalization | ||
* text-auto | ||
|
||
# Configuration | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.phpcq.lock export-ignore | ||
.phpcq.yaml.dist export-ignore | ||
companion.json export-ignore | ||
composer.lock -diff | ||
phpcs.xml.dist export-ignore | ||
psalm.xml export-ignore | ||
rector.php export-ignore | ||
|
||
# PHP files | ||
*.php text eol=lf diff=php |
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 |
---|---|---|
@@ -1,15 +1,11 @@ | ||
# composer related | ||
vendor/ | ||
composer.lock | ||
# Companion | ||
/.env.companion | ||
|
||
# PHPCQ | ||
.phpcq.yaml | ||
.phpcq/* | ||
!.phpcq | ||
!.phpcq/local | ||
|
||
# PHPCS | ||
.phpcs-cache | ||
# Composer | ||
/composer.lock | ||
/vendor | ||
|
||
# docs | ||
_book/ | ||
# PHPCQ | ||
/.phpcq | ||
/.phpcq.yaml | ||
/.phpcs-cache |
Large diffs are not rendered by default.
Oops, something went wrong.
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,103 +1,91 @@ | ||
phpcq: | ||
repositories: | ||
- https://phpcq.github.io/repository/repository.json | ||
- 'https://phpcq.github.io/repository/repository.json' | ||
directories: | ||
- src | ||
artifact: .phpcq/build | ||
|
||
plugins: | ||
psalm: | ||
composer-normalize: | ||
version: ^1.0 | ||
signed: false | ||
composer-require-checker: | ||
version: ^1.0 | ||
signed: false | ||
phpmd: | ||
version: ^1.0 | ||
signed: false | ||
requirements: | ||
phpmd: | ||
signed: false | ||
phpcpd: | ||
version: ^1.1 | ||
signed: false | ||
phploc: | ||
version: ^1.0 | ||
signed: false | ||
phpcs: | ||
phpmd: | ||
version: ^1.0 | ||
signed: false | ||
composer-normalize: | ||
psalm: | ||
version: ^1.0 | ||
signed: false | ||
rector: | ||
version: ^1.0 | ||
signed: false | ||
phpcs: | ||
version: ^1.0 | ||
signed: false | ||
trusted-keys: | ||
# composer-require-checker | ||
- C00543248C87FB13 | ||
- 033E5F8D801A2F8D | ||
# sb@sebastian-bergmann.de | ||
- D2CCAC42F6295E7D | ||
- 4AA394086372C20A | ||
# psalm | ||
- 9093F8B32E4815AA | ||
- 8A03EA3B385DBAA1 | ||
- 12CE0F1D262429A5 | ||
# magl@magll.net | ||
- D2CCAC42F6295E7D | ||
# PHP_CodeSniffer | ||
- 31C7E470E2138192 | ||
# Composer normalize | ||
- C00543248C87FB13 | ||
|
||
- 5E6DDE998AB73B8E | ||
- A978220305CD5C32 | ||
tasks: | ||
fix: | ||
- composer-normalize-fix | ||
- rector-fix | ||
- phpcbf | ||
|
||
verify: | ||
- composer-require-checker | ||
- composer-normalize | ||
|
||
- composer-require-checker | ||
analyze: | ||
- phploc | ||
- phpcpd | ||
- phploc | ||
- phpmd | ||
- phpcs | ||
- psalm | ||
|
||
- rector | ||
- phpcs | ||
default: | ||
- verify | ||
- analyze | ||
|
||
phpcpd: | ||
composer-normalize-fix: | ||
config: | ||
exclude: | ||
- spec/PropertyAccess/ContaoModelPropertyAccessorSpec.php | ||
|
||
phpmd: | ||
dry_run: false | ||
ignore_output: | ||
- '#> pre-command-run: Contao\\ManagerPlugin\\Composer\\ArtifactsPlugin->preCommandRun#' | ||
plugin: composer-normalize | ||
composer-normalize: | ||
config: | ||
directories: | ||
- src | ||
ruleset: | ||
- codesize | ||
- controversial | ||
- naming | ||
- unusedcode | ||
|
||
ignore_output: | ||
- '#> pre-command-run: Contao\\ManagerPlugin\\Composer\\ArtifactsPlugin->preCommandRun#' | ||
composer-require-checker: | ||
config: | ||
config_file: '.composer-require-checker.json' | ||
|
||
config_file: .composer-require-checker.json | ||
rector-fix: | ||
config: | ||
dry-run: false | ||
plugin: rector | ||
phpcs: | ||
config: &phpcs-config | ||
config: | ||
standard: ~ | ||
standard_paths: | ||
- ./vendor/slevomat/coding-standard | ||
- ./vendor/doctrine/coding-standard/lib | ||
|
||
phpcbf: | ||
plugin: phpcs | ||
config: | ||
<<: *phpcs-config | ||
standard: ~ | ||
standard_paths: | ||
- ./vendor/slevomat/coding-standard | ||
- ./vendor/doctrine/coding-standard/lib | ||
fix: true | ||
|
||
composer-normalize-fix: | ||
plugin: composer-normalize | ||
config: | ||
dry_run: 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,32 @@ | ||
{ | ||
"receipts": ["projects/contao-bundle/4.13-5.3"], | ||
"config": { | ||
"phpConstraint": "^8.2" | ||
}, | ||
"tools": { | ||
"composer": { | ||
"namespace": "Netzmacht\\ContaoFormBundle" | ||
}, | ||
"psalm": { | ||
"configuration": { | ||
"errorLevel": "3" | ||
} | ||
}, | ||
"phpcq": { | ||
"plugins": { | ||
"phpunit": false | ||
}, | ||
"presets": { | ||
"composer-require-checker": { | ||
"tasks": { | ||
"composer-require-checker": { | ||
"config": { | ||
"config_file": ".composer-require-checker.json" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.