Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F1692175
/usr/local/bin/phpunit
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Feb 9 2022, 17:30
2022-02-09 17:30:58 (UTC+0)
Size
280 B
Referenced Files
None
Subscribers
None
/usr/local/bin/phpunit
View Options
#!/bin/sh
# Case 1 - phpunit from Composer
if
[
-f vendor/bin/phpunit
]
;
then
echo
"Switching to Composer phpunit:"
PHPUNIT
=
vendor/bin/phpunit
elif
[
-f /opt/phpunit
]
;
then
PHPUNIT
=
/opt/phpunit
else
echo
"No phpunit has been found."
exit
1
fi
$PHPUNIT
"
$@
"
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
930988
Default Alt Text
/usr/local/bin/phpunit (280 B)
Attached To
Mode
P299 /usr/local/bin/phpunit
Attached
Detach File
Event Timeline
Log In to Comment