Coder Social home page Coder Social logo

generator-barephp's People

Contributors

juliangut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

stormix 00mjk

generator-barephp's Issues

Normalize PHPCSFixer and StyleCI

Include:

  • blank_line_after_namespace
  • blank_line_after_opening_tag
  • cast_spaces
  • class_definition
  • combine_consecutive_unsets
  • compact_nullable_typehint
  • declare_strict_types (>= 7.0)
  • elseif
  • hash_to_slash_comment
  • heredoc_to_nowdoc
  • include
  • linebreak_after_opening_tag
  • lowercase_constants
  • modernize_types_casting
  • native_function_casing
  • native_function_invocation
  • new_with_braces
  • no_alias_functions
  • no_blank_lines_after_class_opening
  • no_blank_lines_after_phpdoc
  • no_empty_comment
  • no_empty_phpdoc
  • no_empty_statement
  • no_leading_import_slash
  • no_leading_namespace_whitespace
  • no_multiline_whitespace_around_double_arrow
  • no_multiline_whitespace_before_semicolons
  • no_php4_constructor
  • no_short_bool_cast
  • no_short_echo_tag
  • no_singleline_whitespace_before_semicolons
  • no_spaces_around_offset
  • no_trailing_comma_in_list_call
  • no_trailing_comma_in_singleline_array
  • no_unneeded_control_parentheses
  • no_unreachable_default_argument_value
  • no_unused_imports
  • no_useless_else
  • no_useless_return
  • no_whitespace_before_comma_in_array
  • no_whitespace_in_blank_line
  • normalize_index_brace
  • ordered_imports
  • php_unit_construct
  • php_unit_dedicate_assert
  • pow_to_exponentiation
  • random_api_migration
  • return_type_declaration (>= 7.0)
  • self_accessor
  • short_scalar_cast
  • single_quote
  • space_after_semicolon
  • ternary_operator_spaces
  • ternary_to_null_coalescing (>= 7.0)
  • trailing_comma_in_multiline_array
  • unary_operator_spaces
  • whitespace_after_comma_in_array

remove:

  • multiline_array_trailing_comma
  • multiline_spaces_before_semicolon
  • newline_after_open_tag
  • operators_spaces
  • phpdoc_property
  • return
  • short_array_syntax
  • single_array_no_trailing_comma
  • spaces_before_semicolon
  • spaces_cast

PHPCsFixer rules changes

ADD
combine_consecutive_unsets
native_function_invocation
no_short_echo_tag
no_trailing_comma_in_list_call
phpdoc_add_missing_param_annotation
phpdoc_no_useless_inheritdoc
pow_to_exponentiation
random_api_migration
ternary_to_null_coalescing (only php >= 7.0)

REPLACE
method_separation => class_attributes_separation

UPDATE
return_type_declaration => return_type_declaration ['space_before' => 'none',]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.