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
40 changes: 1 addition & 39 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,44 +1,6 @@
<?php

declare(strict_types=1);

/**
* This file is part of CodeIgniter 4 framework.
*
* (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.
*/

use CodeIgniter\CodingStandard\CodeIgniter4;
use Nexus\CsConfig\Factory;
use PhpCsFixer\Finder;

$finder = Finder::create()
->files()
->in([__DIR__])
->append([
__FILE__,
'.github/scripts/continuous-integration',
'.github/scripts/update-license',
'bin/generate-changelog',
'bin/generate-page',
'bin/test',
'bin/update-en-comments',
]);

$overrides = [
'declare_strict_types' => ['preserve_existing_declaration' => false],
];

$options = [
'finder' => $finder,
'usingCache' => true,
];

return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary(
'CodeIgniter 4 framework',
'CodeIgniter Foundation',
'admin@codeigniter.com',
);
return Factory::create(new CodeIgniter4())->forProjects();
1 change: 1 addition & 0 deletions Language/pt-BR/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// Cache language settings
return [
'unableToWrite' => 'O cache está incapaz de escrever em "{0}"', // 'Cache unable to write to "{0}".',
'invalidHandler' => 'O driver de cache "{0}" não é um manipulador de cache válido.', // 'Cache driver "{0}" is not a valid cache handler.',
'invalidHandlers' => 'A configuração de cache deve ter uma array de $validHandlers.', // 'Cache config must have an array of $validHandlers.',
'noBackup' => 'A configuração de cache deve ter um handler e um backupHandler definido.', // 'Cache config must have a handler and backupHandler set.',
'handlerNotFound' => 'A configuração de cache possui um handler ou backup handler inválido na definição.', // 'Cache config has an invalid handler or backup handler specified.',
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"require-dev": {
"ext-tokenizer": "*",
"codeigniter/coding-standard": "^1.7",
"codeigniter/coding-standard": "^1.8",
"codeigniter4/codeigniter4": "dev-develop",
"friendsofphp/php-cs-fixer": "^3.53",
"nexusphp/cs-config": "^3.22",
Expand Down