From 1890d05b99dcae369a722e109f6ef6c1d40e7099 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Thu, 27 Jul 2023 11:30:45 +0800 Subject: [PATCH] docs: replace `U+2019` with `U+0060` --- app/Config/Filters.php | 2 +- changelogs/CHANGELOG_4.0.md | 4 ++-- contributing/pull_request.md | 2 +- system/Database/OCI8/Forge.php | 2 +- system/HTTP/ContentSecurityPolicy.php | 2 +- user_guide_src/source/libraries/sessions.rst | 2 +- user_guide_src/source/outgoing/response.rst | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Config/Filters.php b/app/Config/Filters.php index 7b70c4fb33..f751b8c2b5 100644 --- a/app/Config/Filters.php +++ b/app/Config/Filters.php @@ -49,7 +49,7 @@ class Filters extends BaseConfig * * If you use this, you should disable auto-routing because auto-routing * permits any HTTP method to access a controller. Accessing the controller - * with a method you don’t expect could bypass the filter. + * with a method you don't expect could bypass the filter. */ public array $methods = []; diff --git a/changelogs/CHANGELOG_4.0.md b/changelogs/CHANGELOG_4.0.md index ba2a9a8582..57492ecaed 100644 --- a/changelogs/CHANGELOG_4.0.md +++ b/changelogs/CHANGELOG_4.0.md @@ -515,7 +515,7 @@ These changes increase security when handling uploaded files as the client can n - Add hex2bin prefix handling for encryption key [\#3307](https://github.com/codeigniter4/CodeIgniter4/pull/3307) ([michalsn](https://github.com/michalsn)) - add break; in foreach at Time::getDst\(\) when daylightSaving set [\#3305](https://github.com/codeigniter4/CodeIgniter4/pull/3305) ([samsonasik](https://github.com/samsonasik)) - New command: cache:clear [\#3304](https://github.com/codeigniter4/CodeIgniter4/pull/3304) ([lonnieezell](https://github.com/lonnieezell)) -- force\_https didn’t force https [\#3302](https://github.com/codeigniter4/CodeIgniter4/pull/3302) ([colethorsen](https://github.com/colethorsen)) +- force\_https didn't force https [\#3302](https://github.com/codeigniter4/CodeIgniter4/pull/3302) ([colethorsen](https://github.com/colethorsen)) - add test for CommandRunner::\_remap\(\) with empty first params [\#3301](https://github.com/codeigniter4/CodeIgniter4/pull/3301) ([samsonasik](https://github.com/samsonasik)) - FieldData -\> add typeName field and length field [\#3299](https://github.com/codeigniter4/CodeIgniter4/pull/3299) ([devorama](https://github.com/devorama)) - reduce repetitive getDefaultNamespace\(\) and controllerName\(\) function call in Router [\#3298](https://github.com/codeigniter4/CodeIgniter4/pull/3298) ([samsonasik](https://github.com/samsonasik)) @@ -2380,7 +2380,7 @@ These changes increase security when handling uploaded files as the client can n - Database can't save connect instances because var "$group" default is NULL [\#466](https://github.com/codeigniter4/CodeIgniter4/issues/466) - redirect\(\) issue [\#465](https://github.com/codeigniter4/CodeIgniter4/issues/465) - Join not working in Query Builder [\#464](https://github.com/codeigniter4/CodeIgniter4/issues/464) -- If the controller’s method's parameter has a default value , the program will show 500 error [\#461](https://github.com/codeigniter4/CodeIgniter4/issues/461) +- If the controller's method's parameter has a default value , the program will show 500 error [\#461](https://github.com/codeigniter4/CodeIgniter4/issues/461) - Wrong ROOTPATH on console [\#460](https://github.com/codeigniter4/CodeIgniter4/issues/460) - Rename "public" Folder Not Working [\#453](https://github.com/codeigniter4/CodeIgniter4/issues/453) - Environment File [\#452](https://github.com/codeigniter4/CodeIgniter4/issues/452) diff --git a/contributing/pull_request.md b/contributing/pull_request.md index a28e5e75d1..3acd1f1c62 100644 --- a/contributing/pull_request.md +++ b/contributing/pull_request.md @@ -28,7 +28,7 @@ Before we look into how to contribute to CodeIgniter4, here are some guidelines. Your Pull Requests (PRs) need to meet our guidelines. If your Pull Requests fail to pass these guidelines, they will be declined, -and you will need to re-submit when you’ve made the changes. +and you will need to re-submit when you've made the changes. This might sound a bit tough, but it is required for us to maintain the quality of the codebase. ### PHP Style diff --git a/system/Database/OCI8/Forge.php b/system/Database/OCI8/Forge.php index 31b20584fe..1eddd4a728 100644 --- a/system/Database/OCI8/Forge.php +++ b/system/Database/OCI8/Forge.php @@ -187,7 +187,7 @@ class Forge extends BaseForge protected function _processColumn(array $field): string { $constraint = ''; - // @todo: can’t cover multi pattern when set type. + // @todo: can't cover multi pattern when set type. if ($field['type'] === 'VARCHAR2' && strpos($field['length'], "('") === 0) { $constraint = ' CHECK(' . $this->db->escapeIdentifiers($field['name']) . ' IN ' . $field['length'] . ')'; diff --git a/system/HTTP/ContentSecurityPolicy.php b/system/HTTP/ContentSecurityPolicy.php index 2ff9e355a8..deb5093e86 100644 --- a/system/HTTP/ContentSecurityPolicy.php +++ b/system/HTTP/ContentSecurityPolicy.php @@ -327,7 +327,7 @@ class ContentSecurityPolicy /** * Adds a new base_uri value. Can be either a URI class or a simple string. * - * base_uri restricts the URLs that can appear in a page’s element. + * base_uri restricts the URLs that can appear in a page's element. * * @see http://www.w3.org/TR/CSP/#directive-base-uri * diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst index 3c0e13d775..4e65cf7a17 100644 --- a/user_guide_src/source/libraries/sessions.rst +++ b/user_guide_src/source/libraries/sessions.rst @@ -392,7 +392,7 @@ necessary with our new implementation. However, it may happen that your application relied on these values, so here are alternative methods of accessing them: - - session_id: ``$session->session_id`` or ``session_id()`` (PHP’s built-in function) + - session_id: ``$session->session_id`` or ``session_id()`` (PHP's built-in function) - ip_address: ``$_SERVER['REMOTE_ADDR']`` - user_agent: ``$_SERVER['HTTP_USER_AGENT']`` (unused by sessions) - last_activity: Depends on the storage, no straightforward way. Sorry! diff --git a/user_guide_src/source/outgoing/response.rst b/user_guide_src/source/outgoing/response.rst index 762ce8e200..1e25b4dae5 100644 --- a/user_guide_src/source/outgoing/response.rst +++ b/user_guide_src/source/outgoing/response.rst @@ -111,7 +111,7 @@ When you want to redirect back, use ``redirect()->back()``: .. note:: ``redirect()->back()`` is not the same as browser "back" button. It takes a visitor to "the last page viewed during the Session" when the Session is available. - If the Session hasn’t been loaded, or is otherwise unavailable, then a sanitized version of HTTP_REFERER will be used. + If the Session hasn't been loaded, or is otherwise unavailable, then a sanitized version of HTTP_REFERER will be used. .. _response-redirect-status-code: