Skip to content
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

[Bug]: Confusing setting example leads to Could not open input file: {code} #149

Open
ncphillips opened this issue Jan 4, 2025 · 7 comments
Assignees
Labels

Comments

@ncphillips
Copy link

Extension Version

0.1.14

PHP Binary

Sail

Operating System

macOS

What happened?

Error:
 Eloquent Attributes and Relations

Could not open input file: {code}

/Users/nolan/Library/Application\ Support/Herd/bin/php "{code}" /Users/nolan/Herd/rolls/vendor/_laravel_ide/discover-5ea4ce032fd4176b9750a211674781fa.php

Mimimal Code Sample

I don't even know how I wound up putting that there, but it seemed like tthat's what the docs suggested. Dunno why I'm trying to use Herd
@ncphillips
Copy link
Author

Ah I found it
image

@ncphillips
Copy link
Author

Changed it to this

image

and still getting this error

Error:
 
Could not open input file: {code}

/Users/nolan/Library/Application\ Support/Herd/bin/php {code} /Users/nolan/Herd/rolls/vendor/_laravel_ide/discover-08ca2113f3a330bf1ebd4c3591847ce7.php

I don't know what it wants from me

@ncphillips ncphillips changed the title [Bug]: [Bug]: Confusing setting example leads to Could not open input file: {code} Jan 4, 2025
@francoism90
Copy link

francoism90 commented Jan 6, 2025

@ncphillips It should be without {code} I think.

@ncphillips
Copy link
Author

Okay, I just removed the {code} from my config entirely and it now seems to be working.

image image

(note: I am still getting an error, but it's a different error)

@francoism90
Copy link

This the PHP command to your php binary, e.g. /usr/local/bin/php.

@ncphillips
Copy link
Author

hah I didn't even notice your comment @francoism90

It's workign with what I got there.

I would open a PR to update the docs but I have anothe rone open atm

@francoism90
Copy link

francoism90 commented Jan 6, 2025

@ncphillips What's weird, I'm pretty sure they fixed this already, but I don't know if they need to push a new version.

Edit: Hmm, seems they still append {code}, but I don't think it works when this is given.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants