$ phpcs --standard=Drupalpractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml supercache/
FILE: C:\Users\SI-001\Downloads\supercache\src\Cache\DatabaseRawBackend.php
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
133 | ERROR | unserialize() is insecure unless allowed classes are limited. Use a safe format like JSON or use the allowed_classes option.
215 | WARNING | There must be no blank line following an inline comment
----------------------------------------------------------------------------------------------------------------------------------------------
Time: 527ms; Memory: 8MB
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | unserialize-issue-3296311-2.patch | 947 bytes | rakhi soni |
Comments
Comment #2
rakhi soni commentedKindly review patch,,
Comment #3
sourabhjainI have reviewed the patch #2 and it seems it looks fine.
Moving to RTBC
I have found the below error but it is already covered in https://www.drupal.org/project/supercache/issues/3296308