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

410 Commits

Author SHA1 Message Date
StyleCI Bot
f27fd68a94 Apply fixes from StyleCI 2022-12-23 18:25:07 +00:00
Matt Stauffer
8006649fa4 Better handle new installations 2022-12-23 13:24:58 -05:00
Matt Stauffer
ccd35e5231 Drop exits, fix 404 path 2022-12-22 13:26:47 -05:00
Matt Stauffer
4c67413e7a Allow null response from frontControllerPath 2022-12-22 13:26:02 -05:00
Matt Stauffer
f2a62f51c6 Merge v3 2022-12-22 11:47:01 -05:00
StyleCI Bot
6824065a22 Apply fixes from StyleCI 2022-12-22 15:31:00 +00:00
Matt Stauffer
b200022041 Add set-ngrok-token command 2022-12-22 10:30:50 -05:00
Matt Stauffer
e19afe51ad Clean up NullWriter; drop legacy config check 2022-12-22 00:27:09 -05:00
Matt Stauffer
a77030ab08 Merge branch 'version-4' of github.com:laravel/valet into version-4 2022-12-21 19:57:01 -05:00
Matt Stauffer
d44d23daed Add doc blocks 2022-12-21 19:56:57 -05:00
StyleCI Bot
486fb9b339 Apply fixes from StyleCI 2022-12-22 00:54:25 +00:00
Matt Stauffer
20f48f6eab Replace some \n with PHP_EOL; move custom drivers into Custom namespace 2022-12-21 19:54:13 -05:00
Matt Stauffer
f18070a763 Merge branch 'version-4' of github.com:laravel/valet into version-4 2022-12-21 18:37:01 -05:00
Matt Stauffer
9b09621e5c Move upgrade calls into Upgrader class, and add upgrade to check for old custom drivers 2022-12-21 18:36:58 -05:00
StyleCI Bot
e9e865e8f2 Apply fixes from StyleCI 2022-12-21 22:45:50 +00:00
Matt Stauffer
ab8c4e8c4a Merge branch 'version-4' of github.com:laravel/valet into version-4 2022-12-21 17:45:37 -05:00
Matt Stauffer
65b629db7f Write tests for Server.php 2022-12-21 17:45:34 -05:00
StyleCI Bot
f0f1b57bd8 Apply fixes from StyleCI 2022-12-21 02:51:35 +00:00
Matt Stauffer
75d43a42ea Use constructor promotion 2022-12-20 21:51:15 -05:00
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
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
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
711e3dd2ba Move all drivers to PSR autoload, and write tests 2022-12-02 21:15:15 -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
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