This is my second attempt to address the issue (initially #48 was merged which broke Lumen installs unfortunately).
Requesting review by @GrahamCampbell
After the update to ServiceProviders, the basePath() function in Illuminate\Foundation\Application was extended to support an additional parameter $path. This was not documented nor updated in the contract. When attempting to use laravel/tinker on a laravel/framework installation prior to v5.4.17, the following exception is thrown:
This is my second attempt to address the issue (initially #48 was merged which broke Lumen installs unfortunately).
Requesting review by @GrahamCampbell