You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?phpMozart\
/*Mozart\ *Mozart\ This file is part of the Carbon package.Mozart\ *Mozart\ *Mozart\ (c)Mozart\ Brian Nesbitt <[email protected]>Mozart\ *Mozart\ *Mozart\ For the full copyright and license information,Mozart\ please view the LICENSEMozart\ *Mozart\ file that was distributed with this source code.Mozart\ */Mozart\
namespace Carbon;Mozart\
use Carbon\Exceptions\InvalidDateException;Mozart\
use Closure;Mozart\
use DateInterval;Mozart\
use DatePeriod;Mozart\
use DateTime;Mozart\
use DateTimeInterface;Mozart\
use DateTimeZone;Mozart\
use InvalidArgumentException;Mozart\
nesbot/carbon 1.39.0 "prefixes" the end of lines because its autoload key has an empty key.
Output src/carbon/Carbon.php :
The autoload key:
Minimal reproducible composer.json:
The solution might be in the NamespaceReplacer's regex, which would properly match if $searchNamespace was not an empty string.
I tried all the open PRs but they don't help.
The text was updated successfully, but these errors were encountered: