Skip to content

Commit 936545c

Browse files
committed
fix: Revert spaces in docs
1 parent 6781ff2 commit 936545c

2 files changed

Lines changed: 29 additions & 29 deletions

File tree

‎docs/changelogs/v4.8.0.md‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ Release Date: Unreleased
6565

6666
- **CLI:** The `Console::run()` method now accepts an optional `array $tokens` parameter. This allows you to pass an array of command tokens directly to the console runner, which is useful for testing or programmatically running commands. If not provided, it will default to using the global `$argv`.
6767

68-
- **CodeIgniter:** The deprecated parameters in methods have been removed:
69-
- `CodeIgniter\CodeIgniter::handleRequest()` no longer accepts the deprecated `$cacheConfig` and `$returnResponse` parameters.
68+
- **CodeIgniter:** The deprecated parameters in methods have been removed:
69+
- `CodeIgniter\CodeIgniter::handleRequest()` no longer accepts the deprecated `$cacheConfig` and `$returnResponse` parameters.
7070
- `$cacheConfig` is no longer used and is now hard deprecated. A deprecation notice will be triggered if this is passed to the method.
7171
- `$returnResponse` has been removed, since it was already deprecated and unused.
7272
- The updated method signature is now `handleRequest(?RouteCollectionInterface $routes, ?Cache $cacheConfig = null)`.
@@ -75,7 +75,7 @@ Release Date: Unreleased
7575

7676
- **Config:** `CodeIgniter\Config\Services::request()` no longer accepts any parameter.
7777

78-
- **Database:** The following methods have had their signatures updated to remove deprecated parameters:
78+
- **Database:** The following methods have had their signatures updated to remove deprecated parameters:
7979
- `CodeIgniter\Database\Forge::_createTable()` no longer accepts the deprecated `$ifNotExists` parameter. The method signature is now `_createTable(string $table, array $attributes)`.
8080

8181
- **HTTP:** `CodeIgniter\HTTP\OutgoingRequest::__construct()` now requires the `$uri` parameter, which was previously `?URI $uri = null`. Passing `null` only worked when a `Host` header was supplied in the same call, since the constructor otherwise dereferences the URI to set that header. Consequently `OutgoingRequest::getUri()` now returns `URI` instead of `URI|null`, matching `OutgoingRequestInterface`. See [Upgrading from 4.7.x to 4.8.0](../installation/upgrade_480.md) for the migration.
@@ -86,41 +86,41 @@ Release Date: Unreleased
8686

8787
### Property Scope Changes
8888

89-
- **HTTP:** The following properties have changed their scope (visibility):
89+
- **HTTP:** The following properties have changed their scope (visibility):
9090
- `CodeIgniter\HTTP\RequestTrait::$ipAddress` is now private (previously protected).
9191

9292
### Method Scope Changes
9393

9494
- **CLI:** `CodeIgniter\CLI\Commands::getCommandAlternatives()` is now public (previously protected).
9595

96-
- **HTTP:** The following methods have changed their scope (visibility):
96+
- **HTTP:** The following methods have changed their scope (visibility):
9797
- `CodeIgniter\HTTP\URI::setUri()` is now private (previously public).
9898
- `CodeIgniter\HTTP\URI::refreshPath()` is now protected (previously public).
9999
- `CodeIgniter\HTTP\SiteURI::refreshPath()` is now protected (previously public).
100100

101101
### Removed Deprecated Items
102102

103-
- **Autoloader:** Removed the following deprecated methods:
103+
- **Autoloader:** Removed the following deprecated methods:
104104
- `CodeIgniter\Autoloader\Autoloader::sanitizeFileName()`
105105
- `CodeIgniter\Autoloader\Autoloader::discoverComposerNamespaces()`
106106

107107
- **Bootstrap:** The deprecated **system/bootstrap.php** file has been removed.
108108

109-
- **Cache:** Removed the following deprecated methods and constant:
109+
- **Cache:** Removed the following deprecated methods and constant:
110110
- `CodeIgniter\Cache\Handlers\BaseHandler::RESERVED_CHARACTERS` (deprecated since v4.1.5)
111111
- `CodeIgniter\Cache\Handlers\FileHandler::writeFile()` (deprecated since v4.6.0)
112112
- `CodeIgniter\Cache\Handlers\FileHandler::deleteFile()` (deprecated since v4.6.0)
113113
- `CodeIgniter\Cache\Handlers\FileHandler::getDirFileInfo()` (deprecated since v4.6.0)
114114
- `CodeIgniter\Cache\Handlers\FileHandler::getFileInfo()` (deprecated since v4.6.0)
115115

