Nasir Uddin Nobin
d198d7739c
wip - refactor with valetphprc version ( #10 )
2022-03-30 03:48:03 +06:00
NasirNobin
0202f7773a
remove static from normalizePhpVersion
2022-03-29 23:17:32 +06:00
NasirNobin
dd8c8fc663
add normalizePhpVersion inside getPhpExecutablePath
2022-03-29 09:10:07 +06:00
NasirNobin
1838945f57
Fix typo on arePhpVersionsEqual
2022-03-29 09:01:22 +06:00
Nasir Uddin Nobin
40cb21ec91
Apply suggestions from code review
...
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com >
2022-03-29 08:56:01 +06:00
Nasir Uddin Nobin
9a9f73faf9
Update cli/Valet/Brew.php
2022-03-24 18:21:50 +06:00
NasirNobin
23aebbe1d9
StyleCI Patch
2022-03-24 05:17:13 +06:00
Nasir Uddin Nobin
6d3d191f44
[wip] Valet run/refactor with brew opt ( #9 )
2022-03-24 05:15:45 +06:00
NasirNobin
6f085bc70e
StyleCI Patch
2022-03-23 04:13:00 +06:00
Nasir Uddin Nobin
faeee5eb9a
Apply suggestions from code review
2022-03-23 02:02:49 +06:00
NasirNobin
ca2924daca
Self code review
2022-03-23 01:35:30 +06:00
NasirNobin
720fed1a43
refactor code & tests
2022-03-22 19:07:45 +06:00
NasirNobin
1824ae4989
wip
2022-03-22 16:25:26 +06:00
NasirNobin
4f098a8028
refactor with which-php command
2022-03-22 15:26:53 +06:00
NasirNobin
09f3d3e392
wip
2022-03-22 02:02:12 +06:00
NasirNobin
b7880793a9
wip
2022-03-22 01:52:51 +06:00
NasirNobin
3d85b44e6a
wip
2022-03-22 01:47:37 +06:00
NasirNobin
794fbc0c57
wip
2022-03-22 01:10:06 +06:00
Matt Stauffer
29b2f45719
Add --site to isolate and unisolate commands
...
- Add --site to isolate
- Add --site to unisolate
- Refactor some tests
- Update Site@getSiteUrl to throw an exception instead of returning false
- Fix a few minor typos/grammatical issues
2022-03-21 01:25:23 -04:00
Matt Stauffer
c8e70396e4
Specifically look for cert files in secured() method.
...
Fixes #1210
2022-03-17 13:08:22 -04:00
NasirNobin
9fdc02021a
Fix Homebrew PHP default www pools issue
2022-03-16 19:12:44 +06:00
Matt Stauffer
b09a9163fa
Inline site check in unisolate command
2022-03-14 15:02:16 -04:00
Matt Stauffer
b1d9b2b669
Clean up
2022-03-14 15:00:05 -04:00
Matt Stauffer
383aa62137
Change magic isolation config string to "ISOLATED_PHP_VERSION"
...
Co-Authored-By: Jacob Baker-Kretzmar <18192441+bakerkretzmar@users.noreply.github.com >
2022-03-14 14:40:45 -04:00
Matt Stauffer
e4c7a9b3e5
Symlink valet.sock *after* restarting so it's not deleted by restarting PHP-FPM
...
Co-Authored-By: Jacob Baker-Kretzmar <18192441+bakerkretzmar@users.noreply.github.com >
2022-03-14 14:22:37 -04:00
Matt Stauffer
b8885a4115
Move deleting valet.sock into install()
...
Co-Authored-By: Jacob Baker-Kretzmar <18192441+bakerkretzmar@users.noreply.github.com >
2022-03-14 14:10:49 -04:00
Matt Stauffer
17cda5dc79
Drop todos
2022-03-14 13:58:52 -04:00
Matt Stauffer
984d7eb699
Add PHP Version to the isolated command
2022-03-14 13:41:48 -04:00
Matt Stauffer
118e0a3692
Update str_contains to strpos
2022-03-14 12:55:20 -04:00
Matt Stauffer
3cdb7c78f4
Drop space before colon in magic isolation string
2022-03-14 12:42:11 -04:00
StyleCI Bot
9b8c41e3d3
Apply fixes from StyleCI
2022-03-14 04:16:45 +00:00
Matt Stauffer
95aa03977c
Add command to list isolated sites
2022-03-14 00:16:36 -04:00
StyleCI Bot
fd47384768
Apply fixes from StyleCI
2022-03-14 02:18:58 +00:00
Matt Stauffer
4ab6f46870
Merge branch 'mes/symlink-valet-socks' of github.com:laravel/valet into mes/symlink-valet-socks
2022-03-13 22:18:47 -04:00
Matt Stauffer
530e4c30dd
Update normalizePhpVersion regex
...
Handle "php@8.1"
Simplify the entire method into one block
Co-Authored-By: Nathan Morgan <nathan@fuelingtheweb.com >
2022-03-13 22:17:50 -04:00
Matt Stauffer
7226da5bb7
Update valet.sock symlink
2022-03-13 22:17:11 -04:00
StyleCI Bot
89fd8bc30b
Apply fixes from StyleCI
2022-03-13 04:29:11 +00:00
Matt Stauffer
51742b3795
Make primary valet.sock a symlink to an existing version
2022-03-12 23:29:01 -05:00
Matt Stauffer
3570c748a0
Clean up PhpFPM readability
2022-03-12 22:37:57 -05:00
Matt Stauffer
592354877d
Rename isolateDirectory
2022-03-12 22:28:25 -05:00
StyleCI Bot
0a677e2d53
Apply fixes from StyleCI
2022-03-12 05:23:47 +00:00
Matt Stauffer
5aa253ad6d
Move string concat to one line
2022-03-12 00:23:35 -05:00
Matt Stauffer
55c7dcb99d
Move string concat to one line
2022-03-12 00:23:00 -05:00
Matt Stauffer
33c797f9ef
Drop need to pass sock to isolate command
2022-03-12 00:20:40 -05:00
StyleCI Bot
e797774ade
Apply fixes from StyleCI
2022-03-12 05:06:07 +00:00
Matt Stauffer
eefc06b07f
Drop PHP 5.6; extract site-specific PHP version isolation to its own commands
2022-03-12 00:05:51 -05:00
Nasir Uddin Nobin
9a5d30bb69
Tests for Parallel PHP Version Support
2022-02-18 15:14:57 +06:00
Nasir Uddin Nobin
cc41e3c19f
Update cli/Valet/PhpFpm.php
...
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com >
2022-02-18 05:59:22 +06:00
NasirNobin
3c8336791f
Apply more suggestions from code review
2022-02-16 11:29:51 +06:00
Nasir Uddin Nobin
49ca4ae467
Apply suggestions from code review
...
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com >
2022-02-16 11:21:41 +06:00