6 Commits

Author SHA1 Message Date
Thomas Schmidt
31fa36c82a Fix multiple bugs and improve robustness
- Fix date format in report(): H:m:s -> H:i:s (m=month, i=minutes)
- Fix loadWhitelists(): skip lines shorter than 32 chars to avoid empty hash entries
- Fix updateCombinedWhitelist(): return false on hash mismatch after download
- Fix scan(): handle file_get_contents() failure for unreadable files
- Fix scanFunc_RE(): suppress and handle invalid regex patterns gracefully
- Fix addWordpressChecksums(): validate version format, handle network/JSON errors, support both API response formats
- Add 30s HTTP timeout to updateCombinedWhitelist() network requests
- Fix composer.json minimum PHP version: 5.2 -> 5.3 (anonymous functions require 5.3)
- Add .gitignore for .idea/, whitelist.dat, vendor/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 16:12:36 +02:00
Gabor Gyorvari
00061e5a81 Composer update 2019-05-15 18:49:48 +02:00
Gabor Gyorvari
8e8faf26cf Remove unwanted require definition from composer 2018-04-04 10:24:08 +02:00
Gabor Gyorvari
fbff2a224c Added binary script to composer and referring to global install 2018-04-04 10:20:41 +02:00
Gabor Gyorvari
4485b48e52 Composer json update for packagist 2018-03-06 19:59:15 +01:00
Gabor Gyorvari
072189bd8e Few improvements to make library like behaving to be composer friendly 2018-03-02 19:28:03 +01:00