116-
- **CLI:** Removed the following deprecated properties and methods:
116+
- **CLI:** Removed the following deprecated properties and methods:
117117
- `CodeIgniter\CLI\BaseCommand::getPad()`
118118
- `CodeIgniter\CLI\CLI::$readline_support`
119119
- `CodeIgniter\CLI\CLI::$wait_msg`
120120
- `CodeIgniter\CLI\CLI::isWindows()`
121121
- `CodeIgniter\CLI\GeneratorTrait::execute()`
122122

123-
- **CodeIgniter:** Removed the following deprecated properties and methods:
123+
- **CodeIgniter:** Removed the following deprecated properties and methods:
124124
- `CodeIgniter\CodeIgniter::$cacheTTL`
125125
- `CodeIgniter\CodeIgniter::$returnResponse`
126126
- `CodeIgniter\CodeIgniter::initializeKint()`
@@ -136,10 +136,10 @@ Release Date: Unreleased
136136
- `CodeIgniter\CodeIgniter::callExit()`
137137
- `CodeIgniter\Test\MockCodeIgniter::callExit()`
138138

139-
- **Config:** Removed the following deprecated property:
139+
- **Config:** Removed the following deprecated property:
140140
- `CodeIgniter\Config\BaseService::$services` (deprecated since v4.5.0)
141141

142-
- **Database:** Removed the following deprecated properties and methods:
142+
- **Database:** Removed the following deprecated properties and methods:
143143
- `CodeIgniter\Database\BaseBuilder::setInsertBatch()`
144144
- `CodeIgniter\Database\BaseBuilder::setUpdateBatch()`
145145
- `CodeIgniter\Database\BaseBuilder::cleanClone()`
@@ -151,7 +151,7 @@ Release Date: Unreleased
151151
- `CodeIgniter\Database\OCI8\Forge::getError()`
152152
- `CodeIgniter\Database\SQLSRV\Forge::$createTableIfStr`
153153

154-
- **Debug:** Removed the following deprecated properties and methods:
154+
- **Debug:** Removed the following deprecated properties and methods:
155155
- `CodeIgniter\Debug\Toolbar\Collectors\BaseCollector::cleanPath()` (deprecated since v4.2.0)
156156
- `CodeIgniter\Debug\Exceptions::$ob_level` (deprecated since v4.4.0)
157157
- `CodeIgniter\Debug\Exceptions::$viewPath` (deprecated since v4.4.0)
@@ -164,20 +164,20 @@ Release Date: Unreleased
164164
- `CodeIgniter\Debug\Exceptions::describeMemory()` (deprecated since v4.4.0)
165165
- `CodeIgniter\Debug\Exceptions::highlightFile()` (deprecated since v4.4.0)
166166

167-
- **Exceptions:** Removed the following static constructors of `FrameworkException` and its child classes:
167+
- **Exceptions:** Removed the following static constructors of `FrameworkException` and its child classes:
168168
- `CodeIgniter\Exceptions\DownloadException::forCannotSetCache()`
169169
- `CodeIgniter\Exceptions\FrameworkException::forMissingExtension()`
170170
- `CodeIgniter\Honeypot\Exceptions\HoneypotException::forNoHiddenValue()`
171171
- `CodeIgniter\HTTP\Exceptions\HTTPException::forInvalidSameSiteSetting()`
172172
- `CodeIgniter\Security\Exceptions\SecurityException::forInvalidSameSite()`
173173
- `CodeIgniter\Session\Exceptions\SessionException::forInvalidSameSiteSetting()`
174174

175-
- **Filters:** Removed the following deprecated properties and methods:
175+
- **Filters:** Removed the following deprecated properties and methods:
176176
- `CodeIgniter\Filters\Filters::$arguments` (deprecated since v4.6.0)
177177
- `CodeIgniter\Filters\Filters::$argumentsClass` (deprecated since v4.6.0)
178178
- `CodeIgniter\Filters\Filters::getArguments()` (deprecated since v4.6.0)
179179

180-
- **HTTP:** Removed the following deprecated properties and methods:
180+
- **HTTP:** Removed the following deprecated properties and methods:
181181
- `CodeIgniter\HTTP\Message::getHeaders()` (deprecated since v4.0.5)
182182
- `CodeIgniter\HTTP\Message::getHeader()` (deprecated since v4.0.5)
183183
- `CodeIgniter\HTTP\RequestTrait::getEnv()` (deprecated since v4.4.4)
@@ -190,7 +190,7 @@ Release Date: Unreleased
190190
- `CodeIgniter\HTTP\SiteURI::setBaseURL()` (deprecated since v4.4.0)
191191
- `CodeIgniter\HTTP\SiteURI::setURI()` (deprecated since v4.4.0)
192192

