Closed nickvergessen closed 11 months ago
LGTM, but could you maybe add all the ones found in https://github.com/nextcloud/server/blob/master/lib/public/AppFramework/Http.php while you are at it?
I wonder if there is a smarter way to do this, maybe by adding OCP as a dependency and iterating all the constants?
maybe by adding OCP as a dependency and iterating all the constants?
The nextcloud/OCP package could be handy with that. Then again, if we wouldn't look at strings but PHP code that'd be much simpler, same with all the other type things 🙈
Added all by copy-pasting the block and then replacing:
public const
with "
=
with " =>
;
with ,
These are all missing codes I found in default/supported apps