fuel / oil

Fuel PHP Framework - Fuel v1.x Oil command-line package
http://fuelphp.com/docs/packages/oil/intro.html
106 stars 67 forks source link

Parse error in driver package scaffolding #248

Closed AdamSGit closed 8 years ago

AdamSGit commented 8 years ago

When you use Oil to scaffold a package with driver in 1.8, there is a missing bracket causing a parse error line 50 of the main package class (the line throwing an exception). Let me know if you want a pull request, Adam

WanWizard commented 8 years ago

Line 50 is a blank line? https://github.com/fuel/oil/blob/1.9/develop/classes/package.php#L50

Or do you mean something else? In that case, yes, a PR on 1.9/develop please, so we can see what you mean.

AdamSGit commented 8 years ago

I'm talking about the main package class for a scaffolded package.

If I do php oil g package test -d=mydriver, the /fuel/package/test/test.php is the concerned file.

WanWizard commented 8 years ago

Ok, found it.