-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat!: first implementation * chore: add implementation health check * chore: add testes * chore: add tests + stubs * chore: corrige em versoes antigas * chore: create function to get timestamp * chore: update phpunit.xml + gitignore * chore: adiciona testes unitarios * chore: add sonar * chore: atualiza função para pegar memoria * chore: remove arquivos * chore: atualiza dev com xdebug * chore: atualiza testes * chore: add scripts to run tests * chore: add tests to runners * chore: update gitignore * chore: remove composer.lock do git * docs: add documentação
- Loading branch information
1 parent
a2584a1
commit 5eb1c78
Showing
47 changed files
with
2,187 additions
and
19 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 |
---|---|---|
@@ -1 +1,5 @@ | ||
|
||
vendor/ | ||
reports/ | ||
.phpunit.cache/ | ||
.phpunit.result.cache | ||
composer.lock |
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,51 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Listen for Xdebug", | ||
"type": "php", | ||
"request": "launch", | ||
"port": 9003, | ||
"pathMappings": { | ||
"/app" : "${workspaceFolder}" | ||
} | ||
}, | ||
{ | ||
"name": "Launch currently open script", | ||
"type": "php", | ||
"request": "launch", | ||
"program": "${file}", | ||
"cwd": "${fileDirname}", | ||
"port": 9003, | ||
"runtimeArgs": [ | ||
"-dxdebug.start_with_request=yes" | ||
], | ||
"env": { | ||
"XDEBUG_MODE": "debug,develop", | ||
"XDEBUG_CONFIG": "client_port=${port}" | ||
} | ||
}, | ||
{ | ||
"name": "Launch Built-in web server", | ||
"type": "php", | ||
"request": "launch", | ||
"runtimeArgs": [ | ||
"-dxdebug.mode=debug", | ||
"-dxdebug.start_with_request=yes", | ||
"-S", | ||
"localhost:0" | ||
], | ||
"program": "", | ||
"cwd": "${workspaceRoot}", | ||
"port": 9003, | ||
"serverReadyAction": { | ||
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started", | ||
"uriFormat": "http://localhost:%s", | ||
"action": "openExternally" | ||
} | ||
} | ||
] | ||
} |
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
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
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 |
---|---|---|
@@ -1,14 +1,8 @@ | ||
[xdebug] | ||
zend_extension=xdebug.so | ||
|
||
xdebug.mode=develop,debug,coverage | ||
xdebug.cli_color=1 | ||
xdebug.profiler_enable=0 | ||
xdebug.profiler_enable_trigger=1 | ||
|
||
xdebug.profiler_output_dir="/tmp" | ||
xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" | ||
|
||
xdebug.remote_enable=1 | ||
xdebug.remote_connect_back=1 | ||
xdebug.remote_port=9000 | ||
xdebug.mode=develop,coverage,debug,profile | ||
xdebug.idekey=vsc | ||
xdebug.start_with_request=yes | ||
xdebug.client_host=host.docker.internal | ||
xdebug.discover_client_host=0 |
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,4 +1,15 @@ | ||
## Documentação Técnica | ||
# Documentação Técnica | ||
|
||
<!--- Acesse o link no confluence para ver mais sobre o plugin techdocs | ||
https://madeiramadeira.atlassian.net/wiki/spaces/DX/pages/2792980526/TechDocs> | ||
- [Instalação](./instalacao.md) | ||
- [Uso](./uso.md) | ||
|
||
## Versões suportadas | ||
|
||
Todas as versões são garantidas por testes unitários que são testados no momento do CI. | ||
|
||
- [x] PHP 7.1 | ||
- [x] PHP 7.2 | ||
- [x] PHP 7.3 | ||
- [x] PHP 7.4 | ||
- [x] PHP 8.0 | ||
- [x] PHP 8.1 |
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 @@ | ||
# Usando a biblioteca | ||
|
||
**Instalação:** | ||
|
||
No terminal, rode: | ||
|
||
```bash | ||
$ composer config repositories.lib-php-health-check git git@github.com:madeiramadeirabr/lib-php-health-check.git | ||
$ composer require madeiramadeirabr/lib-php-health-check | ||
``` | ||
|
||
A partir disso já é possível usar a biblioteca. |
Oops, something went wrong.