Skip to content

Commit

Permalink
Merge pull request #15 from LinkNacional/dev2
Browse files Browse the repository at this point in the history
1.2.3 - Nova opção de pagamento para funcionar com o plugin mercado pago pro
  • Loading branch information
emanuellopess authored Sep 27, 2024
2 parents 1940c6a + a195f02 commit 100de33
Show file tree
Hide file tree
Showing 32 changed files with 6,694 additions and 6,665 deletions.
188 changes: 94 additions & 94 deletions .devcontainer/devcontainer-example.json
Original file line number Diff line number Diff line change
@@ -1,94 +1,94 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
{
"name": "PHP",
// https: //github.com/devcontainers/images/tree/main/src/php
"image": "mcr.microsoft.com/vscode/devcontainers/php:8.1",
"features": {
// https://github.com/devcontainers/features/tree/main/src/node
"ghcr.io/devcontainers/features/node:1": {
"version": "18.14.0",
"nvmVersion": "0.39.3"
}
},
"mounts": [
{
"source": "/home/{yourusername}/projects/wordpress",
"target": "/home/vscode/_wordpress",
"type": "bind"
}
],
"postCreateCommand": "npm install",
"customizations": {
"vscode": {
"extensions": [
"junstyle.php-cs-fixer",
"bmewburn.vscode-intelephense-client",
"neilbrayfield.php-docblocker",
"dbaeumer.vscode-eslint",
"jkiviluoto.tws",
"lacroixdavid1.vscode-format-context-menu",
"Gruntfuggly.todo-tree",
"Natizyskunk.sftp"
],
"settings": {
"[html]": {
"editor.rulers": [
120
],
"editor.tabSize": 4
},
"[javascript]": {
"editor.rulers": [
80,
120
]
},
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer",
"editor.rulers": [
80,
120
]
},
"[smarty]": {
"editor.rulers": [
120
],
"editor.tabSize": 4,
"editor.wrappingIndent": "deepIndent",
"editor.wrappingStrategy": "advanced"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"files.encoding": "utf8",
"files.eol": "\n",
"html.format.wrapAttributes": "force-expand-multiline",
"html.format.wrapAttributesIndentSize": 4,
"html.format.wrapLineLength": 120,
"intelephense.environment.documentRoot": "src",
"intelephense.environment.phpVersion": "8.1",
"intelephense.files.associations": [
"*.php"
],
"namespaceResolver.showMessageOnStatusBar": true,
"namespaceResolver.sortAlphabetically": true,
"namespaceResolver.sortNatural": true,
"namespaceResolver.sortOnSave": true,
"php-cs-fixer.autoFixByBracket": true,
"php-cs-fixer.autoFixBySemicolon": true,
"php-cs-fixer.config": ".php-cs-fixer.php",
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
"php-cs-fixer.formatHtml": true,
"php-cs-fixer.onsave": true,
"php-docblocker.alignParams": true,
"php-docblocker.alignReturn": true,
"php-docblocker.useShortNames": true,
"php.suggest.basic": false,
"php.validate.enable": false,
"smarty.highlight": true
}
}
}
}
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
{
"name": "PHP",
// https: //github.com/devcontainers/images/tree/main/src/php
"image": "mcr.microsoft.com/vscode/devcontainers/php:8.1",
"features": {
// https://github.com/devcontainers/features/tree/main/src/node
"ghcr.io/devcontainers/features/node:1": {
"version": "18.14.0",
"nvmVersion": "0.39.3"
}
},
"mounts": [
{
"source": "/home/{yourusername}/projects/wordpress",
"target": "/home/vscode/_wordpress",
"type": "bind"
}
],
"postCreateCommand": "npm install",
"customizations": {
"vscode": {
"extensions": [
"junstyle.php-cs-fixer",
"bmewburn.vscode-intelephense-client",
"neilbrayfield.php-docblocker",
"dbaeumer.vscode-eslint",
"jkiviluoto.tws",
"lacroixdavid1.vscode-format-context-menu",
"Gruntfuggly.todo-tree",
"Natizyskunk.sftp"
],
"settings": {
"[html]": {
"editor.rulers": [
120
],
"editor.tabSize": 4
},
"[javascript]": {
"editor.rulers": [
80,
120
]
},
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer",
"editor.rulers": [
80,
120
]
},
"[smarty]": {
"editor.rulers": [
120
],
"editor.tabSize": 4,
"editor.wrappingIndent": "deepIndent",
"editor.wrappingStrategy": "advanced"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"files.encoding": "utf8",
"files.eol": "\n",
"html.format.wrapAttributes": "force-expand-multiline",
"html.format.wrapAttributesIndentSize": 4,
"html.format.wrapLineLength": 120,
"intelephense.environment.documentRoot": "src",
"intelephense.environment.phpVersion": "8.1",
"intelephense.files.associations": [
"*.php"
],
"namespaceResolver.showMessageOnStatusBar": true,
"namespaceResolver.sortAlphabetically": true,
"namespaceResolver.sortNatural": true,
"namespaceResolver.sortOnSave": true,
"php-cs-fixer.autoFixByBracket": true,
"php-cs-fixer.autoFixBySemicolon": true,
"php-cs-fixer.config": ".php-cs-fixer.php",
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
"php-cs-fixer.formatHtml": true,
"php-cs-fixer.onsave": true,
"php-docblocker.alignParams": true,
"php-docblocker.alignReturn": true,
"php-docblocker.useShortNames": true,
"php.suggest.basic": false,
"php.validate.enable": false,
"smarty.highlight": true
}
}
}
}
22 changes: 11 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": "standard",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
}
}
{
"env": {
"browser": true,
"es2021": true
},
"extends": "standard",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
}
}
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: mathieudutour/github-tag-action@v6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: '1.2.2' # // TODO caso necessário definir a tag da release manualmente
custom_tag: '1.2.3' # // TODO caso necessário definir a tag da release manualmente

# Generate new release
- name: Generate new Release
Expand Down
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.vscode/settings.json
vendor
.devcontainer/devcontainer.json
node_modules
.vscode/settings.json
vendor
.devcontainer/devcontainer.json
.vscode/functions
Loading

0 comments on commit 100de33

Please sign in to comment.