Coder Social home page Coder Social logo

Fatal error on version 3.0: Argument 1 passed to Parser::unexpectedSyntaxError() must be of the type array, null given about php-matcher HOT 6 CLOSED

coduo avatar coduo commented on July 30, 2024
Fatal error on version 3.0: Argument 1 passed to Parser::unexpectedSyntaxError() must be of the type array, null given

from php-matcher.

Comments (6)

emodric avatar emodric commented on July 30, 2024 1

Thanks @norzechowicz, it works fine 🎉

from php-matcher.

emodric avatar emodric commented on July 30, 2024

git bisect says that this is the culprit: #104, mainly, introducing typeints to Coduo\PHPMatcher\Parser::unexpectedSyntaxError.

Indeed, rolling back to a commit before that PR makes everything work again.

However, it may be possible that introducing type hints to Coduo\PHPMatcher\Parser::unexpectedSyntaxError revealed a deeper issue somewhere else in the code.

from php-matcher.

emodric avatar emodric commented on July 30, 2024

Seems that it's already fixed by #119.

@norzechowicz Can we get a 3.0.1 tag with the fix? :)

from php-matcher.

norberttech avatar norberttech commented on July 30, 2024

@emodric sure, I will first need to cherry pick #119 to 3.0 branch and then I can tag 3.0.1.
I will do my best to make it available asap
Thanks for reporting and investigation 🍻

from php-matcher.

emodric avatar emodric commented on July 30, 2024

Thank you @norzechowicz! 🍻

from php-matcher.

norberttech avatar norberttech commented on July 30, 2024

https://github.com/coduo/php-matcher/releases/tag/3.0.1 here you go, please let me know if it works now!

from php-matcher.

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.