Giter Site home page Giter Site logo

Comments (3)

ejmr avatar ejmr commented on July 22, 2024

Thanks for the bug report @cnwggu. I get the same indentation on my computer, so I will work on fixing it.

Regarding PSR-3, I do not think you would have to change any of your settings for that. Conforming to PSR-3 just means implementing the LoggerInterface interface for a class, so there is nothing php-mode needs to do there, unless there are bugs with how it handles the syntax of interfaces. PSR-3 standardizes some constants, so maybe we should consider some special treatment for those. Although PSR-1 and PSR-2 deal with code layout and formatting and we ignore those...

In any case, I will work on fixing the catch problem. I don't think we need to do anything for PSR-3, but please let me know if any bugs or problems come up.

from php-mode.

ejmr avatar ejmr commented on July 22, 2024

Sorry I have not gotten around to this yet @cnwggu. It is high on my list though for the next version.

I also wanted to post this as a note to myself (and others) that the solution to this should take issue #66 into consideration.

from php-mode.

ejmr avatar ejmr commented on July 22, 2024

Fixed by commit 6db85bd.

from php-mode.

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.