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

Code standards: Bringing recently merged code back up to helpfulrobot's high standards. #10

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

Conversation

patricknelson
Copy link
Contributor

Bringing up to standards, adhering to .editorconfig and those silly open brackets on new lines after methods 🤔

Also fixing an apparent bug in ->setAddDefaultGridField() typehinting SilverStripe 3.x's database field class type Boolean instead of typecasting using PHP's native (bool) (scalar type hints not allowed pre-PHP7 anyway).

…'s high standards, adhering to .editorconfig and those silly open brackets on new lines after methods 🤔 Also fixing an apparent bug in ->setAddDefaultGridField().
@patricknelson
Copy link
Contributor Author

patricknelson commented Apr 27, 2017

p.s. @micschk the packagist reference to this library is still at 1.0 (https://packagist.org/packages/micschk/silverstripe-gridfieldpages) -- would you be comfortable with bumping the version to either 1.1 or 2.0? The higher number is safer since technically traits aren't PHP 5.3 compatible. Also people (like myself) installing strictly via composer haven't seen an update since apparently 2015-01-27 (per site).

@patricknelson
Copy link
Contributor Author

Oops, just saw your comment here #8 (comment) 😂 sorry about that!

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.

1 participant