Redis Session Implementation

compatibility with PHP 5.6+
v2-beta
Bruno O. Notario 10 months ago
parent 1bad005e7c
commit 24479e6ace
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 6
      composer.json
  2. 61
      system/session/Redis/AbstractCM/Handler.php
  3. 271
      system/session/Redis/Config.php
  4. 176
      system/session/Redis/Handler.php
  5. 73
      system/session/Redis/Logger.php
  6. 59
      system/session/autoload.php
  7. 50
      system/vendor/colinmollenhour/cache-backend-redis/.github/workflows/php.yml
  8. 4
      system/vendor/colinmollenhour/cache-backend-redis/.gitignore
  9. 3
      system/vendor/colinmollenhour/cache-backend-redis/.gitmodules
  10. 21
      system/vendor/colinmollenhour/cache-backend-redis/.php-cs-fixer.dist.php
  11. 1416
      system/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php
  12. 2
      system/vendor/colinmollenhour/cache-backend-redis/Dockerfile
  13. 2
      system/vendor/colinmollenhour/cache-backend-redis/ISSUE_TEMPLATE.md
  14. 29
      system/vendor/colinmollenhour/cache-backend-redis/LICENSE
  15. 241
      system/vendor/colinmollenhour/cache-backend-redis/README.md
  16. 29
      system/vendor/colinmollenhour/cache-backend-redis/composer.json
  17. 2
      system/vendor/colinmollenhour/cache-backend-redis/modman
  18. 95
      system/vendor/colinmollenhour/cache-backend-redis/stats.php
  19. 186
      system/vendor/colinmollenhour/cache-backend-redis/tests/CommonBackendTest.php
  20. 177
      system/vendor/colinmollenhour/cache-backend-redis/tests/CommonExtendedBackendTest.php
  21. 58
      system/vendor/colinmollenhour/cache-backend-redis/tests/RedisBackendAutoExpiryTest.php
  22. 41
      system/vendor/colinmollenhour/cache-backend-redis/tests/RedisBackendStandaloneTest.php
  23. 216
      system/vendor/colinmollenhour/cache-backend-redis/tests/RedisBackendTest.php
  24. 6
      system/vendor/colinmollenhour/credis/.editorconfig
  25. 19
      system/vendor/colinmollenhour/credis/.php-cs-fixer.dist.php
  26. 974
      system/vendor/colinmollenhour/credis/Client.php
  27. 597
      system/vendor/colinmollenhour/credis/Cluster.php
  28. 2
      system/vendor/colinmollenhour/credis/Module.php
  29. 8
      system/vendor/colinmollenhour/credis/README.markdown
  30. 132
      system/vendor/colinmollenhour/credis/Sentinel.php
  31. 25
      system/vendor/colinmollenhour/credis/testenv/docker-compose.yml
  32. 24
      system/vendor/colinmollenhour/credis/testenv/env/php-5.6/Dockerfile
  33. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.0/Dockerfile
  34. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.1/Dockerfile
  35. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.2/Dockerfile
  36. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.3/Dockerfile
  37. 4
      system/vendor/colinmollenhour/php-redis-session-abstract/.gitignore
  38. 2
      system/vendor/colinmollenhour/php-redis-session-abstract/ISSUE_TEMPLATE.md
  39. 29
      system/vendor/colinmollenhour/php-redis-session-abstract/LICENSE
  40. 68
      system/vendor/colinmollenhour/php-redis-session-abstract/README.md
  41. 24
      system/vendor/colinmollenhour/php-redis-session-abstract/composer.json
  42. 42
      system/vendor/colinmollenhour/php-redis-session-abstract/phpunit.xml.dist
  43. 35
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/ConcurrentConnectionsExceededException.php
  44. 35
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/ConnectionFailedException.php
  45. 902
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler.php
  46. 195
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler/ConfigInterface.php
  47. 100
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler/LoggerInterface.php
  48. 94
      system/vendor/colinmollenhour/php-redis-session-abstract/tests/Cm/RedisSession/HandlerTest.php
  49. 1
      system/vendor/composer/autoload_classmap.php
  50. 1
      system/vendor/composer/autoload_namespaces.php
  51. Some files were not shown because too many files have changed in this diff Show More

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,4 @@
.basedir
vendor
composer.lock
/.php-cs-fixer.cache

@ -0,0 +1,3 @@
[submodule "lib/Credis"]
path = lib/Credis
url = https://github.com/colinmollenhour/credis

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,6 @@
[*.php]
charset=utf-8
end_of_line=lf
insert_final_newline=true
indent_style=space
indent_size=4

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -47,7 +47,7 @@ class Credis_Module
*/ */
public function setModule($moduleName) public function setModule($moduleName)
{ {
$this->moduleName = (string) $moduleName; $this->moduleName = (string)$moduleName;
return $this; return $this;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,31 +1,6 @@
version: '2' version: '2'
services: services:
php-56:
build: env/php-5.6/
volumes:
- ../:/src/
php-70:
build: env/php-7.0/
volumes:
- ../:/src/
php-71:
build: env/php-7.1/
volumes:
- ../:/src/
php-72:
build: env/php-7.2/
volumes:
- ../:/src/
php-73:
build: env/php-7.3/
volumes:
- ../:/src/
php-74: php-74:
build: env/php-7.4/ build: env/php-7.4/
volumes: volumes:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,4 @@
vendor/
.idea/
phpunit.xml
composer.lock

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save