Skip to content

Comments

Minor fixes for OrderedBehavior#17

Open
bfncs wants to merge 2 commits intoalkemann:masterfrom
bfncs:fixes
Open

Minor fixes for OrderedBehavior#17
bfncs wants to merge 2 commits intoalkemann:masterfrom
bfncs:fixes

Conversation

@bfncs
Copy link

@bfncs bfncs commented Mar 1, 2015

Hey there and thanks for your still really useful OrderedBehavior!

I have been keeping a marginally changed private fork of your behavior for some years now, manually merging in the patches of the few last minor versions. After going through it again today, I just thought I could at least ask for an upstream remerge.

The hassle is that I switched style to PSR-1/2 long ago, so there's a lot of whitespace related changes here (at least Github provides a diff that ignores whitespace changes) and you probably don't like the style conventions. Apart from this, there are some minor but hopefully useful changes inside:

  • Fixed strict PHP warnings, in particular by removing issues with call-time pass-by-reference to keep compatibility with PHP >=5.3.
  • Fixed assigning weight to the first item of a new model
  • Minor edits of typos and the like in comments and PHPDoc

Please just let me know, whether you can merge it as it is or if you would merge particular pieces under other circumstances.

bfncs added 2 commits March 1, 2015 17:09
This is an attempt to remerge my patched version of this file with the upstream.
Changes include but are not necessarily limited to:

* Fixed strict PHP warnings,  in particular by removing issues with call-time
  pass-by-reference to keep compatibility with PHP >=5.3.
  See: http://php.net/manual/en/language.references.pass.php

* Converted everything to PSR-1/2 compatible coding style.
  See: http://www.php-fig.org/psr/psr-1/ & http://www.php-fig.org/psr/psr-2/

* Minor edits of typos and the like in comments and PHPDoc.
@bfncs bfncs changed the title Fixes Minor fixes for OrderedBehavior Mar 1, 2015
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