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
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
->append([
__FILE__,
__DIR__ . '/rector.php',
__DIR__ . '/psalm_autoload.php',
]);

$overrides = [
Expand Down
9 changes: 9 additions & 0 deletions psalm_autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

declare(strict_types=1);

/**
* This file is part of CodeIgniter Shield.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/

require __DIR__ . '/vendor/codeigniter4/framework/system/Test/bootstrap.php';

$helperDirs = [
Expand Down
2 changes: 1 addition & 1 deletion tests/Language/AbstractTranslationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ final public function testAllLocalizationParametersAreNotTranslated(string $loca

foreach ($matches as $match) {
foreach ($match as $parameter) {
if (strpos($translated[$key], (string) $parameter) === false) {
if (strpos($translated[$key], $parameter) === false) {
$id = sprintf('%s.%s', substr($file, 0, -4), $key);

$diffs[$id] ??= [];
Expand Down
Loading