##### SUMMARY
gitlab_project contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/modules/source_control/gitlab_project.py:292:4: ansible-deprecated-version: Deprecated version ('2.10') found in call to Display.deprecated or AnsibleModule.deprecate
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/modules/source_control/gitlab_project.py
```

##### ANSIBLE VERSION
```
2.10
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

hooks = project.hooks.list()
        for hook in hooks:
            if (hook.url == hook_url):
                return hook
    '''
    @param project Project object
    @param hook_url Url to call on event
    '''
    def existsHook(self, project, hook_url):
        
        hook = self.findHook(project, hook_url)
        if hook:
            self.hookObject = hook
            return True
        return False
    def deleteHook(self):
        if self._module.check_mode:
            return True
        return self.hookObject.delete()
def deprecation_warning(module):
    deprecated_aliases = ['private_token', 'access_token', 'enable_ssl_verification']
    for aliase in deprecated_aliases:
        if aliase in module.params:
            module.deprecate("Alias \'{aliase}\' is deprecated".format(aliase=aliase), "2.10")
def main():