Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Cache;

use CodeIgniter\Cache\CacheFactory;
use CodeIgniter\Cache\Handlers\FileHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Cache;

use CodeIgniter\Cache\CacheFactory;
use CodeIgniter\Test\CIUnitTestCase;
Expand Down
2 changes: 2 additions & 0 deletions tests/system/Commands/CreateDatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
use PHPUnit\Framework\Attributes\Group;

/**
* @todo To figure out how to transfer this test to `tests/system/Commands/Database/` without breaking DatabaseLive group.
*
* @internal
*/
#[Group('DatabaseLive')]
Expand Down
2 changes: 2 additions & 0 deletions tests/system/Commands/DatabaseCommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
use PHPUnit\Framework\Attributes\Group;

/**
* @todo To figure out how to transfer this test to `tests/system/Commands/Database/` without breaking DatabaseLive group.
*
* @internal
*/
#[Group('DatabaseLive')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Encryption;

use CodeIgniter\Config\Services;
use CodeIgniter\Superglobals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\CLI\CLI;
use CodeIgniter\Test\CIUnitTestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Generators;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Housekeeping;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Housekeeping;

use CodeIgniter\CLI\CLI;
use CodeIgniter\Test\CIUnitTestCase;
Expand Down
2 changes: 2 additions & 0 deletions tests/system/Commands/MigrationIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
use PHPUnit\Framework\Attributes\Group;

/**
* @todo To figure out how to transfer this test to `tests/system/Commands/Database/` without breaking DatabaseLive group.
*
* @internal
*/
#[Group('DatabaseLive')]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Utilities;

use CodeIgniter\Config\Services;
use CodeIgniter\Superglobals;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Utilities;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Utilities;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Utilities;

use CodeIgniter\Router\RouteCollection;
use CodeIgniter\Test\CIUnitTestCase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* the LICENSE file that was distributed with this source code.
*/

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Worker;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
Expand Down
2 changes: 1 addition & 1 deletion utils/phpstan-baseline/argument.type.neon
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ parameters:
-
message: '#^Parameter \#2 \$mock of static method CodeIgniter\\Config\\BaseService\:\:injectMock\(\) expects object, null given\.$#'
count: 4
path: ../../tests/system/Commands/RoutesTest.php
path: ../../tests/system/Commands/Utilities/RoutesTest.php

-
message: '#^Parameter \#1 \$expected of method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) expects class\-string\<Config\\TestRegistrar\>, string given\.$#'
Expand Down
10 changes: 5 additions & 5 deletions utils/phpstan-baseline/ternary.shortNotAllowed.neon
Original file line number Diff line number Diff line change
Expand Up @@ -85,27 +85,27 @@ parameters:
-
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
count: 1
path: ../../tests/system/Commands/CellGeneratorTest.php
path: ../../tests/system/Commands/Generators/CellGeneratorTest.php

-
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
count: 1
path: ../../tests/system/Commands/CommandGeneratorTest.php
path: ../../tests/system/Commands/Generators/CommandGeneratorTest.php

-
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
count: 1
path: ../../tests/system/Commands/ControllerGeneratorTest.php
path: ../../tests/system/Commands/Generators/ControllerGeneratorTest.php

-
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
count: 1
path: ../../tests/system/Commands/ModelGeneratorTest.php
path: ../../tests/system/Commands/Generators/ModelGeneratorTest.php

-
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
count: 1
path: ../../tests/system/Commands/ScaffoldGeneratorTest.php
path: ../../tests/system/Commands/Generators/ScaffoldGeneratorTest.php

-
message: '#^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$#'
Expand Down
Loading