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

Update PHPUnit configs & paginate() count #54

Merged
merged 3 commits into from
Feb 8, 2022
Merged

Update PHPUnit configs & paginate() count #54

merged 3 commits into from
Feb 8, 2022

Conversation

astro2049
Copy link
Contributor

@astro2049 astro2049 commented Feb 8, 2022

phpunit.xml

PHPUnit 9.3 deprecated some tags used in the current phpunit.xml, so:

  • change <filter><whitelist><include>...</include></whitelist></filter> to <coverage><include>...</include></coverage>
  • change <logging><log type="coverage-html" target="coverage" charset="UTF-8"/>
    </logging> to <coverage><report><html outputDirectory="tests/coverage"/></report></coverage>

Reference:

Working with Laravel - paginate()

  • make sure $count gets an int value so that the returned paginator->total will also be int

@evsign
Copy link
Collaborator

evsign commented Feb 8, 2022

Thank you!

@evsign evsign merged commit 9af85f4 into the-tinderbox:master Feb 8, 2022
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.

2 participants