Skip to content

Commit 4e9415d

Browse files
committed
[pt_BR] Update for 4.7.3
1 parent 89210a7 commit 4e9415d

3 files changed

Lines changed: 4 additions & 41 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,6 @@
11
<?php
22

3-
declare(strict_types=1);
4-
5-
/**
6-
* This file is part of CodeIgniter 4 framework.
7-
*
8-
* (c) CodeIgniter Foundation <admin@codeigniter.com>
9-
*
10-
* For the full copyright and license information, please view
11-
* the LICENSE file that was distributed with this source code.
12-
*/
13-
143
use CodeIgniter\CodingStandard\CodeIgniter4;
154
use Nexus\CsConfig\Factory;
16-
use PhpCsFixer\Finder;
17-
18-
$finder = Finder::create()
19-
->files()
20-
->in([__DIR__])
21-
->append([
22-
__FILE__,
23-
'.github/scripts/continuous-integration',
24-
'.github/scripts/update-license',
25-
'bin/generate-changelog',
26-
'bin/generate-page',
27-
'bin/test',
28-
'bin/update-en-comments',
29-
]);
30-
31-
$overrides = [
32-
'declare_strict_types' => ['preserve_existing_declaration' => false],
33-
];
34-
35-
$options = [
36-
'finder' => $finder,
37-
'usingCache' => true,
38-
];
395

40-
return Factory::create(new CodeIgniter4(), $overrides, $options)->forLibrary(
41-
'CodeIgniter 4 framework',
42-
'CodeIgniter Foundation',
43-
'admin@codeigniter.com',
44-
);
6+
return Factory::create(new CodeIgniter4())->forProjects();

Language/pt-BR/Cache.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
// Cache language settings
1515
return [
1616
'unableToWrite' => 'O cache está incapaz de escrever em "{0}"', // 'Cache unable to write to "{0}".',
17-
'invalidHandlers' => 'A configuração de cache deve ter uma array de $validHandlers.', // 'Cache config must have an array of $validHandlers.',
17+
'invalidHandler' => 'O driver de cache "{0}" não é um manipulador de cache válido.', // 'Cache driver "{0}" is not a valid cache handler.',
18+
'invalidHandlers' => 'A configuração de cache deve ter uma array de $validHandlers.', // 'Cache config must have an array of $validHandlers.',
1819
'noBackup' => 'A configuração de cache deve ter um handler e um backupHandler definido.', // 'Cache config must have a handler and backupHandler set.',
1920
'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.',
2021
];

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"require-dev": {
1717
"ext-tokenizer": "*",
18-
"codeigniter/coding-standard": "^1.7",
18+
"codeigniter/coding-standard": "^1.8",
1919
"codeigniter4/codeigniter4": "dev-develop",
2020
"friendsofphp/php-cs-fixer": "^3.53",
2121
"nexusphp/cs-config": "^3.22",

0 commit comments

Comments
 (0)