-
-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically regenerate the files #478
Conversation
What's the clue here? Why does it remove all files? |
the job runs into errors (see "Regenerate files" step), therefore deletes everything but fails at generating new stuff https://github.com/thecodingmachine/safe/actions/runs/12093074222/job/33723621088
|
Debugging the issue. It seems that the issue is coming from the following function Digging a little further. |
Ok so - after some more debugging. https://github.com/phpstan/phpstan-src/blob/2.0.x/resources/functionMap.php These are multiple ones. Two things we can do here:
What do you prefer? |
thx for the investigation. could you give me a list of which functions we are talking about? |
I will try and export something 👍 |
I hope I got everything:
|
nice thank you. maybe someone could just open a PR at the PHPStan end to add the signatures? the "rnp" extensions seem experimentell, therefore I would be fine in case we could skip it just by hardcoding it somewhere |
Will create a Issue in PHPStan and link it. |
So here is the official answer I guess in the meantime, we can "just ignore" all these functions, to at least keep the functionality and maybe "rework" how this library is writing all the generated files? Don't know :) |
ok, then lets have a dedicated ignore list somewhere in the generator |
I guess this file should be suffice? Let me prepare a PR with the ignored file for now. |
I guess this could work. I am not yet comfortable enough with the codebase to say for sure |
Will check 🙂 |
@icanhazstring just fyi, please see the comments in #481 (comment) the problems you are trying to solve, maybe be already fixed and in the process of beeing submitted. |
7c9d090
to
38cb235
Compare
Manually triggered the action. We got a non-empty PR 🚀 🤠 |
38cb235
to
5f377c1
Compare
5f377c1
to
58132df
Compare
Automated changes by create-pull-request GitHub action