File tree 33 files changed +46
-37
lines changed
33 files changed +46
-37
lines changed Original file line number Diff line number Diff line change 24
24
"php-http/promise" : " ^1.0"
25
25
},
26
26
"require-dev" : {
27
- "phpunit/phpunit" : " 6.3.* " ,
27
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
28
28
"geocoder-php/provider-integration-tests" : " ^1.0" ,
29
29
"geoip2/geoip2" : " ~2.0" ,
30
30
"symfony/stopwatch" : " ~2.5" ,
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env php
2
2
<?php
3
3
4
- if (!file_exists (__DIR__ .'/vendor/phpunit/phpunit/phpunit ' )) {
4
+ $ found = false ;
5
+ $ candidates = [\getcwd (), __DIR__ ];
6
+ // Find a good path
7
+ foreach ($ candidates as $ path ) {
8
+ if (file_exists ($ path .'/vendor/phpunit/phpunit/phpunit ' )) {
9
+ require $ path .'/vendor/phpunit/phpunit/phpunit ' ;
10
+ $ found = true ;
11
+ break ;
12
+ }
13
+ }
14
+
15
+ if (!$ found ) {
5
16
echo "Unable to find the `PHPUnit` script in `vendor/phpunit/phpunit/`. \nPlease run `composer update` before running this command. \n" ;
6
17
exit (1 );
7
18
}
8
-
9
- require __DIR__ .'/vendor/phpunit/phpunit/phpunit ' ;
Original file line number Diff line number Diff line change 15
15
"php" : " ^7.0"
16
16
},
17
17
"require-dev" : {
18
- "phpunit/phpunit" : " 6.3.* " ,
18
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
19
19
"symfony/stopwatch" : " ~2.5" ,
20
20
"nyholm/nsa" : " ^1.1"
21
21
},
Original file line number Diff line number Diff line change 19
19
"php-http/message-factory" : " ^1.0.2" ,
20
20
"psr/http-message-implementation" : " ^1.0" ,
21
21
"php-http/client-implementation" : " ^1.0" ,
22
- "php-http/discovery" : " ^1.4 "
22
+ "php-http/discovery" : " ^1.6 "
23
23
},
24
24
"require-dev" : {
25
- "phpunit/phpunit" : " 6.3.* " ,
25
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
26
26
"symfony/stopwatch" : " ~2.5" ,
27
27
"php-http/message" : " ^1.0" ,
28
28
"php-http/mock-client" : " ^1.0" ,
Original file line number Diff line number Diff line change 19
19
"php-http/promise" : " ^1.0"
20
20
},
21
21
"require-dev" : {
22
- "phpunit/phpunit" : " 6.3.* " ,
22
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
23
23
"cache/void-adapter" : " ^1.0"
24
24
},
25
25
"autoload" : {
Original file line number Diff line number Diff line change 18
18
"willdurand/geocoder" : " ^4.0"
19
19
},
20
20
"require-dev" : {
21
- "phpunit/phpunit" : " 6.3.* " ,
21
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
22
22
"geocoder-php/provider-integration-tests" : " ^1.1" ,
23
23
"php-http/message" : " ^1.0" ,
24
24
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"php-http/message" : " ^1.0" ,
22
22
"php-http/curl-client" : " ^1.7" ,
23
23
"nyholm/nsa" : " ^1.1"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"geoip2/geoip2" : " ~2.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0.1"
22
22
},
23
23
"provide" : {
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.1"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 18
18
"igorw/get-in" : " ^1.0"
19
19
},
20
20
"require-dev" : {
21
- "phpunit/phpunit" : " 6.3.* " ,
21
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
22
22
"geocoder-php/provider-integration-tests" : " ^1.0" ,
23
23
"php-http/message" : " ^1.0" ,
24
24
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0.1"
22
22
},
23
23
"provide" : {
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.1" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.1" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"igorw/get-in" : " ^1.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/common-http" : " ^4.0" ,
22
22
"geocoder-php/provider-integration-tests" : " ^1.0" ,
23
23
"php-http/message" : " ^1.0" ,
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0.1"
22
22
},
23
23
"provide" : {
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
21
- "geocoder-php/provider-integration-tests" : " ^1.0 " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
+ "geocoder-php/provider-integration-tests" : " ^1.2 " ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
24
24
},
Original file line number Diff line number Diff line change 22
22
"geocoder-php/provider-integration-tests" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7" ,
24
24
"php-http/message" : " ^1.0" ,
25
- "phpunit/phpunit" : " 6.3.* "
25
+ "phpunit/phpunit" : " ^6.5 || ^7.5 "
26
26
},
27
27
"autoload" : {
28
28
"psr-4" : {
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"willdurand/geocoder" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
Original file line number Diff line number Diff line change 17
17
"geocoder-php/common-http" : " ^4.0"
18
18
},
19
19
"require-dev" : {
20
- "phpunit/phpunit" : " 6.3.* " ,
20
+ "phpunit/phpunit" : " ^6.5 || ^7.5 " ,
21
21
"geocoder-php/provider-integration-tests" : " ^1.0" ,
22
22
"php-http/message" : " ^1.0" ,
23
23
"php-http/curl-client" : " ^1.7"
You can’t perform that action at this time.
0 commit comments