stable

php-brumann-polyfill-unserialize-1.0.4-1.el7

FEDORA-EPEL-2020-5c288acec8 created by siwinski 4 years ago for Fedora EPEL 7

1.0.4

This release provides minor improvements around type safety and some cleanups.

Changelog

  • Newer PHP versions were added to the build pipeline to make sure no regressions are introduced when upgrading to PHP 7.2 or 7.3
  • Adds tests
  • Minor changes to unserialize() that should not alter the current behavior:
    • Some if-conditions were simplified for better readability
    • When checking for in_array() the third argument (strict type check) was added
    • Instead of using list() inside the anonymous function array_shift() is used. This will make sure the behavior will stay consistent between major versions (not that this matters as with PHP 7 the global unserialize() will be used anyway)
    • type coercion is applied to the extracted variables inside the anonymous function, mainly to clarify $objectSize is an integer before adding +1 to it
  • A .gitattributes file was added to ensure tests are stripped from the final release to make the resulting dist file is a teeny tiny bit smaller
  • A composer.lock was added and removed from .gitignore to adhere to composer best practices
  • Cleanups in LICENSE, README and tests

This update has been submitted for testing by siwinski.

4 years ago

This update's test gating status has been changed to 'waiting'.

4 years ago

This update's test gating status has been changed to 'ignored'.

4 years ago

This update has been pushed to testing.

4 years ago

This update can be pushed to stable now if the maintainer wishes

4 years ago

This update has been submitted for stable by bodhi.

4 years ago

This update has been pushed to stable.

4 years ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
14 days
Dates
submitted
4 years ago
in testing
4 years ago
in stable
4 years ago
BZ#1742087 php-brumann-polyfill-unserialize-1.0.4 is available
0
0

Automated Test Results