Skip to content

Commit

Permalink
Adjusted to work with Defer 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Apr 13, 2021
1 parent cfb6da7 commit 566feb4
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 42 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.0] - 2021-01-04

### Changed

- Adjusted to work with Defer 3.x

## [2.0.0] - 2021-01-04

### Changed
Expand Down Expand Up @@ -66,4 +72,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [1.0.0] - 2019-10-12

This component has been decoupled from the [OriginPHP framework](https://www.originphp.com/).
This component has been decoupled from the [OriginPHP framework](https://www.originphp.com/).
84 changes: 43 additions & 41 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,46 @@
{
"name": "originphp/email",
"description": "OriginPHP Email",
"type": "library",
"keywords": [
"originphp",
"email",
"smtp",
"mail"
],
"homepage": "https://www.originphp.com",
"license": "MIT",
"authors": [
{
"name": "Jamiel Sharief",
"email": "js@originphp.com"
}
],
"autoload": {
"psr-4": {
"Origin\\Email\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Origin\\Test\\Email\\": "tests/"
}
},
"require": {
"php": ">=7.3.0",
"ext-mbstring": "*",
"originphp/defer": "^2.0",
"originphp/configurable": "^2.0"
},
"bin": ["bin/google"],
"require-dev": {
"phpunit/phpunit": "^9.2",
"phpstan/phpstan": "^0.12.64",
"google/apiclient": "^2.8"
},
"suggest": {
"google/apiclient": "Allows you to send email using GMAIL"
"name": "originphp/email",
"description": "OriginPHP Email",
"type": "library",
"keywords": [
"originphp",
"email",
"smtp",
"mail"
],
"homepage": "https://www.originphp.com",
"license": "MIT",
"authors": [
{
"name": "Jamiel Sharief",
"email": "js@originphp.com"
}
],
"autoload": {
"psr-4": {
"Origin\\Email\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Origin\\Test\\Email\\": "tests/"
}
},
"require": {
"php": ">=7.3.0",
"ext-mbstring": "*",
"originphp/defer": "^3.0",
"originphp/configurable": "^2.0"
},
"bin": [
"bin/google"
],
"require-dev": {
"phpunit/phpunit": "^9.2",
"phpstan/phpstan": "^0.12.64",
"google/apiclient": "^2.8"
},
"suggest": {
"google/apiclient": "Allows you to send email using GMAIL"
}
}
1 change: 1 addition & 0 deletions src/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use \InvalidArgumentException;
use Origin\Email\Exception\SmtpException;
use Origin\Configurable\StaticConfigurable as Configurable;
use function Origin\Defer\defer;

class Email
{
Expand Down

0 comments on commit 566feb4

Please sign in to comment.