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

InvalidArgumentException #2

Closed
blendsdk opened this issue Mar 11, 2016 · 3 comments
Closed

InvalidArgumentException #2

blendsdk opened this issue Mar 11, 2016 · 3 comments

Comments

@blendsdk
Copy link

I am unable to run the utility.
Could you please point me to the correct direction to solve this?

I get the following exception:

  [InvalidArgumentException]                       
  The "src/Globals.php" directory does not exist.                                                     

But the file above exists! (src/Globals.php)

My composer.json file is:

{
    "minimum-stability": "dev",
    "name": "gevik/myapp",
    "require": {
        "php": ">=5.5.9",
        "blendsdk/blendengine": "dev-engine2"
    },
    "autoload": {
        "psr-4": {
            "MyApp\\": "src"
        },
        "files": [
            "src/Globals.php"
        ]
    }
}
@MacFJA
Copy link
Owner

MacFJA commented Mar 11, 2016

Thanks to report the error!

I found why you have this error.
The issue is caused by my poorly written parser: I assume that only psr-4 and psr-0 are used.
I will update the parse to take in account files and classmap.

MacFJA added a commit that referenced this issue Mar 11, 2016
@MacFJA
Copy link
Owner

MacFJA commented Mar 11, 2016

@blendsdk, I push (on master) a correction about your issue. Does it solve your issue?

@blendsdk
Copy link
Author

Yes, thank you for the quick response 👍

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

No branches or pull requests

2 participants