Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Apr 10, 2021

Bumps nette/neon from 3.2.1 to 3.2.2.

Release notes

Sourced from nette/neon's releases.

Released version 3.2.2

  • uses mb_string when iconv is not available
  • improved PHP doc
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nette/neon](https://github.com/nette/neon) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/nette/neon/releases)
- [Commits](nette/neon@v3.2.1...v3.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Apr 10, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 736601342

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 79.494%

Totals Coverage Status
Change from base Build 736598574: 0.0%
Covered Lines: 24469
Relevant Lines: 30781

💛 - Coveralls

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 16, 2021

Looks like nette/neon is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jul 16, 2021
@dependabot dependabot bot deleted the dependabot/composer/compiler/nette/neon-3.2.2 branch July 16, 2021 15:18
clxmstaab pushed a commit that referenced this pull request Oct 21, 2025
staabm pushed a commit that referenced this pull request Dec 31, 2025
Added comprehensive documentation clarifying the important differences
between string and char types in Zephir:

**Key Additions:**

1. **Type System Section Enhancements:**
   - Clarified that char uses single-quote syntax: 'A'
   - Emphasized that string indexing (str[i]) returns char, not string
   - Added that string must use double-quote syntax: "hello"
   - Noted that single quotes are exclusively for char type

2. **New Dedicated Section: "String vs Char: Key Distinctions":**
   - Syntax difference table (single vs double quotes)
   - Detailed explanation of array access returning char
   - Practical examples showing string iteration yields char types
   - Type conversion examples (char to string and vice versa)
   - Common pitfall example showing incorrect char/string comparison

3. **Coding Guidelines Update:**
   - Added reminder that string indexing returns char type
   - Emphasized quote usage: single for char, double for string

4. **Common Pitfalls Section:**
   - Added "String vs Char Confusion" as item #3
   - Listed specific gotchas:
     * str[0] is char type, not string
     * Quote syntax requirements
     * Loop variable type when iterating strings
     * Correct comparison syntax

This addresses a critical type distinction that can cause confusion
for developers new to Zephir, especially those coming from PHP where
this distinction doesn't exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants