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

Updated Post Scopes To Use The Status Object #52

Merged
merged 1 commit into from Jun 1, 2017
Merged

Updated Post Scopes To Use The Status Object #52

merged 1 commit into from Jun 1, 2017

Conversation

moebrowne
Copy link
Contributor

Replaced the hard coded status integers in the Post scopes with references to the Status object constants

@nWidart
Copy link
Member

nWidart commented Jun 1, 2017

Very nice! Thank you! 👍

@nWidart nWidart merged commit 68b7ecd into AsgardCms:2.0 Jun 1, 2017
@nWidart
Copy link
Member

nWidart commented Jun 1, 2017

Hm this broke the build of php 5.6 https://travis-ci.org/AsgardCms/Blog/jobs/238512805

@moebrowne
Copy link
Contributor Author

@nWidart I dont think this PR broke the build, I believe the test is flawed. If I run the test a number of times if fails about 10% of the time (even before this was merged).

That would also explain why Travis didn't complain when this PR was opened but then did when it was merged.

I think it is something to do with the additional calls to $this->createTag(); here

@moebrowne moebrowne deleted the posts/use-status-object branch June 5, 2017 14:31
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