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. 592
      system/vendor/colinmollenhour/credis/Client.php
  27. 19
      system/vendor/colinmollenhour/credis/Cluster.php
  28. 8
      system/vendor/colinmollenhour/credis/README.markdown
  29. 76
      system/vendor/colinmollenhour/credis/Sentinel.php
  30. 25
      system/vendor/colinmollenhour/credis/testenv/docker-compose.yml
  31. 24
      system/vendor/colinmollenhour/credis/testenv/env/php-5.6/Dockerfile
  32. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.0/Dockerfile
  33. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.1/Dockerfile
  34. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.2/Dockerfile
  35. 25
      system/vendor/colinmollenhour/credis/testenv/env/php-7.3/Dockerfile
  36. 4
      system/vendor/colinmollenhour/php-redis-session-abstract/.gitignore
  37. 2
      system/vendor/colinmollenhour/php-redis-session-abstract/ISSUE_TEMPLATE.md
  38. 29
      system/vendor/colinmollenhour/php-redis-session-abstract/LICENSE
  39. 68
      system/vendor/colinmollenhour/php-redis-session-abstract/README.md
  40. 24
      system/vendor/colinmollenhour/php-redis-session-abstract/composer.json
  41. 42
      system/vendor/colinmollenhour/php-redis-session-abstract/phpunit.xml.dist
  42. 35
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/ConcurrentConnectionsExceededException.php
  43. 35
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/ConnectionFailedException.php
  44. 902
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler.php
  45. 195
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler/ConfigInterface.php
  46. 100
      system/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler/LoggerInterface.php
  47. 94
      system/vendor/colinmollenhour/php-redis-session-abstract/tests/Cm/RedisSession/HandlerTest.php
  48. 1
      system/vendor/composer/autoload_classmap.php
  49. 1
      system/vendor/composer/autoload_namespaces.php
  50. 8
      system/vendor/composer/autoload_static.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

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'
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:
build: env/php-7.4/
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

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