You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add overridable CliCommand::canRunAsRoot() method and fail with an exception if it returns false when running as root
Utility
Add Package::isInstalled() to public API
Add Sys::isRunningAsRoot()
Changed
Utility
Rename Json::stringify() to encode()
Rename Json::parseObjectAsArray to objectAsArray()
Rename Regex::quoteCharacterClass() to quoteCharacters()
Fixed
Cli
Fix issue where CliApplication::getVersionString() returns values like app dev-ef08c76d7c0e5563080e1276bccd2ca666ed85d8 (ef08c76d) PHP 8.3.6
Utility
Fix Get::copy() issue where private property values are not copied correctly if an extending class has a property with the same name
Fix Reflect::getAllProperties() issue where private properties in parent classes are not returned if an inheriting class has a property with the same name
Fix issue where Package::getPackagePath() doesn't use File::realpath() to return the canonical path
Fix issue where package versions like dev-ef08c76d7c0e...@ef08c76d may be returned
Security
Cli
Allow applications to run as root
Don't allow commands to run as root by default (see above)