Giter Club home page Giter Club logo

Comments (5)

ADmad avatar ADmad commented on June 16, 2024

Because this is what CakePHP has been using from the beginning and it predates standards like PSR.

from cakephp-codesniffer.

eimanavicius avatar eimanavicius commented on June 16, 2024

Does someone knows how to force phpstorm not to ident doc blocks? or what editor you use to develop that supports this behavior?

from cakephp-codesniffer.

ravage84 avatar ravage84 commented on June 16, 2024

@CostaC this decision must have been related to some severe alcohol abuse ;-) It's one of the very few rules in the CakePHP standard I personally disregard in our code. I even excluded this sniff in our company's CS standard.

@eimanavicius may be ask this question in StackOverflow. But I never got it to work. May be consider excluding the phpcs sniff.

<rule ref="CakePHP">
    <!-- Exclude unwanted sniffs -->
    <exclude name="Generic.Commenting.Todo"/>
    <exclude name="CakePHP.WhiteSpace.ScopeIndent"/>
    <exclude name="CakePHP.Commenting.FunctionCommentThrowTag"/>
</rule>
<!-- Add additional/replacing sniffs -->
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/>

from cakephp-codesniffer.

dereuromark avatar dereuromark commented on June 16, 2024

@ravage84 When changing the arrays from array() to [] in 3.0 then completely via batch script this is likely to come up then as well.
I already prepared everything for a discussion and transformation via my batch scripts and auto-correct sniffs for it. Just have to wait for the right time.

from cakephp-codesniffer.

ravage84 avatar ravage84 commented on June 16, 2024

I know, but good you mentioned it again 😈

from cakephp-codesniffer.

Related Issues (20)

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.