Giter Club home page Giter Club logo

Comments (4)

nilportugues avatar nilportugues commented on May 24, 2024 1

Nice point. When this code was written php-cs-fixer did not have this feature.

from php-backslasher.

ksom avatar ksom commented on May 24, 2024

@keradus
Hi !

I see just one difference between them. This one backslash php constant also \true \null \false when FOP/php-cs-fixer doesn't do it, it only do it for native function call.

I would like to know if this is effective. I tend to think that add backslash on true, false and null appears to me overkill. What about constant like PHP_EOL DIRECTORY_SEPARATOR and all other native constant?

from php-backslasher.

keradus avatar keradus commented on May 24, 2024

usually you don't backslash everything in code as is. you either backslash what's crucial for your app, or you backslash everything in artifact build job

from php-backslasher.

ksom avatar ksom commented on May 24, 2024

@keradus Thanks for your response :) I will go to php-cs-fixer than, that's only backslash native function. But doesn't backslash constants.

from php-backslasher.

Related Issues (13)

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.