4e49776a35
CRITICAL BUG FIX: Problem: php-detector.sh and php-analyzer.sh were setting SCRIPT_DIR which collided with parent script's SCRIPT_DIR variable causing /lib/lib/ double path bug when sourcing libraries. Solution: - Changed SCRIPT_DIR to _LIB_DIR in both php-detector.sh and php-analyzer.sh - Changed exit 1 to return 1 in sourced libraries (exit kills parent script) Files modified: - lib/php-detector.sh: Use _LIB_DIR instead of SCRIPT_DIR - lib/php-analyzer.sh: Use _LIB_DIR instead of SCRIPT_DIR, return instead of exit This prevents variable collision when libraries are sourced by modules.