Giter VIP home page Giter VIP logo

Comments (7)

TomasVotruba avatar TomasVotruba commented on July 23, 2024

Thanks so much. After seeing your frustration, I wanted to create this issue myself. Sorry for that.

Could you send me list of use cases, that created these errors? I recall these:

  • comma in any neon format text
    • either *.neon file
    • or file data (between --- and `---)

from symplify.

ikvasnica avatar ikvasnica commented on July 23, 2024

No problem, it's better to be frustrated two days during the implementation than to have cancer from a CMS and an FTP access :)

I don't remember, honestly, I think this particular error was shown due to the comma in *.neon files and it was the most frustrating one.

But there were other (not so cryptic) errors that could also benefit from having the original filename and line number printed out next to them. For example, when using a non-existing or null variable in a foreach loop.

from symplify.

TomasVotruba avatar TomasVotruba commented on July 23, 2024

Found nice use case just now:

image

Motivation++ 👍

from symplify.

TomasVotruba avatar TomasVotruba commented on July 23, 2024

Probably wrap NeonDecoder https://github.com/Symplify/Symplify/blob/master/packages/Statie/src/Configuration/Parser/NeonParser.php#L24

and ConfigurationDecorator
https://github.com/Symplify/Symplify/blob/master/packages/Statie/src/Renderable/Configuration/ConfigurationDecorator.php#L32

from symplify.

TomasVotruba avatar TomasVotruba commented on July 23, 2024

Done!

from symplify.

ikvasnica avatar ikvasnica commented on July 23, 2024

Thank you, @TomasVotruba, for preventing people from getting cancer!

from symplify.

TomasVotruba avatar TomasVotruba commented on July 23, 2024

Oh yea!

"Open source - creating and fighting cancer together!"

from symplify.

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.