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

Change / Remove unparsable json file #17

Closed
J7mbo opened this issue Jul 26, 2013 · 1 comment
Closed

Change / Remove unparsable json file #17

J7mbo opened this issue Jul 26, 2013 · 1 comment

Comments

@J7mbo
Copy link
Contributor

J7mbo commented Jul 26, 2013

In some IDE's (in my case, Netbeans), after downloading Auryn via compser, my IDE shows errors for a file - specifically with config_with_unparsable.json.

I can't specifically choose to ignore this file, so it's constantly throwing up a nasty red exclamation mark on my file.

Any chance of an alternative test to check for invalid json? Perhaps creating a file in memory using SplTempFileObject or similar?

Note: This is of course an extremely tiny issue - so at the bottom of the to-do list, if at all.

@rdlowrey
Copy link
Owner

The better solution would be to actually use something like vfsStream to mock the filesystem test inputs entirely. I'm a bit hesitant to add this as a dependency because it's overkill for only a couple of test cases at this stage.

So yes, this is possible, but it's not particularly high on my priority list :)
Of course, if it's a real annoyance for you there's always the option of a pull-request to provide an alternative solution in the meantime ...

@rdlowrey rdlowrey closed this as completed Sep 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants