From d1e5171666b6f2c8e2b8012599b13ea8eb3caf23 Mon Sep 17 00:00:00 2001 From: Josantonius Date: Sun, 16 Jul 2017 23:18:39 +0200 Subject: [PATCH] Updated to 1.1.2 version --- CHANGELOG.md | 5 ++++ README-ES.md | 16 ++++++++---- README.md | 18 +++++++++----- composer.json | 2 +- src/Exception/SessionException.php | 40 ------------------------------ src/Session.php | 2 -- 6 files changed, 29 insertions(+), 54 deletions(-) delete mode 100644 src/Exception/SessionException.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 335df20..c2fc564 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +## 1.1.2 - 2017-07-16 +* Added `Josantonius\Session\Exception\SessionException` class. +* Added `Josantonius\Session\Exception\Exceptions` abstract class. +* Added `Josantonius\Session\Exception\SessionException->__construct()` method. + ## 1.1.1 - 2017-03-18 * Some files were excluded from download and comments and readme files were updated. diff --git a/README-ES.md b/README-ES.md index 082652c..93ec334 100644 --- a/README-ES.md +++ b/README-ES.md @@ -14,7 +14,6 @@ Librería PHP para manejo de sesiones. - [Métodos disponibles](#métodos-disponibles) - [Uso](#uso) - [Tests](#tests) -- [Manejador de excepciones](#manejador-de-excepciones) - [Contribuir](#contribuir) - [Repositorio](#repositorio) - [Licencia](#licencia) @@ -22,6 +21,16 @@ Librería PHP para manejo de sesiones. --- +

Echa un vistazo al código

+ +

+ + + +

+ +--- + ### Instalación La mejor forma de instalar esta extensión es a través de [composer](http://getcomposer.org/download/). @@ -40,7 +49,7 @@ También puedes clonar el repositorio completo con Git: ### Requisitos -Esta ĺibrería es soportada por versiones de PHP 5.6 o superiores y es compatible con versiones de HHVM 3.0 o superiores. +Esta biblioteca es soportada por versiones de PHP 5.6 o superiores y es compatible con versiones de HHVM 3.0 o superiores. ### Cómo empezar y ejemplos @@ -112,9 +121,6 @@ SessionTest::testDestroyAllSessions(); SessionTest::testDestroyAllSessionsWithPrefix(); ``` -### Manejador de excepciones - -Esta librería utiliza [control de excepciones](src/Exception) que puedes personalizar a tu gusto. ### Contribuir 1. Comprobar si hay incidencias abiertas o abrir una nueva para iniciar una discusión en torno a un fallo o función. 1. Bifurca la rama del repositorio en GitHub para iniciar la operación de ajuste. diff --git a/README.md b/README.md index f7d9c6e..518acda 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,23 @@ PHP library for handling sessions. - [Available Methods](#available-methods) - [Usage](#usage) - [Tests](#tests) -- [Exception Handler](#exception-handler) - [Contribute](#contribute) - [Repository](#repository) -- [Licensing](#licensing) +- [License](#license) - [Copyright](#copyright) --- +

Take a look at the code

+ +

+ + + +

+ +--- + ### Installation The preferred way to install this extension is through [composer](http://getcomposer.org/download/). @@ -113,9 +122,6 @@ SessionTest::testDestroyAllSessions(); SessionTest::testDestroyAllSessionsWithPrefix(); ``` -### Exception Handler - -This library uses [exception handler](src/Exception) that you can customize. ### Contribute 1. Check for open issues or open a new issue to start a discussion around a bug or feature. 1. Fork the repository on GitHub to start making your changes. @@ -129,7 +135,7 @@ This is intended for large and long-lived objects. All files in this repository were created and uploaded automatically with [Reposgit Creator](https://github.com/Josantonius/BASH-Reposgit). -### Licensing +### License This project is licensed under **MIT license**. See the [LICENSE](LICENSE) file for more info. diff --git a/composer.json b/composer.json index 71683aa..fb5e993 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "josantonius/session", - "version": "1.1.1", + "version": "1.1.2", "type": "library", "description": "PHP library for handling sessions.", "keywords": [ diff --git a/src/Exception/SessionException.php b/src/Exception/SessionException.php deleted file mode 100644 index 94116b5..0000000 --- a/src/Exception/SessionException.php +++ /dev/null @@ -1,40 +0,0 @@ -message = $msg; - $this->code = $error; - $this->statusCode = $status; - } -} diff --git a/src/Session.php b/src/Session.php index bb82c40..226c43f 100644 --- a/src/Session.php +++ b/src/Session.php @@ -12,8 +12,6 @@ namespace Josantonius\Session; -# use Josantonius\Session\Exception\SessionException; - /** * Session handler. *