Skip to content

Commit

Permalink
The tax module requires Enum v4.1+
Browse files Browse the repository at this point in the history
- The `TaxCategoryType` interface extends the `EnumInterface`
  • Loading branch information
fulopattila122 committed Feb 26, 2024
1 parent cb15431 commit 7059d81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Taxes/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Dropped PHP 8.0 & PHP 8.1 Support
- Dropped Laravel 9 Support
- Upgraded to Konekt Address v3
- Changed the minimal Enum requirement to v4.1
- Added the `type` field to the TaxCategory model
- Added the `Taxable` interface
- Added the extendable `TaxEngine` (facade) that can resolve tax rates from taxables, billing/shipping addresses (a place for various country-specific taxation drivers)
Expand Down
4 changes: 3 additions & 1 deletion src/Taxes/Contracts/TaxCategoryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

namespace Vanilo\Taxes\Contracts;

interface TaxCategoryType
use Konekt\Enum\EnumInterface;

interface TaxCategoryType extends EnumInterface
{
}
1 change: 1 addition & 0 deletions src/Taxes/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"php": "^8.2",
"konekt/concord": "^1.13",
"konekt/address": "^3.0",
"konekt/enum": "^4.1",
"konekt/laravel-migration-compatibility": "^1.6",
"vanilo/contracts": "^4.0",
"vanilo/support": "^4.0",
Expand Down

0 comments on commit 7059d81

Please sign in to comment.