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

bumping travis php versions, composer deps, fixing phpstan errors #2

Merged
merged 2 commits into from
Feb 19, 2019

Conversation

jaydiablo
Copy link
Member

No description provided.

@@ -160,8 +160,6 @@ public function setConfig(Zend_Config $config)
* Get optional decorator
*
* By default, return null, indicating no extra decorator needed.
*
* @return null
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so it inherits the interface's docblock for the @return (above).

@@ -357,7 +356,7 @@ public function generate()

protected function _generateRandomId()
{
return md5(Zend_Crypt_Math::randBytes(32));
return md5((string) Zend_Crypt_Math::randBytes(32));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently the randBytes method can return false, this shouldn't change behavior though.

@codecov-io
Copy link

codecov-io commented Feb 15, 2019

Codecov Report

Merging #2 into master will decrease coverage by 0.16%.
The diff coverage is 92.3%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #2      +/-   ##
============================================
- Coverage     84.84%   84.68%   -0.17%     
- Complexity      204      206       +2     
============================================
  Files            10       10              
  Lines           561      568       +7     
============================================
+ Hits            476      481       +5     
- Misses           85       87       +2
Impacted Files Coverage Δ Complexity Δ
src/Zend/Captcha/Base.php 83.87% <ø> (ø) 14 <0> (ø) ⬇️
src/Zend/Form/Element/Captcha.php 98.13% <100%> (-0.94%) 33 <0> (ø)
src/Zend/Captcha/Word.php 85.29% <100%> (ø) 39 <0> (ø) ⬇️
src/Zend/Captcha/Image.php 79.09% <90%> (-0.1%) 72 <0> (+2)
src/Zend/Form/Decorator/Captcha/ReCaptcha.php 90.9% <0%> (+0.28%) 7% <0%> (ø) ⬇️
src/Zend/Form/Decorator/Captcha/Word.php 90.9% <0%> (+0.43%) 5% <0%> (ø) ⬇️
src/Zend/Form/Decorator/Captcha.php 83.33% <0%> (+0.98%) 5% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 666cc07...0e59a36. Read the comment docs.

@jaydiablo jaydiablo requested a review from a team February 15, 2019 02:48
@jaydiablo jaydiablo merged commit fb4fcc4 into master Feb 19, 2019
@jaydiablo jaydiablo deleted the bump-php-versions branch February 19, 2019 22:52
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.

3 participants