File tree Expand file tree Collapse file tree 5 files changed +20
-9
lines changed Expand file tree Collapse file tree 5 files changed +20
-9
lines changed Original file line number Diff line number Diff line change
1
+ C:37:"PHPUnit\Runner\DefaultTestResultCache":2968:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:26:{s:81:"HighSolutions\LaravelEnvironments\Test\CopyCommandTest::copy_existing_environment";d:0.894;s:89:"HighSolutions\LaravelEnvironments\Test\CopyCommandTest::not_copy_not_existing_environment";d:0.051;s:99:"HighSolutions\LaravelEnvironments\Test\CopyCommandTest::not_copy_when_has_to_overwrite_not_intended";d:0.063;s:96:"HighSolutions\LaravelEnvironments\Test\CopyCommandTest::copy_when_has_to_overwrite_when_intended";d:0.084;s:90:"HighSolutions\LaravelEnvironments\Test\CopyCommandTest::copy_environment_with_nested_files";d:0.105;s:80:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::create_new_environment";d:0.062;s:81:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::create_two_environments";d:0.071;s:92:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::not_overwrite_existing_environment";d:0.059;s:103:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::overwrite_existing_environment_when_intend_to";d:0.062;s:138:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::overwrite_existing_environment_when_intend_to_but_not_delete_stored_filed_before";d:0.053;s:98:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::created_environment_contains_copied_file";d:0.061;s:126:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::created_environment_without_overwriting_contains_old_version_of_file";d:0.057;s:123:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::created_environment_with_overwriting_contains_new_version_of_file";d:0.069;s:99:"HighSolutions\LaravelEnvironments\Test\CreateCommandTest::created_environment_contains_copied_files";d:0.087;s:81:"HighSolutions\LaravelEnvironments\Test\ListCommandTest::list_existing_environment";d:0.066;s:87:"HighSolutions\LaravelEnvironments\Test\ListCommandTest::list_existing_many_environments";d:0.088;s:78:"HighSolutions\LaravelEnvironments\Test\MakeCommandTest::create_new_environment";d:0.071;s:97:"HighSolutions\LaravelEnvironments\Test\MakeCommandTest::overwrite_existing_environment_by_default";d:0.074;s:85:"HighSolutions\LaravelEnvironments\Test\RemoveCommandTest::remove_existing_environment";d:0.05;s:93:"HighSolutions\LaravelEnvironments\Test\RemoveCommandTest::not_remove_not_existing_environment";d:0.046;s:76:"HighSolutions\LaravelEnvironments\Test\SetCommandTest::set_empty_environment";d:0.049;s:84:"HighSolutions\LaravelEnvironments\Test\SetCommandTest::set_environment_with_one_file";d:0.077;s:90:"HighSolutions\LaravelEnvironments\Test\SetCommandTest::set_environment_with_multiple_files";d:0.113;s:90:"HighSolutions\LaravelEnvironments\Test\SetCommandTest::sequentional_environment_activation";d:0.096;s:112:"HighSolutions\LaravelEnvironments\Test\SetCommandTest::set_env_without_one_of_files_and_delete_this_missing_file";d:0.087;s:134:"HighSolutions\LaravelEnvironments\Test\SetCommandTest::set_env_without_one_of_files_and_not_delete_this_missing_file_because_of_config";d:0.081;}}}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Or by adding the following line to the `require` section of your Laravel webapp'
20
20
21
21
``` javascript
22
22
" require" : {
23
- " HighSolutions/laravel-environments" : " 2 .*"
23
+ " HighSolutions/laravel-environments" : " 3 .*"
24
24
}
25
25
```
26
26
@@ -132,6 +132,9 @@ vendor/bin/phpunit
132
132
Changelog
133
133
---------
134
134
135
+ 3.0.0
136
+ * Laravel 5.8 and 6.0 support
137
+
135
138
2.2.0
136
139
* Change name of config file from ` config/laravel-environments.php ` to ` config/environments.php `
137
140
Original file line number Diff line number Diff line change 11
11
"license" : " MIT" ,
12
12
"require" : {
13
13
"php" : " >=5.4.0" ,
14
- "illuminate/console" : " 5.*" ,
15
- "illuminate/support" : " 5.*"
14
+ "illuminate/console" : " 5.*|^6.0 " ,
15
+ "illuminate/support" : " 5.*|^6.0 "
16
16
},
17
17
"require-dev" : {
18
- "phpunit/phpunit" : " 6.*|7.*" ,
19
- "orchestra/testbench" : " 3 .*" ,
18
+ "phpunit/phpunit" : " 6.*|7.*|8.* " ,
19
+ "orchestra/testbench" : " 4 .*" ,
20
20
"mockery/mockery" : " ^1.0"
21
21
},
22
22
"autoload" : {
44
44
" Laravel 5.3" ,
45
45
" Laravel 5.4" ,
46
46
" Laravel 5.5" ,
47
- " Laravel 5.6"
47
+ " Laravel 5.6" ,
48
+ " Laravel 5.7" ,
49
+ " Laravel 5.8" ,
50
+ " Laravel 6.0"
48
51
],
49
52
"laravel" : {
50
53
"providers" : [
Original file line number Diff line number Diff line change 8
8
convertWarningsToExceptions =" true"
9
9
processIsolation =" false"
10
10
stopOnFailure =" false"
11
- syntaxCheck =" false"
12
11
>
13
12
<testsuites >
14
13
<testsuite name =" Package Test Suite" >
Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ protected function basePath()
45
45
return $ this ->getTempDirectory ('__base__ ' );
46
46
}
47
47
48
- public function setUp ()
48
+ public function setUp (): void
49
49
{
50
50
parent ::setUp ();
51
51
52
52
File::cleanDirectory (config ('environments.path ' ));
53
53
}
54
54
55
- public function tearDown ()
55
+ public function tearDown (): void
56
56
{
57
57
File::cleanDirectory (config ('environments.path ' ));
58
58
}
@@ -89,4 +89,9 @@ protected function assertNestedArrayContains($search, $array)
89
89
90
90
$ this ->fail ("Failed asserting that an array contains ' $ search'. " );
91
91
}
92
+
93
+ public function artisan ($ command , $ params = [])
94
+ {
95
+ return \Artisan::call ($ command , $ params );
96
+ }
92
97
}
You can’t perform that action at this time.
0 commit comments