-
Notifications
You must be signed in to change notification settings - Fork 3
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 #19 from 2amigos/development
Development-->master
- Loading branch information
Showing
88 changed files
with
2,258 additions
and
3,259 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,37 @@ | ||
MESSAGE_BROKER=redis | ||
MAIL_TRANSPORT=smtp | ||
|
||
REDIS_HOST=null | ||
REDS_PORT= | ||
REDIS_USER= | ||
REDIS_PASSWORD= | ||
|
||
SQS_KEY= | ||
SQS_SECRET= | ||
SQS_REGION= | ||
|
||
BEANSTALKD_HOST= | ||
BEANSTALKD_PORT= | ||
|
||
PDO_USER= | ||
PDO_PASSWORD= | ||
PDO_HOST=localhost | ||
PDO_PORT=3306 | ||
PDO_DBNAME= | ||
|
||
RABBITMQ_HOST=localhost | ||
RABBITMQ_PORT=5672 | ||
RABBITMQ_USER=guest | ||
RABBITMQ_PASSWORD=guest | ||
|
||
MAILER_SMTP_HOST= | ||
MAILER_SMTP_PORT= | ||
MAILER_SMTP_USER= | ||
MAILER_SMTP_PASSWORD= | ||
MAILER_SMTP_TLS=false | ||
|
||
SENDMAIL_DSN=sendmail://default | ||
|
||
MAILER_DSN=native://default | ||
|
||
MAIL_CHARSET=utf-8 |
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,37 @@ | ||
MESSAGE_BROKER=redis | ||
MAIL_TRANSPORT=smtp | ||
|
||
REDIS_HOST= | ||
REDS_PORT= | ||
REDIS_USER= | ||
REDIS_PASSWORD= | ||
|
||
SQS_KEY=xxx | ||
SQS_SECRET=yyy | ||
SQS_REGION=us-west-2 | ||
|
||
BEANSTALKD_HOST= | ||
BEANSTALKD_PORT= | ||
|
||
PDO_USER=root | ||
PDO_PASSWORD=root | ||
PDO_HOST=localhost | ||
PDO_PORT=3306 | ||
PDO_DBNAME=mail_queue_test | ||
|
||
RABBITMQ_HOST=localhost | ||
RABBITMQ_PORT=5672 | ||
RABBITMQ_USER=guest | ||
RABBITMQ_PASSWORD=guest | ||
|
||
MAILER_SMTP_HOST=127.0.0.1 | ||
MAILER_SMTP_PORT=25 | ||
MAILER_SMTP_USER=mailing@test.me | ||
MAILER_SMTP_PASSWORD=1234 | ||
MAILER_SMTP_TLS=false | ||
|
||
SENDMAIL_DSN=sendmail://null | ||
|
||
MAIL_DSN=native://null | ||
|
||
MAIL_CHARSET=utf-8 |
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: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: sJonatas | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
**Code** | ||
Provide code sample and context where the bug occurred, as related configurations for your case. | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. Ubuntu 22.04] | ||
- PHP Version: [e.g. 8.1.6] | ||
- Version [e.g. 1.0] | ||
|
||
**Additional context** | ||
Add any other context about the problem 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,20 @@ | ||
--- | ||
name: Feature | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: sJonatas | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots 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,17 @@ | ||
--- | ||
name: Help | ||
about: Help wanted | ||
title: "[HELP]" | ||
labels: help wanted | ||
assignees: sJonatas | ||
|
||
--- | ||
|
||
**Subject** | ||
What's the subject do you need help with? | ||
|
||
**Description** | ||
Give a clear description of what you're trying to achieve and what's the blocker. | ||
|
||
**Code** | ||
Provide meaningful peace of code and related configurations you have set on your project. |
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,38 @@ | ||
name: tests | ||
on: [push] | ||
|
||
jobs: | ||
test: | ||
name: PHPUnit | ||
runs-on: ubuntu-latest | ||
env: | ||
DB_DATABASE: mail_queue_test | ||
DB_USER: root | ||
DB_PASSWORD: root | ||
|
||
steps: | ||
- name: checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup enviroment | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.1' | ||
|
||
- name: Install dependencies | ||
run: composer install | ||
|
||
|
||
- name: Set up MySQL | ||
run: | | ||
sudo /etc/init.d/mysql start | ||
mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }};' -u${{ env.DB_USER }} -p${{ env.DB_PASSWORD }} | ||
- name: Run unit tests | ||
run: ./vendor/bin/phpunit --coverage-clover ./tests/_output/coverage.xml | ||
|
||
- name: Upload coverage reports to Codacy | ||
uses: codacy/codacy-coverage-reporter-action@v1 | ||
with: | ||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
coverage-reports: ./tests/_output/coverage.xml |
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 |
---|---|---|
|
@@ -8,3 +8,8 @@ Thumbs.db | |
nbproject | ||
switch | ||
index | ||
.env | ||
.phpunit.result.cache | ||
.composer.lock | ||
.phpunit.cache | ||
composer.lock |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.