FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Geocoder/phpunit at master · geocoder-php/Geocoder · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
geocoder-php
/
Geocoder
Public
Notifications
You must be signed in to change notification settings
Fork
524
Star
4k
Code
Issues
49
Pull requests
14
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
Geocoder
/
phpunit
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
18 lines (16 loc) · 468 Bytes
Breadcrumbs
Geocoder
/
phpunit
Copy path
File metadata and controls
executable file
·
18 lines (16 loc) · 468 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env php
<?php
$
found
=
false
;
$
candidates
= [
\getcwd
(),
__DIR__
];
// Find a good path
foreach
(
$
candidates
as
$
path
) {
if
(
file_exists
(
$
path
.
'
/vendor/phpunit/phpunit/phpunit
'
)) {
require
$
path
.
'
/vendor/phpunit/phpunit/phpunit
'
;
$
found
=
true
;
break
;
}
}
if
(!
$
found
) {
echo
"
Unable to find the `PHPUnit` script in `vendor/phpunit/phpunit/`.
\n
Please run `composer update` before running this command.
\n"
;
exit
(
1
);
}
Back
|
FazBrowse Home
|
New Git URL