src/Hooks.php
/**
     * Returns a list of all natively supported git hooks
     *
     * @return array<string, string>
     */
Returns a list of all natively supported git hooks
@return array
Returns a list of all natively supported git hooks @return array
public static function nativeHooks(): array
    {
        return [
            self::COMMIT_MSG         => 'CommitMsg',
            self::PRE_PUSH           => 'PrePush',
            self::PRE_COMMIT         => 'PreCommit',
            self::PREPARE_COMMIT_MSG => 'PrepareCommitMsg',
            self::POST_COMMIT        => 'PostCommit',
            self::POST_MERGE         => 'PostMerge',
            self::POST_CHECKOUT      => 'PostCheckout',
            self::POST_REWRITE       => 'PostRewrite'
        ];
    }
public static function nativeHooks ( ) : array { return [ self :: COMMIT_MSG => 'CommitMsg' , self :: PRE_PUSH => 'PrePush' , self :: PRE_COMMIT => 'PreCommit' , self :: PREPARE_COMMIT_MSG => 'PrepareCommitMsg' , self :: POST_COMMIT => 'PostCommit' , self :: POST_MERGE => 'PostMerge' , self :: POST_CHECKOUT => 'PostCheckout' , self :: POST_REWRITE => 'PostRewrite' ] ; }
Returns a list of all natively supported git hooks
 @return array<string, string>
Returns a list of all natively supported git hooks @return array<string string >