Skip to content

chore(macro)!: change rename defaults to match psr #436

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Xenira
Copy link
Collaborator

@Xenira Xenira commented May 29, 2025

BREAKING CHANGE: Methods and Properties are renamed to camelCase by default. Classes to PascalCase and constants to UPPER_CASE.

Refs: #189

@Xenira Xenira linked an issue May 29, 2025 that may be closed by this pull request
BREAKING CHANGE: Methods and Properties are renamed to camelCase by default. Classes to PascalCase and constants to UPPER_CASE.

Refs: #189
@Xenira Xenira force-pushed the 189-prop-attribute-should-rename-fields-to-camelcase-by-default branch from e9e5d1f to a6d076e Compare May 29, 2025 19:22
@coveralls
Copy link

Pull Request Test Coverage Report for Build 15331766277

Details

  • 8 of 29 (27.59%) changed or added relevant lines in 5 files are covered.
  • 2 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.1%) to 20.798%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/macros/src/constant.rs 0 3 0.0%
crates/macros/src/function.rs 0 3 0.0%
crates/macros/src/class.rs 0 4 0.0%
crates/macros/src/parsing.rs 8 13 61.54%
crates/macros/src/impl_.rs 0 6 0.0%
Files with Coverage Reduction New Missed Lines %
crates/macros/src/constant.rs 1 0.0%
crates/macros/src/parsing.rs 1 76.67%
Totals Coverage Status
Change from base Build 15297155720: -0.1%
Covered Lines: 818
Relevant Lines: 3933

💛 - Coveralls

@joelwurtz
Copy link
Contributor

It seems php functions are also renamed to camelCase by default where it should be snake_case no ?

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.

#[prop] attribute should rename fields to camelCase by default
3 participants