zoukankan      html  css  js  c++  java
  • Pull Requests

    Contribution Guide

    Issue Tracker

    You can find outstanding issues on the GitHub Issue Tracker.

    Pull Requests

    • Each pull request should contain only one new feature or improvement.
    • Pull requests should be submitted to the correct version branch ie master

    Code Style

    All pull requests must use the PSR-2 code style.

    • Code MUST use the PSR-1 code style.
    • Code MUST use 4 spaces for indenting, not tabs.
    • There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.
    • There MUST be one blank line after the namespace declaration, and there MUST be one blank line after the block of use declarations.
    • Opening braces for classes MUST go on the next line, and closing braces MUST go on the next line after the body.
    • Opening braces for methods MUST go on the next line, and closing braces MUST go on the next line after the body.
    • Visibility MUST be declared on all properties and methods; abstract and final MUST be declared before the visibility; static MUST be declared after the visibility.
    • Control structure keywords MUST have one space after them; method and function calls MUST NOT.
    • Opening braces for control structures MUST go on the same line, and closing braces MUST go on the next line after the body.
    • Opening parentheses for control structures MUST NOT have a space after them, and closing parentheses for control structures MUST NOT have a space before.
  • 相关阅读:
    十大接口
    ORM表之间高级设计
    响用模块
    异常模块的使用
    解析模块的使用
    渲染模板
    通达OA 11.7 后台sql注入getshell漏洞复现
    通达OA 11.5 SQL注入漏洞复现
    ThinkAdminV6 未授权访问and 任意文件查看 漏洞复现
    用友GRP-u8 XXE 漏洞复现
  • 原文地址:https://www.cnblogs.com/chunguang/p/5642925.html
Copyright © 2011-2022 走看看