-
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.
* Update Code in general * Make travis runnable * Update docs * Fix unittest
- Loading branch information
Showing
22 changed files
with
551 additions
and
603 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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
language: php | ||
|
||
php: | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
|
||
before_script: | ||
- composer self-update | ||
- composer install --prefer-source --no-interaction --dev | ||
|
||
script: phpunit | ||
script: phpunit | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cache/composer |
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,5 +1,8 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Rob Gloudemans <[email protected]> | ||
Copyright (c) 2018 Kevin Krummnacker <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
|
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 |
---|---|---|
|
@@ -4,28 +4,32 @@ | |
"keywords": ["laravel", "shoppingcart"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Rob Gloudemans", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Kevin Krummmnacker", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.0.0", | ||
"illuminate/support": "5.2.*|5.3.*|5.4.*|5.5.*|5.6.*" | ||
"illuminate/support": "5.2.*|5.3.*|5.4.*|5.5.*|5.6.*", | ||
"illuminate/session": "5.2.*|5.3.*|5.4.*|5.5.*|5.6.*", | ||
"illuminate/events": "5.2.*|5.3.*|5.4.*|5.5.*|5.6.*" | ||
}, | ||
"require-dev": { | ||
"mockery/mockery": "~0.9", | ||
"phpunit/phpunit": "~5.0|~6.0" | ||
"mockery/mockery": "~1.0", | ||
"phpunit/phpunit": "~6.0|~7.0", | ||
"orchestra/testbench": "~3.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"DarthSoup\\Cart\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"DarthSoup\\Tests\\Cart\\": "tests/" | ||
} | ||
}, | ||
"minimum-stability": "stable", | ||
"extra": { | ||
"laravel": { | ||
|
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,19 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Tax | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
'tax' => 19, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Item Hash | ||
|-------------------------------------------------------------------------- | ||
*/ | ||
'hasher' => \DarthSoup\Cart\Hashes\Md5::class, | ||
|
||
]; |
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.