Commit cbb086c
authored
Fix Memcached version extraction (#222)
## Summary
- adjust Memcached version detection to ignore empty or sentinel values
returned by the Memcached extension and normalise the first valid
version string
- align the Memcached detection unit test with the updated extraction
logic
## Testing
- vendor/bin/phpstan analyse --memory-limit=1G
- vendor/bin/phpunit *(fails: missing WordPress test library in the test
environment)*
- vendor/bin/phpcs *(fails: PHPCompatibilityWP sniff not available in
the current PHPCS setup)*
------
https://chatgpt.com/codex/tasks/task_b_690450140924832185f70e05e56468d71 file changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
915 | 935 | | |
916 | 936 | | |
917 | 937 | | |
| |||
975 | 995 | | |
976 | 996 | | |
977 | 997 | | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
978 | 1001 | | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | 1002 | | |
983 | | - | |
984 | 1003 | | |
985 | 1004 | | |
986 | 1005 | | |
| |||
0 commit comments