Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

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!

@micschk micschk closed this Oct 17, 2025
@patricknelson
Copy link
Contributor Author

231d2b43-be37-49d8-a9a7-8f461f461b63_text

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants