Skip to content

docs: update coding style for v3.49.0 #8500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

kenjis
Copy link
Member

@kenjis kenjis commented Feb 2, 2024

Description
Fixed by php-cs-fixer v3.49.0.

Detected deprecations in use:
- Rule "escape_implicit_backslashes" is deprecated. Use "string_implicit_backslashes" instead.
   1) system/Log/Logger.php (phpdoc_scalar, unary_operator_spaces, not_operator_with_successor_space)
      ---------- begin diff ----------
--- /home/runner/work/CodeIgniter4/CodeIgniter4/system/Log/Logger.php
+++ /home/runner/work/CodeIgniter4/CodeIgniter4/system/Log/Logger.php
@@ -37,7 +37,7 @@
      * Used by the logThreshold Config setting to define
      * which errors to show.
      *
-     * @var array<string, integer>
+     * @var array<string, int>
      */
     protected $logLevels = [
         'emergency' => 1,

      ----------- end diff -----------

https://github.com/codeigniter4/CodeIgniter4/actions/runs/7749714872/job/21134753620?pr=8493

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis merged commit 3ca481c into codeigniter4:develop Feb 2, 2024
@kenjis kenjis deleted the update-cs-for-v3.49.0 branch February 2, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants