From 20fd828e02b5a4ad53357d9ef2e22b591f69bdd4 Mon Sep 17 00:00:00 2001 From: Michael Martins Date: Wed, 24 Jun 2026 20:17:54 -0300 Subject: [PATCH] [pt_BR] Update for 4.7.3 --- .php-cs-fixer.dist.php | 40 +--------------------------------------- Language/pt-BR/Cache.php | 1 + composer.json | 2 +- 3 files changed, 3 insertions(+), 40 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index a4105eb9..5d245e4d 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,44 +1,6 @@ - * - * 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(); diff --git a/Language/pt-BR/Cache.php b/Language/pt-BR/Cache.php index 56d8f9e6..61cfed19 100644 --- a/Language/pt-BR/Cache.php +++ b/Language/pt-BR/Cache.php @@ -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.', diff --git a/composer.json b/composer.json index 4f5ad84e..08e7f9b9 100644 --- a/composer.json +++ b/composer.json @@ -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",