You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flight/commands/ControllerCommand.php
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,16 +29,24 @@ public function __construct(array $config)
29
29
publicfunctionexecute(string$controller)
30
30
{
31
31
$io = $this->app()->io();
32
-
if (isset($this->config['app_root']) === false) {
33
-
$io->error('app_root not set in .runway-config.json', true);
32
+
33
+
if (empty($this->config['runway'])) {
34
+
$io->warn('Using a .runway-config.json file is deprecated. Move your config values to app/config/config.php with `php runway config:migrate`.', true); // @codeCoverageIgnore
Copy file name to clipboardExpand all lines: flight/commands/RouteCommand.php
+12-7Lines changed: 12 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -41,16 +41,21 @@ public function execute()
41
41
{
42
42
$io = $this->app()->io();
43
43
44
-
if (isset($this->config['index_root']) === false) {
45
-
$io->error('index_root not set in .runway-config.json', true);
44
+
if (empty($this->config['runway'])) {
45
+
$io->warn('Using a .runway-config.json file is deprecated. Move your config values to app/config/config.php with `php runway config:migrate`.', true); // @codeCoverageIgnore
@@ -478,7 +478,7 @@ public function negotiateContentType(array $supported): ?string
478
478
/**
479
479
* Retrieves the array of uploaded files.
480
480
*
481
-
* @return array<string, UploadedFile|array<int, UploadedFile>> Key is field name; value is either a single UploadedFile or an array of UploadedFile when multiple were uploaded.
481
+
* @return array<string, UploadedFile|array<int, UploadedFile>> Key is field name; value is either a single UploadedFile or an array of UploadedFile when multiple were uploaded.
0 commit comments