generated from yii-tools/template
-
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.
Move package
php-forge
organization. (#41)
- Loading branch information
1 parent
ea6eeec
commit a9621d1
Showing
88 changed files
with
1,060 additions
and
3,459 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,75 +1,102 @@ | ||
# CÓDIGO DE CONDUCTA CONVENIDO PARA CONTRIBUYENTES | ||
# Code of Conduct | ||
|
||
## Nuestro compromiso | ||
## Our Pledge | ||
|
||
Nosotros, como miembros, contribuyentes y administradores nos comprometemos a hacer de la participación en nuestra comunidad una experiencia libre de acoso para todo el mundo, independientemente de la edad, dimensión corporal, minusvalía visible o invisible, etnicidad, características sexuales, identidad y expresión de género, nivel de experiencia, educación, nivel socio-económico, nacionalidad, apariencia personal, raza, religión, o identidad u orientación sexual. | ||
As contributors and maintainers of this project, and in order to keep community open and welcoming, we ask to | ||
respect all community members. | ||
|
||
Nos comprometemos a actuar e interactuar de maneras que contribuyan a una comunidad abierta, acogedora, diversa, inclusiva y sana. | ||
## Our Standards | ||
|
||
## Nuestros estándares | ||
Examples of behavior that contributes to a positive environment for our community include: | ||
|
||
Ejemplos de comportamiento que contribuyen a crear un ambiente positivo para nuestra comunidad: | ||
* Demonstrating empathy and kindness toward other people | ||
* Being respectful of differing opinions, viewpoints, and experiences | ||
* Giving and gracefully accepting constructive feedback | ||
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience | ||
* Focusing on what is best not just for us as individuals, but for the overall community | ||
|
||
- Demostrar empatía y amabilidad ante otras personas. | ||
- Respeto a diferentes opiniones, puntos de vista y experiencias. | ||
- Dar y aceptar adecuadamente retroalimentación constructiva. | ||
- Aceptar la responsabilidad y disculparse ante quienes se vean afectados por nuestros errores, aprendiendo de la experiencia. | ||
- Centrarse en lo que sea mejor no sólo para nosotros como individuos, sino para la comunidad en general. | ||
Examples of unacceptable behavior by participants include: | ||
|
||
Ejemplos de comportamiento inaceptable: | ||
* The use of sexualized language or imagery, and sexual attention or advances of any kind | ||
* Trolling, insulting or derogatory comments, and personal or political attacks | ||
* Public or private harassment | ||
* Publishing others' private information, such as a physical or email address, without their explicit permission | ||
* Other conduct which could reasonably be considered inappropriate in a professional setting | ||
|
||
- El uso de lenguaje o imágenes sexualizadas, y aproximaciones o atenciones sexuales de cualquier tipo. | ||
- Comentarios despectivos (trolling), insultantes o derogatorios, y ataques personales o políticos. | ||
- El acoso en público o privado. | ||
- Publicar información privada de otras personas, tales como direcciones físicas o de correo electrónico, sin su permiso explícito. | ||
- Otras conductas que puedan ser razonablemente consideradas como inapropiadas en un entorno profesional. | ||
## Enforcement Responsibilities | ||
|
||
## Aplicación de las responsabilidades | ||
Core team members are responsible for clarifying and enforcing our standards of acceptable behavior and will take | ||
appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, | ||
or harmful. | ||
|
||
Los administradores de la comunidad son responsables de aclarar y hacer cumplir nuestros estándares de comportamiento aceptable y tomarán acciones apropiadas y correctivas de forma justa en respuesta a cualquier comportamiento que consideren inapropiado, amenazante, ofensivo o dañino. | ||
Core team members have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, | ||
issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for | ||
moderation decisions when appropriate. | ||
|
||
Los administradores de la comunidad tendrán el derecho y la responsabilidad de eliminar, editar o rechazar comentarios, commits, código, ediciones de páginas de wiki, issues y otras contribuciones que no se alineen con este Código de Conducta, y comunicarán las razones para sus decisiones de moderación cuando sea apropiado. | ||
## Scope | ||
|
||
Alcance | ||
Este código de conducta aplica tanto a espacios del proyecto como a espacios públicos donde un individuo esté en representación del proyecto o comunidad. Ejemplos de esto incluyen el uso de la cuenta oficial de correo electrónico, publicaciones a través de las redes sociales oficiales, o presentaciones con personas designadas en eventos en línea o no. | ||
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing | ||
the community in public spaces. Examples of representing a project or community include using an official e-mail | ||
address, posting via an official social media account, within project GitHub, official forum or acting as an appointed | ||
representative at an online or offline event. | ||
|
||
Aplicación | ||
Instancias de comportamiento abusivo, acosador o inaceptable de otro modo podrán ser reportadas a los administradores de la comunidad responsables del cumplimiento a través de [un problema en github](https://github.com/php-forge/template/issues). Todas las quejas serán evaluadas e investigadas de una manera puntual y justa. | ||
## Enforcement | ||
|
||
Todos los administradores de la comunidad están obligados a respetar la privacidad y la seguridad de quienes reporten incidentes. | ||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting core team members. All | ||
complaints will be reviewed and investigated promptly and fairly. | ||
|
||
## Guías de Aplicación | ||
All core team members are obligated to respect the privacy and security of the reporter of any incident. | ||
|
||
Los administradores de la comunidad seguirán estas Guías de Impacto en la Comunidad para determinar las consecuencias de cualquier acción que juzguen como un incumplimiento de este Código de Conducta: | ||
## Enforcement Guidelines | ||
|
||
### Corrección | ||
Core team members will follow these Community Impact Guidelines in determining the consequences for any action they | ||
deem in violation of this Code of Conduct: | ||
|
||
**Impacto en la Comunidad:** El uso de lenguaje inapropiado u otro comportamiento considerado no profesional o no acogedor en la comunidad. | ||
### 1. Correction | ||
|
||
**Consecuencia:** Un aviso escrito y privado por parte de los administradores de la comunidad, proporcionando claridad alrededor de la naturaleza de este incumplimiento y una explicación de por qué el comportamiento es inaceptable. Una disculpa pública podría ser solicitada. | ||
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in | ||
the community. | ||
|
||
### Aviso | ||
**Consequence**: A private, written warning from core team members, providing clarity around the nature of the violation | ||
and an explanation of why the behavior was inappropriate. A public apology may be requested. | ||
|
||
**Impacto en la Comunidad:** Un incumplimiento causado por un único incidente o por una cadena de acciones. | ||
### 2. Warning | ||
|
||
**Consecuencia:** Un aviso con consecuencias por comportamiento prolongado. No se interactúa con las personas involucradas, incluyendo interacción no solicitada con quienes se encuentran aplicando el Código de Conducta, por un periodo especificado de tiempo. Esto incluye evitar las interacciones en espacios de la comunidad, así como a través de canales externos como las redes sociales. Incumplir estos términos puede conducir a una expulsión temporal o permanente. | ||
**Community Impact**: A violation through a single incident or series of actions. | ||
|
||
### Expulsión temporal | ||
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including | ||
unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding | ||
interactions in community spaces as well as external channels like social media. Violating these terms may lead to | ||
a temporary or permanent ban. | ||
|
||
**Impacto en la Comunidad:** Una serie de incumplimientos de los estándares de la comunidad, incluyendo comportamiento inapropiado continuo. | ||
### 3. Temporary Ban | ||
|
||
**Consecuencia:** Una expulsión temporal de cualquier forma de interacción o comunicación pública con la comunidad durante un intervalo de tiempo especificado. No se permite interactuar de manera pública o privada con las personas involucradas, incluyendo interacciones no solicitadas con quienes se encuentran aplicando el Código de Conducta, durante este periodo. Incumplir estos términos puede conducir a una expulsión permanente. | ||
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior. | ||
|
||
### Expulsión permanente | ||
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified | ||
period of time. No public or private interaction with the people involved, including unsolicited interaction with those | ||
enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban. | ||
|
||
**Impacto en la Comunidad:** Demostrar un patrón sistemático de incumplimientos de los estándares de la comunidad, incluyendo conductas inapropiadas prolongadas en el tiempo, acoso de individuos, o agresiones o menosprecio a grupos de individuos. | ||
### 4. Permanent Ban | ||
|
||
**Consecuencia:** Una expulsión permanente de cualquier tipo de interacción pública con la comunidad del proyecto. | ||
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate | ||
behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals. | ||
|
||
## Atribución | ||
**Consequence**: A permanent ban from any sort of public interaction within the community. | ||
|
||
Este Código de Conducta es una adaptación del Contributor Covenant, versión 2.0, disponible en https://www.contributor-covenant.org/es/version/2/0/code_of_conduct.html | ||
## Attribution | ||
|
||
Las Guías de Impacto en la Comunidad están inspiradas en la escalera de aplicación del código de conducta de Mozilla. | ||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at | ||
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. | ||
|
||
Para respuestas a las preguntas frecuentes de este código de conducta, consulta las FAQ en https://www.contributor-covenant.org/faq. Hay traducciones disponibles en https://www.contributor-covenant.org/translations | ||
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC]. | ||
|
||
For answers to common questions about this code of conduct, see the FAQ at | ||
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at | ||
[https://www.contributor-covenant.org/translations][translations]. | ||
|
||
[homepage]: https://www.contributor-covenant.org | ||
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html | ||
[Mozilla CoC]: https://github.com/mozilla/diversity | ||
[FAQ]: https://www.contributor-covenant.org/faq | ||
[translations]: https://www.contributor-covenant.org/translations |
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,14 @@ | ||
# Reportar un problema | ||
### What steps will reproduce the problem? | ||
|
||
## Qué pasos reproducirán el problema | ||
### What is the expected result? | ||
|
||
## Cuál es el resultado esperado | ||
### What do you get instead? | ||
|
||
## Qué se obtiene en su lugar | ||
|
||
## Información adicional | ||
### Additional info | ||
|
||
| Q | A | | ||
|-------------------|-----| | ||
| Versión PHP | | | ||
| Sistema Operativo | | | ||
| Q | A | ||
| ---------------- | --- | ||
| Version | 1.0.? | ||
| PHP version | | ||
| Operating system | |
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,8 +1,6 @@ | ||
# Nueva solicitud de extracción | ||
|
||
| Q | A | | ||
|--------------------------------|------------------------------------------------------------------------------| | ||
| ¿Es una corrección de errores? | ✔️ / ❌ | | ||
| ¿Es una nueva característica? | ✔️ / ❌ | | ||
| ¿Rompe BC? | ✔️ / ❌ | | ||
| Problemas solucionados | Lista separada por comas de los tickets # solucionados por el PR, si los hay | | ||
| Q | A | ||
| ------------- | --- | ||
| Is bugfix? | ✔️/❌ | ||
| New feature? | ✔️/❌ | ||
| Breaks BC? | ✔️/❌ | ||
| Fixed issues | <!-- comma-separated list of tickets # fixed by the PR, if any --> |
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,14 @@ | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
# Maintain dependencies for Composer | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
versioning-strategy: increase-if-necessary | ||
# Maintain dependencies for Composer | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
versioning-strategy: increase-if-necessary |
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,16 +1,31 @@ | ||
on: | ||
- pull_request | ||
- push | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'infection.json.dist' | ||
- 'psalm.xml' | ||
|
||
push: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'infection.json.dist' | ||
- 'psalm.xml' | ||
|
||
name: build | ||
|
||
jobs: | ||
phpunit: | ||
uses: php-forge/reusable-actions/.github/workflows/phpunit.yml@main | ||
uses: yiisoft/actions/.github/workflows/phpunit.yml@master | ||
with: | ||
os: >- | ||
['ubuntu-latest', 'windows-latest'] | ||
php: >- | ||
['8.0', '8.1'] | ||
secrets: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
['8.1', '8.2'] |
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,33 @@ | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'infection.json.dist' | ||
- 'phpunit.xml.dist' | ||
- 'psalm.xml' | ||
|
||
push: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'infection.json.dist' | ||
- 'phpunit.xml.dist' | ||
- 'psalm.xml' | ||
|
||
name: dependency-check | ||
|
||
jobs: | ||
composer-require-checker: | ||
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master | ||
with: | ||
os: >- | ||
['ubuntu-latest'] | ||
php: >- | ||
['8.1', '8.2'] |
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,31 @@ | ||
on: | ||
- pull_request | ||
- push | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'infection.json.dist' | ||
- 'phpunit.xml.dist' | ||
|
||
push: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'infection.json.dist' | ||
- 'phpunit.xml.dist' | ||
|
||
name: static analysis | ||
|
||
jobs: | ||
psalm: | ||
uses: php-forge/reusable-actions/.github/workflows/psalm.yml@main | ||
uses: yiisoft/actions/.github/workflows/psalm.yml@master | ||
with: | ||
os: >- | ||
['ubuntu-latest'] | ||
php: >- | ||
['8.0', '8.1'] | ||
['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 |
---|---|---|
@@ -1,26 +1,24 @@ | ||
# code coverage | ||
/code_coverage | ||
#code coverage | ||
code_coverage | ||
|
||
# composer vendor dir | ||
/vendor | ||
/composer.lock | ||
vendor | ||
composer.lock | ||
|
||
#node_modules | ||
/node_modules | ||
node_modules | ||
|
||
# package-lock.json | ||
package-lock.json | ||
|
||
# phpstorm project files | ||
.idea | ||
|
||
# phpunit | ||
.phpunit.phar | ||
.phpunit.xml | ||
.phpunit.cache | ||
.phpunit.result.cache | ||
|
||
# yii3 config packages | ||
/config/packages | ||
phpunit.phar | ||
phpunit.xml.dist.bak | ||
|
||
# windows thumbnail cache | ||
Thumbs.db | ||
|
||
# vscode | ||
.vscode |
Oops, something went wrong.