193-
- **Security:** Removed the following deprecated properties and methods:
193+
- **Security:** Removed the following deprecated properties and methods:
194194
- `CodeIgniter\Security\SecurityInterface::sanitizeFilename()` (deprecated since v4.6.2)
195195
- `CodeIgniter\Security\Security::sanitizeFilename()` (deprecated since v4.6.2)
196196
- `CodeIgniter\Security\Security::$csrfProtection` (deprecated since v4.4.0)
@@ -349,15 +349,15 @@ Release Date: Unreleased
349349

350350
## Message Changes
351351

352-
- Added new language keys:
352+
- Added new language keys:
353353
- `Cache.unsupportedLockStore` (`CacheException::forUnsupportedLockStore()`)
354354
- `CLI.commandAlias` and `CLI.helpAliases` (command alias rendering in `list` and `help`)
355355
- `CLI.altCommandNone`, `CLI.altCommandRun`, and `CLI.altCommandSelect` (correcting a mistyped command)
356356
- `CLI.generator.invalidCommandType` (`make:command` rejecting an invalid `--type`)
357357
- `CLI.generator.invalidReturnType` (`make:model` rejecting an invalid `--return`)
358358
- `Commands.invalidCommandAlias`, `Commands.commandAliasSameAsName`, `Commands.duplicateCommandAlias`, `Commands.aliasClashesWithCommandName`, and `Commands.aliasClashesWithAlias` (command alias validation)
359359

360-
- Removed deprecated language keys tied to removed exception constructors:
360+
- Removed deprecated language keys tied to removed exception constructors:
361361
- `Core.missingExtension` (`FrameworkException::forMissingExtension()`)
362362
- `HTTP.cannotSetCache` (`DownloadException::forCannotSetCache()`)
363363
- `HTTP.disallowedAction`

‎docs/installation/upgrade_480.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -161,39 +161,39 @@ The following files received significant changes (including deprecations or visu
161161

162162
#### Config
163163

164-
- **app/Config/Filters.php**
164+
- **app/Config/Filters.php**
165165
- Added a new filter named `requestid` that adds a unique request ID to each request in the application's context.
166166

167-
- **app/Config/Generators.php**
167+
- **app/Config/Generators.php**
168168
- `Config\Generators::$views` added entries for `make:request`, `make:test`, and `make:transformer`, and dropped the stale `session:migration` entry.
169169

170-
- **app/Config/Logger.php**
170+
- **app/Config/Logger.php**
171171
- `Config\Logger::$handlers` added a new key `stopChainOnFailure` to the `FileHandler` and `ErrorlogHandler` settings.
172172

173-
- **app/Config/Mimes.php**
173+
- **app/Config/Mimes.php**
174174
- `Config\Mimes::$mimes` added a new key `md` for Markdown files.
175175

176-
- **app/Config/Routing.php**
176+
- **app/Config/Routing.php**
177177
- `Config\Routing::$placeholderSamples` was added to provide sample values for custom route placeholders so the `spark routes` command can resolve their filters.
178178

179-
- **app/Config/Security.php**
179+
- **app/Config/Security.php**
180180
- `Config\Security::$csrfFetchMetadata` and `Config\Security::$csrfFetchMetadataRejectSameSite` were added for Fetch Metadata based CSRF protection.
181181

182182
#### Error Views
183183

184-
- **app/Views/errors/cli/error_exception.php**
184+
- **app/Views/errors/cli/error_exception.php**
185185
- Shows the backtrace also when the command runs with `-v`.
186186

187-
- **app/Views/errors/html/debug.css**
187+
- **app/Views/errors/html/debug.css**
188188
- Added styles for the **Copy Details** button.
189189

190-
- **app/Views/errors/html/debug.js**
190+
- **app/Views/errors/html/debug.js**
191191
- Added clipboard handling for the **Copy Details** button.
192192

193-
- **app/Views/errors/html/error_exception.php**
193+
- **app/Views/errors/html/error_exception.php**
194194
- Added a **Copy Details** button to detailed HTML exception pages.
195195

196-
- **app/Views/errors/html/error_report.php**
196+
- **app/Views/errors/html/error_report.php**
197197
- Added a Markdown error report partial used by the **Copy Details** button.
198198

199199
### All Changes

0 commit comments

Comments
 (0)