1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 09:10:03 +01:00
Commit Graph

933 Commits

Author SHA1 Message Date
StyleCI Bot
6c5873c6e1 Apply fixes from StyleCI 2022-12-20 20:12:57 +00:00
Matt Stauffer
cc23311377 Merge branch 'mes/type-hints-and-return-hints' of github.com:laravel/valet into mes/type-hints-and-return-hints 2022-12-20 15:12:44 -05:00
Matt Stauffer
fadefb1777 Add type hints and return types to Site and Valet 2022-12-20 15:12:40 -05:00
StyleCI Bot
c714b82fcd Apply fixes from StyleCI 2022-12-20 17:13:46 +00:00
Matt Stauffer
ac4b8f6f40 Add type hints and return types to PhpFpm 2022-12-20 12:13:34 -05:00
Matt Stauffer
7698611a6a Add type hints and return types to ngrok 2022-12-19 19:17:30 -05:00
Matt Stauffer
a6840040be Add type hints and return types to Nginx 2022-12-19 19:16:34 -05:00
Matt Stauffer
a3a52f75a3 Merge branch 'mes/type-hints-and-return-hints' of github.com:laravel/valet into mes/type-hints-and-return-hints 2022-12-19 19:13:41 -05:00
Matt Stauffer
21835cc2b5 Add type hints and return hints to Filesystem 2022-12-19 19:13:38 -05:00
Matt Stauffer
da4f98db80 Add type hints and return type hints to DnsMasq 2022-12-19 16:11:07 -05:00
StyleCI Bot
09a2614545 Apply fixes from StyleCI 2022-12-19 21:09:05 +00:00
Matt Stauffer
f2fce1a1bf Add type hints and return type hints to Diagnose 2022-12-19 16:08:54 -05:00
Matt Stauffer
0cb7f4f8a6 Add type hints and return type hints to Configuration 2022-12-18 15:45:24 -06:00
Matt Stauffer
58bdbf1941 Merge branch 'mes/type-hints-and-return-hints' of github.com:laravel/valet into mes/type-hints-and-return-hints 2022-12-18 15:45:07 -06:00
Matt Stauffer
1220cd6839 Add type hints and return type hints to CommandLine 2022-12-18 15:42:18 -06:00
StyleCI Bot
624e92164f Apply fixes from StyleCI 2022-12-18 21:40:24 +00:00
Matt Stauffer
9b503a2ed3 Add type hints and return type hints to Brew 2022-12-18 15:40:12 -06:00
Matt Stauffer
400be90585 Resolve merge 2022-12-18 15:15:24 -06:00
Matt Stauffer
c1a7bbe8f3 Merge branch 'version-4' of github.com:laravel/valet into version-4 2022-12-18 15:12:33 -06:00
StyleCI Bot
a73be25a76 Apply fixes from StyleCI 2022-12-18 21:08:41 +00:00
Matt Stauffer
efa7937038 Update drivers location and loading
- Extract much of server.php into a `Server` class
- Move all but the Laravel and Basic drivers into a subfolder
- Load all but the Laravel and Basic drivers via glob
- Add `beforeLoading` hook to simplify the `frontControllerPath` method for some drivers
2022-12-18 15:08:17 -06:00
Matt Stauffer
29b94a48a6 Move server helpers to their own file; add type hints 2022-12-15 21:34:48 -06:00
Matt Stauffer
a2712e6d8f Merge pull request #1311 from laravel/mes/version-4
Re-work how BasicValetDriver serves files in projects with and without `public/` directory
2022-12-15 17:29:30 -05:00
Matt Stauffer
e67086d7e1 Bump version 2022-12-08 13:01:47 -05:00
Matt Stauffer
1684068382 Refactor where legacy drivers are pulled in 2022-12-08 12:45:26 -05:00
Mark Jaquith
8589a6dc4f Fix capitalization in WordPress driver extension 2022-12-08 12:23:14 -05:00
Matt Stauffer
cd05ded9b5 Add legacy drivers for the remainder of v3 2022-12-07 16:10:48 -05:00
Matt Stauffer
fb870548e8 Bump version 2022-12-06 16:29:28 -05:00
Dries Vints
2a8eefe767 version 2022-12-06 17:31:28 +01:00
StyleCI Bot
0c27c62cec Apply fixes from StyleCI 2022-12-03 23:11:03 +00:00
Matt Stauffer
59967c3068 Extract basic driver with public/ from basic driver, and simplify both 2022-12-03 18:10:54 -05:00
StyleCI Bot
1ac4843825 Apply fixes from StyleCI 2022-12-03 03:32:26 +00:00
Matt Stauffer
e247533a09 Handle old custom Valet drivers 2022-12-02 22:32:13 -05:00
Matt Stauffer
884c39d70b Test, and fix, ValetDriver 2022-12-02 22:10:04 -05:00
Matt Stauffer
6237763a46 Merge branch 'master' into mes/test-drivers 2022-12-02 21:16:30 -05:00
StyleCI Bot
e952fa59cb Apply fixes from StyleCI 2022-12-03 02:15:35 +00:00
Matt Stauffer
711e3dd2ba Move all drivers to PSR autoload, and write tests 2022-12-02 21:15:15 -05:00
StyleCI Bot
40d54b301c Apply fixes from StyleCI 2022-12-02 18:02:23 +00:00
Matt Stauffer
04b14cf9d1 Call writer() in lifecycle hook
Thanks to @dragoonis, we were able to simplify the calls to writer() down to a single lifecycle hook.

