-
Notifications
You must be signed in to change notification settings - Fork 14
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
106 changed files
with
11,194 additions
and
671 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,20 @@ | ||
; https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
charset = utf-8 | ||
|
||
[*.{json,yml}] | ||
indent_size = 2 | ||
|
||
[*.neon] | ||
indent_style = tab | ||
|
||
[Makefile] | ||
indent_style = tab |
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,11 @@ | ||
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes | ||
|
||
# A list of files and folders those will be excluded from archives and the | ||
# Composer package (for purposes of making it smaller). | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.github export-ignore | ||
/.php-cs-fixer.php export-ignore | ||
/.vscode export-ignore | ||
/phpunit.xml export-ignore | ||
/tests export-ignore |
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,77 @@ | ||
name: Bug report | ||
description: Create a report to help us improve | ||
labels: ["bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
placeholder: Tell us what you see! | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro-steps | ||
attributes: | ||
label: To Reproduce | ||
description: Steps to reproduce the behavior | ||
placeholder: | | ||
1. Fetch a '...' | ||
2. Update the '....' | ||
3. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: code-snippets | ||
attributes: | ||
label: Code snippets | ||
description: If applicable, add code snippets to help explain your problem. | ||
render: PHP | ||
validations: | ||
required: false | ||
- type: input | ||
id: os | ||
attributes: | ||
label: OS | ||
placeholder: macOS | ||
validations: | ||
required: true | ||
- type: input | ||
id: language-version | ||
attributes: | ||
label: PHP version | ||
placeholder: PHP 8.2 | ||
validations: | ||
required: true | ||
- type: input | ||
id: lib-version | ||
attributes: | ||
label: Library version | ||
placeholder: tiendanube-php-sdk v2.0.0 | ||
validations: | ||
required: true | ||
- type: input | ||
id: api-version | ||
attributes: | ||
label: API version | ||
placeholder: v1 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. | ||
validations: | ||
required: 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 @@ | ||
blank_issues_enabled: 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,28 @@ | ||
name: Feature request | ||
description: Suggest an idea for this library | ||
labels: ["feature-request"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this feature request! | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Is your feature request related to a problem? Please describe. | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the feature request here. |
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,34 @@ | ||
on: [push, pull_request] | ||
name: CI | ||
jobs: | ||
CI: | ||
runs-on: ubuntu-latest | ||
env: | ||
PHP_INI_VALUES: assert.exception=1, zend.assertions=1 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
- "8.1" | ||
- "8.2" | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php-version }} | ||
coverage: xdebug | ||
tools: composer:v2, phpcs | ||
ini-values: ${{ env.PHP_INI_VALUES }} | ||
|
||
- name: Install dependencies with composer | ||
run: composer update --no-ansi --no-interaction --no-progress | ||
|
||
- name: Run linter | ||
run: composer lint | ||
|
||
- name: Run tests | ||
run: composer test |
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,2 +1,31 @@ | ||
composer.lock | ||
vendor | ||
# Ignore our deprecation warnings | ||
.last_api_deprecation_warning | ||
|
||
# Ignore Mac OS X fies. | ||
.DS_Store | ||
|
||
# Ignore the /vendor/ directory for people using composer | ||
/vendor/ | ||
|
||
# Ignore PHPUnit coverage file | ||
clover.xml | ||
|
||
# Ignore IDE's configuration files | ||
.idea | ||
.vscode | ||
|
||
# Ignore PHP CS Fixer local config and cache | ||
.php_cs | ||
.php_cs.cache | ||
.php-cs-fixer.cache | ||
|
||
# Ignore PHPStan local config | ||
.phpstan.neon | ||
|
||
# Ignore phpDocumentor's local config and artifacts | ||
.phpdoc/* | ||
phpdoc.xml | ||
|
||
# Ignore cached PHPUnit results. | ||
.phpunit.result.cache | ||
.phpunit.cache |
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,9 @@ | ||
# Changelog | ||
|
||
"⚠️" symbol highlights breaking changes. | ||
|
||
## 2.0.0 - 2023-02-04 | ||
* [#4](https://github.com/tiendanube/tiendanube-php-sdk/pull/4) API Updates | ||
* Relaunched our PHP API to follow current standards. | ||
* Support Composer and Packagist | ||
* ⚠️ Drop support for PHP 5.6 |
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.