-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add .php_cs * Add Drivers * Implement new drivers * Add tests * Use --prefer-dist * Disable XDebug on travis * Bugfix * Update .travis.yml * Fix tests * Fix tests * Fix tests * Fix tests * Travis add cache * Optimize Travis cache * Removed constant from drivers * Travis prefer-source * Disable XDebug * Fix tests * Fix Travis * Travis re-enable XDebug * Travis fix * Added composer.lock and .gitattributes * Improved tests * Improved CookieDriver * Removed automatic middleware registration * Improved tests * Delete LocaleSwitcherTest.php * Delete composer.lock * Update .travis.yml * Update .travis.yml * Travis min version Laravel 5.2 * Test with Laravel 5.0 * 5.0 not working, using 5.1 * Fixed middleware under 5.1 * Try Laravel 5.0 and PHP 5.5.9 * PHPunit min version is 4.8 * Min version will be Laravel 5.1 * Fix Travis * Added RouteParameterDriver * Added storage tests * Fix tests * trying out Coveralls * Add vendor to travis cache * Fixed tests * Cleaned up travis * remove codeclimate * code style * Update .travis.yml * Update .travis.yml * bugfix * composer self-update * Finished the BrowserDriver and its tests * Fix tests * Improve Code coverage * Changed default settings * Add helpers * add more tests * cleanup and update readme * Add more tests covering locale switching * Add switch_locale() helper * update Readme * request() doesnt exist in Laravel 4.2 * fix tests * cleanup * Update README.md
- Loading branch information
1 parent
8749195
commit bc57af9
Showing
28 changed files
with
1,033 additions
and
413 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
* text=auto | ||
|
||
/tests export-ignore | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.travis.yml export-ignore | ||
phpunit.xml export-ignore |
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,2 +1,2 @@ | ||
composer.lock | ||
/vendor | ||
composer.lock |
This file was deleted.
Oops, something went wrong.
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
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
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
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,12 @@ | ||
<?php | ||
|
||
namespace Lykegenes\LocaleSwitcher\Contracts; | ||
|
||
interface DriverInterface | ||
{ | ||
public function has($key); | ||
|
||
public function get($key, $default); | ||
|
||
public function store($key, $default); | ||
} |
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,26 @@ | ||
<?php | ||
|
||
namespace Lykegenes\LocaleSwitcher\Drivers; | ||
|
||
use Lykegenes\LocaleSwitcher\Contracts\DriverInterface; | ||
|
||
/** | ||
* @codeCoverageIgnore | ||
*/ | ||
abstract class BaseDriver implements DriverInterface | ||
{ | ||
public function has($key) | ||
{ | ||
return false; | ||
} | ||
|
||
public function get($key, $default) | ||
{ | ||
return false; | ||
} | ||
|
||
public function store($key, $default) | ||
{ | ||
return false; | ||
} | ||
} |
Oops, something went wrong.