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:
After the update to ServiceProviders, the
basePath()
function inIlluminate\Foundation\Application
was extended to support an additional parameter$path
. This was not documented nor updated in the contract. When attempting to uselaravel/tinker
on alaravel/framework
installation prior to v5.4.17, the following exception is thrown:This commit relies on the
base_path
function which supports the$path
argument and is available on all versions (and is not deprecated as of 5.6.