grav icon indicating copy to clipboard operation
grav copied to clipboard

Add phpdocs with deprecated

Open Rotzbua opened this issue 2 years ago • 1 comments

Needed for IDE and linter support.

Rotzbua avatar Feb 27 '22 22:02 Rotzbua

I do not understand.

Your own comment claims: https://github.com/getgrav/grav/blob/3dd0cabeac9835fe64dcb4b68c658b39f1f6be2f/system/defines.php#L73

Deprecation just means that the variables should not be used for new code and old code should be refactored in the future. I see no contradiction between the current use and documenting a deprecation.

Rotzbua avatar Feb 28 '22 11:02 Rotzbua