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
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
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
Ashley Shenton
566729b603
fix: check for the secure proxy stub when resecuring with a fresh config
2022-11-29 13:27:58 +00:00
Erik | Sobit
3dbecab9dd
added missing )
2022-11-11 09:42:06 +01:00
Erik Dohmen
753f2db745
Update cli/Valet/Site.php
...
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com >
2022-11-11 09:37:38 +01:00
Erik | Sobit
2d429c353d
solution for only remove the tld if it is at the end of the site name
...
o check if tld is at the end of the site name and if so remove it
o added corresponding test
2022-11-02 11:53:04 +01:00
NasirNobin
305736bd76
Valet fetch-share-url issue fix ( #1285 )
...
* valet fetch-share-url issue fix
* StyleCI patch
2022-10-24 14:41:39 +02:00
Dries Vints
d0d42acff7
PHP 8.2 support ( #1279 )
...
* PHP 8.2 support
* wip
* Apply fixes from StyleCI
* wip
* wip
* wip
* Update tests.yml
Co-authored-by: StyleCI Bot <bot@styleci.io >
2022-09-08 13:37:17 +02:00
Jerry Price
e668e77f3d
Merge branch 'master' into feature/custom-site-stubs
2022-07-08 09:21:51 -04:00
Dries Vints
0208251cee
Revert ngrok arm binary ( #1258 )
2022-05-26 14:18:06 +02:00