Matt Stauffer
e5e0e03799
Add a bunch more CLI command tests ( #1332 )
...
* Wip some cli tests
* Apply fixes from StyleCI
* Test parked command
* Test forget command
* Update Filesystem::rmDirAndContents to respect symlinks
* Wip cli commands
* Apply fixes from StyleCI
* Test link command, unlink command, and secure command
* Apply fixes from StyleCI
* Add tests for unsecure, unsecure --all, secured commands
Add placeholders for the remaining CLI commands
Add nginx::restart to unsecure --all command
Co-authored-by: StyleCI Bot <bot@styleci.io >
2022-12-30 15:07:34 -05:00
Matt Stauffer
976339f898
Support isolated sites running PHP 7.4
2022-12-26 09:47:58 -05:00
Matt Stauffer
37099a6edb
Fix site::unlink method signature and docblock
2022-12-26 00:01:55 -05:00
Matt Stauffer
f13be53b9f
Clean up DX for fetch-share-url
2022-12-25 23:59:25 -05:00
Matt Stauffer
5988c4f881
Drop extensions
2022-12-25 23:30:08 -05:00
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