1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 16:10:08 +01:00
Commit Graph

1677 Commits

Author SHA1 Message Date
Matt Stauffer
3c3dc8225f Require PHP 8.0 2022-12-18 15:19:10 -06:00
Matt Stauffer
fbf2acbf13 Resolve merge 2022-12-18 15:16:15 -06:00
Matt Stauffer
400be90585 Resolve merge 2022-12-18 15:15:24 -06:00
StyleCI Bot
2e9978e796 Apply fixes from StyleCI 2022-12-18 21:12:47 +00:00
Matt Stauffer
c1a7bbe8f3 Merge branch 'version-4' of github.com:laravel/valet into version-4 2022-12-18 15:12:33 -06:00
Matt Stauffer
c46f7e6971 Merge branch 'mes/extract-server-class' of github.com:laravel/valet into mes/extract-server-class 2022-12-18 15:11:46 -06:00
Matt Stauffer
4a8b0e73e2 Add additional notes to upgrade.md 2022-12-18 15:10:38 -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
f49b1b0e8a Set HTTP_HOST in BaseDriverTest 2022-12-11 13:04:36 -05:00
mattstauffer
b2b0e1d592 Update CHANGELOG 2022-12-08 18:03:33 +00:00
Matt Stauffer
e67086d7e1 Bump version v3.2.2 2022-12-08 13:01:47 -05:00
Matt Stauffer
c9686709b4 Merge pull request #1315 from laravel/mes/legacy-drivers
Add legacy drivers for the remainder of v3
2022-12-08 13:00:53 -05:00
Matt Stauffer
1684068382 Refactor where legacy drivers are pulled in 2022-12-08 12:45:26 -05:00
Matt Stauffer
1bbe795190 Merge pull request #1317 from markjaquith/mes/legacy-drivers
Fix legacy driver alias implementation
2022-12-08 12:34:46 -05:00
Mark Jaquith
8589a6dc4f Fix capitalization in WordPress driver extension 2022-12-08 12:23:14 -05:00
Mark Jaquith
ba46c7aff1 Require legacy files when loading the server 2022-12-08 12:22:17 -05:00
Matt Stauffer
cd05ded9b5 Add legacy drivers for the remainder of v3 2022-12-07 16:10:48 -05:00
mattstauffer
e2607879ee Update CHANGELOG 2022-12-06 21:33:06 +00:00
Matt Stauffer
fb870548e8 Bump version v3.2.1 2022-12-06 16:29:28 -05:00
Matt Stauffer
35998a0f86 Move test file autoloading to autoload-dev 2022-12-06 16:29:02 -05:00
driesvints
9781bbf50b Update CHANGELOG 2022-12-06 16:32:52 +00:00
Dries Vints
2a8eefe767 version v3.2.0 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
Matt Stauffer
05150d50ad Drop references to defunct xip.io 2022-12-03 16:23:38 -05:00
Matt Stauffer
1ed1418369 Merge 2022-12-02 22:35:24 -05:00
Matt Stauffer
4276c30d26 Drop duplicated code 2022-12-02 22:35:04 -05:00
Matt Stauffer
b53b821b90 Increase possible matches for EventDispatcher 2022-12-02 22:34:14 -05:00
StyleCI Bot
1ac4843825 Apply fixes from StyleCI 2022-12-03 03:32:26 +00:00
Matt Stauffer
1da0103437 Merge branch 'master' of github.com:laravel/valet 2022-12-02 22:32:15 -05:00
Matt Stauffer
e247533a09 Handle old custom Valet drivers 2022-12-02 22:32:13 -05:00
StyleCI Bot
9f03a755f5 Apply fixes from StyleCI 2022-12-03 03:10:15 +00:00
Matt Stauffer
884c39d70b Test, and fix, ValetDriver 2022-12-02 22:10:04 -05:00
Matt Stauffer
ee68152c2f Add Matt Stauffer to authors list 2022-12-02 21:35:14 -05:00
Matt Stauffer
800a69bed4 Merge pull request #1310 from laravel/mes/test-drivers
Move all drivers to PSR autoload, and write tests for drivers
2022-12-02 21:27:32 -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
fa073a4a50 Merge branch 'JoshuaBehrens-patch-1' 2022-12-01 20:32:06 -05:00
Matt Stauffer
ef151b076e Fix tests to prepend 'disable auto cleanup' env var 2022-12-01 20:31:49 -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