Giter VIP home page Giter VIP logo

Comments (6)

ramsey avatar ramsey commented on June 2, 2024 1

Your PR looks great. Thanks!

By the way the hook for the pre-commit are a bit strange for the descriptionEndMark value

Thanks for the feedback. I'll see what I can do to make this less confusing.

from coding-standard.

ramsey avatar ramsey commented on June 2, 2024

What is the error message?

from coding-standard.

ramsey avatar ramsey commented on June 2, 2024

I just looked at the docs, and I think you're correct. I'm curious why I've never noticed a problem. 🤔

Feel free to submit a pull request. I can help with this, if you like. Otherwise, I'll try to get it fixed in the next week or so.

Thanks!

from coding-standard.

ncou avatar ncou commented on June 2, 2024

Yes it's strange you never see the problem. I have made a quick test in php7.4 and php8 and in php7.4 it display a warning, and in php 8 it throw a fatal error.

Warning: printf(): Argument number must be greater than zero in...
Fatal error: Uncaught ValueError: Argument number must be greater than zero in...

I will submit a PR in a few hours.

from coding-standard.

ramsey avatar ramsey commented on June 2, 2024

Thanks!

from coding-standard.

ncou avatar ncou commented on June 2, 2024

I have created the PR. Tell me if it's ok.

By the way the hook for the pre-commit are a bit strange for the descriptionEndMark value. It's empty so it mean there should not have a ponctuation character at the end of the description. It's not really clear the character ")" is considered as a punctuation. I got an error on the message "fix: blablabla in the function printf()" but not a lot of information for the error. But removing the trailing "()" allowed me to commit the message. Hope i am clear english is not my mother tongue.

from coding-standard.

Related Issues (1)

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.