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
976 changed files
with
101,078 additions
and
611 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"name": "PHP", | ||
"image": "mcr.microsoft.com/devcontainers/php", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"github.codespaces", | ||
// PHP from https://github.com/devcontainers/templates/tree/main/src/php | ||
"xdebug.php-debug", | ||
"bmewburn.vscode-intelephense-client", | ||
"xdebug.php-pack", | ||
// PHP | ||
"DEVSENSE.phptools-vscode", | ||
"DEVSENSE.composer-php-vscode", | ||
// linting | ||
"EditorConfig.EditorConfig", | ||
"dbaeumer.vscode-eslint", | ||
"raymondcamden.CSSLint", | ||
// testing | ||
"maty.vscode-mocha-sidebar" | ||
] | ||
}, | ||
"codespaces": { | ||
"repositories": { | ||
"PrivateBin/*": { | ||
"permissions": { | ||
"pull_requests": "write" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers-contrib/features/mocha:2": {} | ||
}, | ||
"forwardPorts": [ | ||
8080 | ||
], | ||
"postCreateCommand": [ | ||
"composer install --no-dev --optimize-autoloader", | ||
"sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html", | ||
"npm install --global nyc" | ||
], | ||
// alternatiuve: apache2ctl start (but requires root) | ||
"postAttachCommand": "php -S 0.0.0.0:8080" | ||
} |
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,7 @@ | ||
{ | ||
"recommendations": [ | ||
"recca0120.vscode-phpunit", | ||
"onecentlin.phpunit-snippets", | ||
"devsense.profiler-php-vscode" | ||
] | ||
} |
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,35 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Launch built-in server and debug", | ||
"type": "php", | ||
"request": "launch", | ||
"runtimeArgs": [ | ||
"-S", | ||
"localhost:8000", | ||
"-t", | ||
"." | ||
], | ||
"port": 9003, | ||
"serverReadyAction": { | ||
"action": "openExternally" | ||
} | ||
}, | ||
{ | ||
"name": "Debug current script in console", | ||
"type": "php", | ||
"request": "launch", | ||
"program": "${file}", | ||
"cwd": "${fileDirname}", | ||
"externalConsole": false, | ||
"port": 9003 | ||
}, | ||
{ | ||
"name": "Listen for Xdebug", | ||
"type": "php", | ||
"request": "launch", | ||
"port": 9003 | ||
} | ||
] | ||
} |
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 @@ | ||
../nikic/php-parser/bin/php-parse |
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 @@ | ||
../phpunit/phpunit/phpunit |
Oops, something went wrong.