NasirNobin
0267da704e
remove preg_replace deprecation warning
2022-04-16 18:47:38 +06:00
Michael Lehmkuhl
30af32d856
Clean up coding style
2022-04-03 18:44:56 -05:00
Michael Lehmkuhl
315af8904a
Add PHP version to valet links output table
2022-04-03 18:35:51 -05:00
Matt Stauffer
0045896d8e
Merge pull request #1216 from NasirNobin/feature/valet-run
...
PHP version isolation helper for command line
2022-03-31 09:55:22 -04:00
NasirNobin
2acd133f9f
StyleCI Patch
2022-03-30 03:49:06 +06:00
Nasir Uddin Nobin
d198d7739c
wip - refactor with valetphprc version ( #10 )
2022-03-30 03:48:03 +06:00
be57ffaf36
CI fixes
2022-03-29 20:07:19 +02:00
a52355ec49
Restore original directory permissions
...
As discussed in #1220 , cleaning up after stopping Homebrew services that
run as root is probably the best solution for now.
What's changed:
- Stopping any Homebrew service now restores the appropriate permissions
for the Homebrew directories
- Stopping nginx now also happens via $this->brew
(to avoid code duplication)
The tests were updated to reflect this change.
2022-03-29 19:59:33 +02: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
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
Nasir Uddin Nobin
fbf96b9abc
Apply suggestions from code review
...
Co-authored-by: Shifat Hossain <52673893+shifat160@users.noreply.github.com >
2022-03-23 14:16:57 +06:00
NasirNobin
6f085bc70e
StyleCI Patch
2022-03-23 04:13:00 +06:00
Nasir Uddin Nobin
605118d3e4
Update tests/BrewTest.php
2022-03-23 03:46:11 +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
84f59b4890
test readability
2022-03-22 19:44:10 +06:00
NasirNobin
720fed1a43
refactor code & tests
2022-03-22 19:07:45 +06:00
NasirNobin
245c68e708
wip
2022-03-22 17:05:10 +06:00
NasirNobin
d9ebb471b7
tests added
2022-03-22 17:00:24 +06:00
NasirNobin
1824ae4989
wip
2022-03-22 16:25:26 +06:00
Matt Stauffer
7532acef8c
Merge branch 'mes/pass-site-to-isolate-commands' of github.com:laravel/valet into mes/pass-site-to-isolate-commands
2022-03-21 01:34:45 -04:00
Matt Stauffer
6dd536c987
Fix isolation test for CI
2022-03-21 01:34:41 -04:00
StyleCI Bot
94353bc940
Apply fixes from StyleCI
2022-03-21 05:25:37 +00: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
a31fa01931
test for - default www pools disabling
2022-03-16 21:32:01 +06: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
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
021dfe9fa7
Merge branch 'mes/symlink-valet-socks' of github.com:laravel/valet into mes/symlink-valet-socks
2022-03-14 13:59:00 -04:00
Matt Stauffer
17cda5dc79
Drop todos
2022-03-14 13:58:52 -04:00
StyleCI Bot
791a047576
Apply fixes from StyleCI
2022-03-14 17:57:55 +00:00
Matt Stauffer
ce4682f897
Fix PHPFpm tests
...
- Fix the isolated directories test given new table shape
- Updated useVersion test to no longer hit the real filesystem
Co-Authored-By: Jacob Baker-Kretzmar <18192441+bakerkretzmar@users.noreply.github.com >
2022-03-14 13:57:45 -04:00
Matt Stauffer
8590d8eebb
Merge
2022-03-14 12:47:07 -04:00
Matt Stauffer
3cdb7c78f4
Drop space before colon in magic isolation string
2022-03-14 12:42:11 -04:00
StyleCI Bot
38a19291ce
Apply fixes from StyleCI
2022-03-14 16:41:13 +00:00
Matt Stauffer
8f7ea041b6
Test isolatedDirectories
2022-03-14 12:41:04 -04:00
Matt Stauffer
10eeaeaeda
Merge
2022-03-14 11:49:24 -04:00
Matt Stauffer
0e2d1506fb
Add test for secured method
2022-03-14 11:28:55 -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
Matt Stauffer
148eb0174d
Drop test coverage for deprecated method
2022-03-13 22:29:09 -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
51742b3795
Make primary valet.sock a symlink to an existing version
2022-03-12 23:29:01 -05:00
Matt Stauffer
592354877d
Rename isolateDirectory
2022-03-12 22:28:25 -05:00
Matt Stauffer
c5903eed63
Drop config files from new test layout
2022-03-12 00:24:53 -05:00
Matt Stauffer
5aa253ad6d
Move string concat to one line
2022-03-12 00:23:35 -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