-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
975235f
commit 6e5ce60
Showing
523 changed files
with
55,747 additions
and
1,009 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
<?php | ||
namespace VendorPatches202401; | ||
|
||
require __DIR__ . '/vendor-patches.php'; | ||
require __DIR__ . '/vendor-patches.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,23 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
declare (strict_types=1); | ||
namespace VendorPatches202401; | ||
|
||
use Symfony\Component\Console\Application; | ||
use VendorPatches202401\Symfony\Component\Console\Application; | ||
use Symplify\VendorPatches\DependencyInjection\ContainerFactory; | ||
|
||
$possibleAutoloadPaths = [ | ||
__DIR__ . '/../autoload.php', | ||
__DIR__ . '/../vendor/autoload.php', | ||
__DIR__ . '/../../../autoload.php', | ||
__DIR__ . '/../../../vendor/autoload.php', | ||
]; | ||
|
||
$possibleAutoloadPaths = [__DIR__ . '/../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../autoload.php', __DIR__ . '/../../../vendor/autoload.php']; | ||
foreach ($possibleAutoloadPaths as $possibleAutoloadPath) { | ||
if (! file_exists($possibleAutoloadPath)) { | ||
if (!\file_exists($possibleAutoloadPath)) { | ||
continue; | ||
} | ||
|
||
require_once $possibleAutoloadPath; | ||
} | ||
|
||
|
||
$scoperAutoloadFilepath = __DIR__ . '/../vendor/scoper-autoload.php'; | ||
if (file_exists($scoperAutoloadFilepath)) { | ||
if (\file_exists($scoperAutoloadFilepath)) { | ||
require_once $scoperAutoloadFilepath; | ||
} | ||
|
||
|
||
$containerFactory = new ContainerFactory(); | ||
$container = $containerFactory->create(); | ||
|
||
$application = $container->make(Application::class); | ||
|
||
$statusCode = $application->run(); | ||
exit($statusCode); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.