Skip to content

Commit 7ac5860

Browse files
author
Mauro Cassani
committed
Fixing code (Sensiolabs)
1 parent a5731eb commit 7ac5860

File tree

9 files changed

+14
-10
lines changed

9 files changed

+14
-10
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ script:
3030
- vendor/bin/phpunit
3131

3232
matrix:
33-
fast_finish: true
33+
fast_finish: true

LICENSE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
1919
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
2020
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
2121
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22-
OTHER DEALINGS IN THE SOFTWARE.
22+
OTHER DEALINGS IN THE SOFTWARE.

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -517,10 +517,14 @@ memcached_parameters:
517517
* [ramsey/uuid](https://github.com/ramsey/uuid) - A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifiers (UUID).
518518
* [Symfony Console](https://github.com/symfony/console) - Symfony Console Component
519519
520+
## Support
521+
522+
If you found an issue or had an idea please refer [to this section](https://github.com/mauretto78/in-memory-list/issues).
523+
520524
## Authors
521525
522526
* **Mauro Cassani** - [github](https://github.com/mauretto78)
523527
524528
## License
525529
526-
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
530+
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

config/parameters.dist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ redis_parameters:
88
memcached_parameters:
99
-
1010
host: 'localhost'
11-
port: '11211'
11+
port: '11211'

install/apc-5.6.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
apc.enabled=1
2-
apc.enable_cli=1
2+
apc.enable_cli=1

install/apc-7.0.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
apc.enabled=1
2-
apc.enable_cli=1
2+
apc.enable_cli=1

install/apc-7.1.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
apc.enabled=1
2-
apc.enable_cli=1
2+
apc.enable_cli=1

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
</whitelist>
3535
</filter>
3636

37-
</phpunit>
37+
</phpunit>

src/InMemoryList/Infrastructure/Persistance/AbstractRepository.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function delete($listUuid)
3636
*/
3737
public function existsElement($listUuid, $elementUuid)
3838
{
39-
if(isset($this->findListByUuid($listUuid)[$elementUuid])){
39+
if (isset($this->findListByUuid($listUuid)[$elementUuid])) {
4040
return $this->findListByUuid($listUuid)[$elementUuid];
4141
}
4242

@@ -99,7 +99,7 @@ public function getCounter($listUuid)
9999
*/
100100
protected function _existsListInIndex($listUuid)
101101
{
102-
if(@$this->getIndex($listUuid)){
102+
if (@$this->getIndex($listUuid)) {
103103
return true;
104104
}
105105

0 commit comments

Comments
 (0)