Co-Authored-By: Jacob Baker-Kretzmar <bakerkretzmar@users.noreply.github.com>
Co-Authored-By: Andy Newhouse <hi@andymnewhouse.me>
Co-Authored-By: Tony Messias <tonyzrp@gmail.com>
2022-12-02 13:02:14 -05:00
Dries Vints
a0e1e02a47 Test Valet commands (#1256)
* First attempt at testing CLI commands

* Apply fixes from StyleCI

* Protect from running locally

* Fix test

* wip

* wip

* wip

* wip

* wip

* Update app.php

* Create config folder and files for CLI tests

* Apply fixes from StyleCI

* Fix some formatting

* Fix imports

* Update all output() calls to use the writer passed in by the command

Ugly capture of all $outputs from commands, by passing them into `writer()` to be bound into the container, where they can then be pulled out from calls to `output()` and its buddies `info()`, `table()`, and `warning()`.

* Apply fixes from StyleCI

* Flesh out park command test

* Apply fixes from StyleCI

* Drop php 7.0 and 7.1

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Matt Stauffer <matt@tighten.co>
2022-12-02 09:32:28 +01:00
Matt Stauffer
9216b9a87b Merge pull request #1079 from mattkingshott/patch-1
Prevent 502 errors when using AJAX
2022-12-01 20:37:48 -05:00
StyleCI Bot
e02b5f3025 Apply fixes from StyleCI 2022-12-02 01:32:31 +00:00
Matt Stauffer
b7d6bd4611 Merge branch 'master' of github.com:laravel/valet 2022-12-01 20:32:13 -05:00
Matt Stauffer
5b3433e806 Merge branch 'patch-1' of https://github.com/JoshuaBehrens/valet into JoshuaBehrens-patch-1 2022-12-01 20:28:51 -05:00
Matt Stauffer
8246ee6319 Merge pull request #1238 from jjpmann/feature/custom-site-stubs
use getStub to allow custom stub files
2022-12-01 20:25:41 -05:00
StyleCI Bot
12c70c033d Apply fixes from StyleCI 2022-12-01 15:55:41 +00:00
Matt Stauffer
3ccbd0cfcc Merge pull request #514 from KorvinSzanto/patch-3
Set files path as a static path for concrete5 driver
2022-12-01 10:55:25 -05:00
Matt Stauffer
8fb9b8e738 Merge pull request #1305 from ashleyshenton/fix/retain-secure-proxies
fix: retain secure proxies
2022-11-30 22:08:02 -05:00
Matt Stauffer
11cb9ce61d Merge pull request #1297 from ErikDohmen/bugfix/1295-fix-tld-removal-only-if-at-end
When formatting provided site name, only remove .tld if it's at the end
2022-11-30 22:04:46 -05:00
Ashley Shenton
566729b603 fix: check for the secure proxy stub when resecuring with a fresh config 2022-11-29 13:27:58 +00:00