-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from matthandus/feature/5-civicrm-domain-acces…
…s-feature-request Feature/5 civicrm domain access feature request
- Loading branch information
Showing
6,094 changed files
with
15,067 additions
and
1,111,156 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,15 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "XDebug", | ||
"type": "php", | ||
"request": "launch", | ||
"port": 9003, | ||
"log": false, | ||
"pathMappings": { | ||
"/app/": "${workspaceFolder}/", | ||
} | ||
} | ||
] | ||
} |
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,19 @@ | ||
[PHP] | ||
|
||
; Xdebug | ||
xdebug.max_nesting_level = 256 | ||
xdebug.show_exception_trace = 0 | ||
xdebug.collect_params = 0 | ||
xdebug.mode = debug | ||
xdebug.start_with_request = yes | ||
xdebug.client_host = ${LANDO_HOST_IP} | ||
xdebug.client_port = 9003 | ||
xdebug.log = /app/.vscode/xdebug.log | ||
|
||
; Remote settings | ||
xdebug.remote_enable = 1 | ||
xdebug.remote_autostart = 1 | ||
xdebug.remote_host = ${LANDO_HOST_IP} | ||
xdebug.remote_port = 9003 | ||
; xdebug.remote_connect_back = 1 | ||
xdebug.remote_log = /app/.vscode/xdebug_remote.log |
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,30 @@ | ||
#!/bin/bash | ||
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/app/vendor/bin | ||
dir=`pwd` | ||
arg="" | ||
for i in "$@"; do | ||
if [[ $i == --stdin-path* ]]; then | ||
find="--stdin-path=${dir}" | ||
replace="--extensions=php,module,inc,install,test,profile,theme,css,info,txt /app" | ||
result=${i//$find/$replace} | ||
i=$result | ||
fi | ||
if [[ $i != "-" ]]; then | ||
arg+=" "$i | ||
fi | ||
done | ||
#echo -e $arg >> phpcs-arg.txt | ||
#echo -e $dir >> phpcs-arg.txt | ||
stdout="$(lando phpcs $arg)" | ||
if [[ $stdout == PHP_CodeSniffer* ]]; then | ||
#echo "${stdout}" >> phpcs-stdout.txt | ||
echo "${stdout}" | ||
else | ||
#echo "${stdout}" >> phpcs-stdout.txt | ||
str="\/app" | ||
appdir=${dir//"/"/"\/"} | ||
swap=${appdir:1} | ||
json=${stdout//$str/$swap} | ||
#echo $json >> phpcs-stdout.txt | ||
echo $json | ||
fi |
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,41 @@ | ||
{ | ||
"editor.rulers": [], | ||
"editor.tabSize": 2, | ||
"editor.insertSpaces": true, | ||
/* PHP Specific configurations */ | ||
"phpcs.enable": true, | ||
"phpcs.standard": "Drupal,DrupalPractice", | ||
"phpcs.composerJsonPath": "./composer.json", | ||
"phpcs.executablePath": "./.vscode/phpcs.sh", | ||
"phpcs.autoConfigSearch": false, | ||
"phpcs.trace.server": "verbose", | ||
"phpcs.showSources": true, | ||
"php-docblocker.gap": true, | ||
"php-docblocker.useShortNames": true, | ||
"[php]": { | ||
"editor.autoIndent": "full", | ||
"editor.detectIndentation": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.insertFinalNewline": true | ||
}, | ||
/* End of PHP Configuration */ | ||
"files.associations": { | ||
"*.inc": "php", | ||
"*.module": "php", | ||
"*.install": "php", | ||
"*.theme": "php", | ||
"*.tpl.php": "php", | ||
"*.test": "php", | ||
"*.php": "php" | ||
}, | ||
"emmet.includeLanguages": { | ||
"twig": "html" | ||
}, | ||
"twigcs.executablePath": "./.vscode/twigcs.sh", | ||
"twigcs.enable": true, | ||
"twigcs.enabledWarning": true, | ||
"[git-commit]": { | ||
"editor.rulers": [], | ||
"workbench.editor.restoreViewState": 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,12 @@ | ||
#!/bin/bash | ||
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/app/vendor/bin | ||
input=$1 | ||
#echo -e "Input $input" >> phpcs-log.txt | ||
dir=`pwd` | ||
#echo -e "Directory $dir" >> phpcs-log.txt | ||
app="/app" | ||
path=${input//$dir/$app} | ||
#echo -e "Replaced $path" >> phpcs-log.txt | ||
output="$(lando twigcs $path)" | ||
#echo "Output $output" >> phpcs-log.txt | ||
echo "/$output" |
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.