-
Notifications
You must be signed in to change notification settings - Fork 8
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 #150 from nfe/php8
Compatibilidade com PHP 8 e WHMCS 8.6
- Loading branch information
Showing
70 changed files
with
10,369 additions
and
1,694 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,32 @@ | ||
--- | ||
name: Reportar um Erro | ||
about: Crie uma issue para reportar um erro/bug encontrado | ||
title: "[BUG]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Descreva o erro** | ||
Uma descrição clara e concisa do erro. | ||
|
||
**Como reproduzir** | ||
Etapas para reproduzir o comportamento: | ||
1. Vá para '...' | ||
2. Clique em '....' | ||
3. Navegue até '....' | ||
4. See error | ||
|
||
**Comportamento esperado** | ||
Uma descrição clara e concisa do que você esperava que acontecesse. | ||
|
||
**Screenshots** | ||
Se aplicável, adicione capturas de tela para ajudar a explicar seu problema. | ||
|
||
**Ambiente e versões:** | ||
- Versão do módulo: [ex. 2.0.0] | ||
- Versão do WHMCS: [ex. 8.4] | ||
- Versão do PHP: [ex. 7.4] | ||
|
||
**Contexto adicional** | ||
Adicione qualquer outro contexto sobre o problema aqui. |
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,20 @@ | ||
--- | ||
name: Solicitar um Recurso | ||
about: Sugira uma ideia para este projeto | ||
title: "[SUGESTÃO]" | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Sua solicitação de recurso está relacionada a um problema? Por favor descreva.** | ||
Uma descrição clara e concisa do que é o problema. Ex. Eu sempre fico frustrado quando [...] | ||
|
||
**Descreva a solução que você deseja** | ||
Uma descrição clara e concisa do que você quer que aconteça. | ||
|
||
**Descreva as alternativas que você considerou** | ||
Uma descrição clara e concisa de quaisquer soluções ou recursos alternativos que você considerou. | ||
|
||
**Contexto adicional** | ||
Adicione qualquer outro contexto ou capturas de tela sobre a solicitação de recurso aqui. |
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 @@ | ||
name: PHP Compatibility | ||
|
||
on: | ||
push: | ||
branches: '*' | ||
pull_request: | ||
branches: '*' | ||
|
||
jobs: | ||
test: | ||
name: Test @ PHP ${{ matrix.php-version }} - x86 - ubuntu-latest | ||
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.actor != 'dependabot[bot]') | ||
strategy: | ||
matrix: | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
- "8.1" | ||
- "8.2" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Install Dependencies::PHP${{ matrix.php-version }} | ||
run: | | ||
echo "$HOME/.composer/vendor/bin" >> $GITHUB_PATH | ||
composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true | ||
composer global require dealerdirect/phpcodesniffer-composer-installer roave/security-advisories:dev-master squizlabs/php_codesniffer phpcompatibility/php-compatibility | ||
- name: Check PHP Compatibility | ||
run: phpcs --standard=PHPCompatibility -s -q -n --colors --runtime-set testVersion ${{ matrix.php-version }} --extensions=php,inc,lib --ignore=sdk,node_modules,vendor,templates_c,lang,Legacy,templates,Migrations --severity=3 ./modules/addons/NFEioServiceInvoices | ||
- name: Check PSR12 Standard | ||
run: phpcs --standard=PSR12 -s -q -n --colors --extensions=php,inc,lib --ignore=sdk,node_modules,vendor,templates_c,lang,Legacy,templates,Migrations --severity=3 ./modules/addons/NFEioServiceInvoices |
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
Oops, something went wrong.