Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP_CodeSniffer 问题手动修正 #83

Closed
12 tasks
kinosang opened this issue Dec 16, 2015 · 0 comments
Closed
12 tasks

PHP_CodeSniffer 问题手动修正 #83

kinosang opened this issue Dec 16, 2015 · 0 comments

Comments

@kinosang
Copy link
Member

  • FILE: thinkphp/thinkphp/library/org/image/driver/gif.php
    114 | Each class must be in a file by itself
    335 | Method name "GIFEncode::GetAnimation" is not in camel caps format
    358 | Each class must be in a file by itself
  • FILE: thinkphp/thinkphp/library/org/parser/driver/markdown.php
    244 | Method name "Markdown::_stripLinkDefinitions_callback" is not in camel caps format
    399 | Method name "Markdown::_hashHTMLBlocks_callback" is not in camel caps format
    546 | Method name "Markdown::_doHardBreaks_callback" is not in camel caps format
    634 | Method name "Markdown::_doAnchors_reference_callback" is not in camel caps format
    668 | Method name "Markdown::_doAnchors_inline_callback" is not in camel caps format
    751 | Method name "Markdown::_doImages_reference_callback" is not in camel caps format
    779 | Method name "Markdown::_doImages_inline_callback" is not in camel caps format
    835 | Method name "Markdown::_doHeaders_callback_setext" is not in camel caps format
    846 | Method name "Markdown::_doHeaders_callback_atx" is not in camel caps format
    925 | Method name "Markdown::_doLists_callback" is not in camel caps format
    996 | Method name "Markdown::_processListItems_callback" is not in camel caps format
    1041 | Method name "Markdown::_doCodeBlocks_callback" is not in camel caps format
    1246 | Method name "Markdown::_doBlockQuotes_callback" is not in camel caps format
    1264 | Method name "Markdown::_doBlockQuotes_callback2" is not in camel caps format
    1409 | Method name "Markdown::_doAutoLinks_url_callback" is not in camel caps format
    1415 | Method name "Markdown::_doAutoLinks_email_callback" is not in camel caps format
    1582 | Method name "Markdown::_detab_callback" is not in camel caps format
    1628 | Method name "Markdown::_unhash_callback" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/org/upload/driver/qiniu/qiniu_storage.php
    49 | Method name "QiniuStorage::UploadToken" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/think/cache/driver/secache.php
    124 | Each class must be in a file by itself
    405 | Method name "SecacheClient::_get_size_schema_id" is not in camel caps format
    415 | Method name "SecacheClient::_parse_str_size" is not in camel caps format
    490 | Method name "SecacheClient::_get_node_root" is not in camel caps format
    498 | Method name "SecacheClient::_set_node_root" is not in camel caps format
    503 | Method name "SecacheClient::_set_node" is not in camel caps format
    517 | Method name "SecacheClient::_get_pos_by_key" is not in camel caps format
    537 | Method name "SecacheClient::_lru_delete" is not in camel caps format
    555 | Method name "SecacheClient::_lru_push" is not in camel caps format
    583 | Method name "SecacheClient::_get_node" is not in camel caps format
    591 | Method name "SecacheClient::_lru_pop" is not in camel caps format
    638 | Method name "SecacheClient::_get_dcur_pos" is not in camel caps format
    644 | Method name "SecacheClient::_set_dcur_pos" is not in camel caps format
    649 | Method name "SecacheClient::_free_dspace" is not in camel caps format
    678 | Method name "SecacheClient::_free_node" is not in camel caps format
    686 | Method name "SecacheClient::_alloc_idx" is not in camel caps format
    704 | Method name "SecacheClient::_create_node" is not in camel caps format
    710 | Method name "SecacheClient::_set_schema" is not in camel caps format
    716 | Method name "SecacheClient::_get_schema" is not in camel caps format
    728 | Method name "SecacheClient::_all_schemas" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/think/controller/rest.php
    16 | Class name "rest" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/think/input.php
    17 | Visibility must be declared on property "$filter"
  • FILE: thinkphp/thinkphp/library/think/model/mongo.php
    64 | Method name "Mongo::_before_write" is not in camel caps format
    100 | Method name "Mongo::_before_insert" is not in camel caps format
    118 | Method name "Mongo::_after_select" is not in camel caps format
    138 | Method name "Mongo::_options_filter" is not in camel caps format
    282 | Method name "Mongo::_after_db" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/think/model.php
    156 | Method name "Model::_write_data" is not in camel caps format
    188 | Method name "Model::_before_write" is not in camel caps format
    243 | Method name "Model::_before_insert" is not in camel caps format
    247 | Method name "Model::_after_insert" is not in camel caps format
    346 | Method name "Model::_before_update" is not in camel caps format
    350 | Method name "Model::_after_update" is not in camel caps format
    421 | Method name "Model::_after_delete" is not in camel caps format
    518 | Method name "Model::_read_datalist" is not in camel caps format
    525 | Method name "Model::_after_select" is not in camel caps format
    585 | Method name "Model::_options_filter" is not in camel caps format
    689 | Method name "Model::_read_data" is not in camel caps format
    704 | Method name "Model::_after_find" is not in camel caps format
    760 | Method name "Model::_create_filter" is not in camel caps format
    798 | Method name "Model::_after_db" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/think/slog.php
    128 | Method name "Slog::error_handler" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/traits/model/auto.php
    344 | There must be a comment when fall-through is intentional in a non-empty case body
  • FILE: thinkphp/thinkphp/library/traits/model/relation.php
    38 | Method name "Relation::_after_find" is not in camel caps format
    48 | Method name "Relation::_after_select" is not in camel caps format
    58 | Method name "Relation::_after_insert" is not in camel caps format
    68 | Method name "Relation::_after_update" is not in camel caps format
    78 | Method name "Relation::_after_delete" is not in camel caps format
    93 | Method name "Relation::_write_data" is not in camel caps format
  • FILE: thinkphp/thinkphp/library/traits/model/view.php
    68 | Method name "View::_options_filter" is not in camel caps format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant