Skip to content
Open
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\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\Cache;

use CodeIgniter\Cache\CacheFactory;
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\Database;

use CodeIgniter\Database\BaseConnection;
use CodeIgniter\Database\OCI8\Connection as OCI8Connection;
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\Database;

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

namespace CodeIgniter\Commands;
namespace CodeIgniter\Commands\Database;

use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\StreamFilterTrait;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;

/**
* @internal
*/
#[Group('DatabaseLive')]
#[RunTestsInSeparateProcesses]
final class MigrationIntegrationTest extends CIUnitTestCase
{
use 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\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
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