1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 08:40:09 +01:00

Merge branch 'master' into version-4

This commit is contained in:
Matt Stauffer
2023-01-19 13:19:18 -05:00
committed by GitHub
4 changed files with 16 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2

View File

@@ -1,6 +1,17 @@
# Release Notes
## [Unreleased](https://github.com/laravel/valet/compare/v3.2.2...master)
## [Unreleased](https://github.com/laravel/valet/compare/v3.3.0...master)
## [v3.3.0](https://github.com/laravel/valet/compare/v3.2.2...v3.3.0) - 2023-01-17
### Added
- Add `set-ngrok-token` command by @mattstauffer in https://github.com/laravel/valet/pull/1325
- Laravel v10 Support by @driesvints in https://github.com/laravel/valet/pull/1341
### Fixed
- Fixes permission denied check when result starts with 'Permission denied' by @matthewjohns0n in https://github.com/laravel/valet/pull/1343
## [v3.2.2](https://github.com/laravel/valet/compare/v3.2.1...v3.2.2) - 2022-12-08

View File

@@ -543,7 +543,7 @@ public function createCertificate(string $url, int $caExpireInDays): void
));
// If cert could not be created using runAsUser(), use run().
if (strpos($result, 'Permission denied')) {
if (strpos($result, 'Permission denied') !== false) {
$this->cli->run(sprintf(
'openssl x509 -req -sha256 -days %s -CA "%s" -CAkey "%s" %s -in "%s" -out "%s" -extensions v3_req -extfile "%s"',
$caExpireInDays, $caPemPath, $caKeyPath, $caSrlParam, $csrPath, $crtPath, $confPath

View File

@@ -34,6 +34,8 @@
*/
Container::setInstance(new Container);
$version = '4.0.0';
$app = new Application('Laravel Valet', $version);
$app->setDispatcher($dispatcher = new EventDispatcher());