lib/cms_scanner/target/platform/php.rb in cms_scanner-0.0.40.2 vs lib/cms_scanner/target/platform/php.rb in cms_scanner-0.0.40.3
- old
+ new
@@ -1,12 +1,12 @@
module CMSScanner
class Target < WebSite
module Platform
# Some PHP specific implementation
module PHP
- DEBUG_LOG_PATTERN = /\[[^\]]+\] PHP (?:Warning|Error|Notice):/
- FPD_PATTERN = /Fatal error:.+? in (.+?) on/
- ERROR_LOG_PATTERN = /PHP Fatal error/i
+ DEBUG_LOG_PATTERN = /\[[^\]]+\] PHP (?:Warning|Error|Notice):/.freeze
+ FPD_PATTERN = /Fatal error:.+? in (.+?) on/.freeze
+ ERROR_LOG_PATTERN = /PHP Fatal error/i.freeze
# @param [ String ] path
# @param [ Regexp ] pattern
# @param [ Hash ] params The request params
#