Skip to content
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

[NFC] Fix variable types in DAO doc blocks #14294

Merged
merged 1 commit into from
May 23, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented May 22, 2019

Overview

Standards cleanup on docblock comments - no functional change

Before

type declared as int unsigned & boolean

After

type declared as int & bool

Technical Details

Phpcs (stricter) reports

79 | ERROR | [x] Expected "intunsigned" but found "int unsigned" for @var tag in member variable comment
156 | ERROR | [x] Expected "bool" but found "boolean" for @var tag in member variable comment

We are declaring int unsigned instead of int & boolean instead of bool

Note this commit only contains sample of resulting change - will add more complete set after

Comments

See civicrm/coder#7

Phpcs (stricter) reports

  79 | ERROR   | [x] Expected "intunsigned" but found "int unsigned" for @var tag in member variable comment
 156 | ERROR   | [x] Expected "bool" but found "boolean" for @var tag in member variable comment

We are declaring int unsigned instead of int & boolean instead of bool

Note this commit only contains sample of resulting change - will add more complete set after
@civibot
Copy link

civibot bot commented May 22, 2019

(Standard links)

@eileenmcnaughton
Copy link
Contributor Author

test this please

@colemanw colemanw merged commit 2b6c13e into civicrm:master May 23, 2019
@colemanw colemanw deleted the stds branch May 23, 2019 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants