Server: PHP coding style

Created on 7 Nov 2018  路  4Comments  路  Source: nextcloud/server

I am curious if there is still any reason still to go with the PEAR coding standard?
This standard seems not maintained anymore and so there is no standard for new PHP syntax.

Are you still using it because of the mass of code or just prefer the PEAR one over the de facto PSR standards?

Most helpful comment

Are you still using it because of the mass of code or just prefer the PEAR one over the de facto PSR standards?

I guess we just sticked to what is in place right now, because changing the whole style of everything makes "git research via git blame" just unnecessarily harder.

@rullzer @blizzz @nickvergessen @icewind1991 Opinions?

All 4 comments

Are you still using it because of the mass of code or just prefer the PEAR one over the de facto PSR standards?

I guess we just sticked to what is in place right now, because changing the whole style of everything makes "git research via git blame" just unnecessarily harder.

@rullzer @blizzz @nickvergessen @icewind1991 Opinions?

I agree with @MorrisJobke. I don't see the need to change it.

Closing as we won't change the coding style in the foreseeable future.

Was this page helpful?
0 / 5 - 0 ratings