We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Tabs and spaces

Why you use tabs in .zep files in phalcon 2.0 but not spaces like in standard psr-2?



98.9k

Because PSR-2 is a standard for PHP not Zephir

Yes, but code on zephir php like and written by php developers.

It only your personal preference or there is a reason?



98.9k

It's written also by C developers, and Zephir also is similar to Javascript, what should we do?

ok, why in php tests used tabs?:)



98.9k

We should adopt PSR-2 right there, most tests were created before we adopted PSR-2