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

Add psr2 compliance #5

Merged
merged 2 commits into from
Nov 17, 2015
Merged

Add psr2 compliance #5

merged 2 commits into from
Nov 17, 2015

Conversation

stevenmaguire
Copy link
Contributor

I've updated this project to ensure the code meets the PSR 2 coding standards. It is important to note that the method signature for getObjects has changed. I've updated the signature, documentation and internal usage. Any consuming projects will need to be updated as well, as this will be a breaking change.

Arguments with default values must be at the end of the argument list

I added PHPDoc blocks to the Resource Owner class. I would strongly urge you do the same to the Provider class. Also, adding some automated tests will help make sure the changes to your project are easily tracked as you move forward.

Good luck.

hajekj added a commit that referenced this pull request Nov 17, 2015
@hajekj hajekj merged commit b00a240 into TheNetworg:master Nov 17, 2015
@stevenmaguire stevenmaguire deleted the add-psr2-compliance branch November 17, 2015 07:30
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.

None yet

2 participants