Skip to content

standardize comments #234

Description

@juanlopezdev

Hello,
I really like IQ , but I have a problem with PHP comments , personally I think it is not standardized. They have a style guide for CI http://www.codeigniter.com/user_guide/general/styleguide.html#commenting and it would be advisable also to apply in developing CI4.

In my personal opinion I think that the comments of this type would have to be reserved for variables , classes, methods or functions.

/**
 *
 */

And this, for any block you want to comment

// I'm a PHP comment

I also believe that you should avoid these types of comments :

// ---------------------------------------------

Currently I see this file a bit messy in a review for example.
https://github.com/bcit-ci/CodeIgniter4/blob/develop/application/Config/Routes.php

Greetings, thank you very much for giving a new version CI4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions