From 43b37f02b9ae399f8aee6c99abb1a93c62bb37be Mon Sep 17 00:00:00 2001 From: webimpress Date: Thu, 26 Sep 2019 12:31:10 +0100 Subject: [PATCH 1/5] Update license headers --- src/ConfigProvider.php | 6 +++--- src/Exception/ExceptionInterface.php | 8 +++----- src/Exception/ExtensionNotLoadedException.php | 8 +++----- src/Exception/InvalidArgumentException.php | 8 +++----- src/Exception/OutOfBoundsException.php | 8 +++----- src/Exception/ParseException.php | 8 +++----- src/Exception/RangeException.php | 8 +++----- src/Exception/RuntimeException.php | 8 +++----- src/Filter/AbstractLocale.php | 8 +++----- src/Filter/Alnum.php | 8 +++----- src/Filter/Alpha.php | 8 +++----- src/Filter/NumberFormat.php | 8 +++----- src/Filter/NumberParse.php | 8 +++----- src/Module.php | 6 +++--- src/Translator/Loader/AbstractFileLoader.php | 8 +++----- src/Translator/Loader/FileLoaderInterface.php | 8 +++----- src/Translator/Loader/Gettext.php | 8 +++----- src/Translator/Loader/Ini.php | 8 +++----- src/Translator/Loader/PhpArray.php | 8 +++----- src/Translator/Loader/PhpMemoryArray.php | 8 +++----- src/Translator/Loader/RemoteLoaderInterface.php | 8 +++----- src/Translator/LoaderPluginManager.php | 8 +++----- src/Translator/LoaderPluginManagerFactory.php | 6 +++--- src/Translator/Plural/Parser.php | 8 +++----- src/Translator/Plural/Rule.php | 8 +++----- src/Translator/Plural/Symbol.php | 8 +++----- src/Translator/TextDomain.php | 8 +++----- src/Translator/Translator.php | 8 +++----- src/Translator/TranslatorAwareInterface.php | 8 +++----- src/Translator/TranslatorAwareTrait.php | 8 +++----- src/Translator/TranslatorInterface.php | 8 +++----- src/Translator/TranslatorServiceFactory.php | 8 +++----- src/Validator/Alnum.php | 8 +++----- src/Validator/Alpha.php | 8 +++----- src/Validator/DateTime.php | 8 +++----- src/Validator/Float.php | 8 +++----- src/Validator/Int.php | 8 +++----- src/Validator/IsFloat.php | 8 +++----- src/Validator/IsInt.php | 8 +++----- src/Validator/PhoneNumber.php | 8 +++----- src/Validator/PhoneNumber/AC.php | 8 +++----- src/Validator/PhoneNumber/AD.php | 8 +++----- src/Validator/PhoneNumber/AE.php | 8 +++----- src/Validator/PhoneNumber/AF.php | 8 +++----- src/Validator/PhoneNumber/AG.php | 8 +++----- src/Validator/PhoneNumber/AI.php | 8 +++----- src/Validator/PhoneNumber/AL.php | 8 +++----- src/Validator/PhoneNumber/AM.php | 8 +++----- src/Validator/PhoneNumber/AO.php | 8 +++----- src/Validator/PhoneNumber/AR.php | 8 +++----- src/Validator/PhoneNumber/AS.php | 8 +++----- src/Validator/PhoneNumber/AT.php | 8 +++----- src/Validator/PhoneNumber/AU.php | 8 +++----- src/Validator/PhoneNumber/AW.php | 8 +++----- src/Validator/PhoneNumber/AX.php | 8 +++----- src/Validator/PhoneNumber/AZ.php | 8 +++----- src/Validator/PhoneNumber/BA.php | 8 +++----- src/Validator/PhoneNumber/BB.php | 8 +++----- src/Validator/PhoneNumber/BD.php | 8 +++----- src/Validator/PhoneNumber/BE.php | 8 +++----- src/Validator/PhoneNumber/BF.php | 8 +++----- src/Validator/PhoneNumber/BG.php | 8 +++----- src/Validator/PhoneNumber/BH.php | 8 +++----- src/Validator/PhoneNumber/BI.php | 8 +++----- src/Validator/PhoneNumber/BJ.php | 8 +++----- src/Validator/PhoneNumber/BL.php | 8 +++----- src/Validator/PhoneNumber/BM.php | 8 +++----- src/Validator/PhoneNumber/BN.php | 8 +++----- src/Validator/PhoneNumber/BO.php | 8 +++----- src/Validator/PhoneNumber/BQ.php | 8 +++----- src/Validator/PhoneNumber/BR.php | 8 +++----- src/Validator/PhoneNumber/BS.php | 8 +++----- src/Validator/PhoneNumber/BT.php | 8 +++----- src/Validator/PhoneNumber/BW.php | 8 +++----- src/Validator/PhoneNumber/BY.php | 8 +++----- src/Validator/PhoneNumber/BZ.php | 8 +++----- src/Validator/PhoneNumber/CA.php | 8 +++----- src/Validator/PhoneNumber/CC.php | 8 +++----- src/Validator/PhoneNumber/CD.php | 8 +++----- src/Validator/PhoneNumber/CF.php | 8 +++----- src/Validator/PhoneNumber/CG.php | 8 +++----- src/Validator/PhoneNumber/CH.php | 8 +++----- src/Validator/PhoneNumber/CI.php | 8 +++----- src/Validator/PhoneNumber/CK.php | 8 +++----- src/Validator/PhoneNumber/CL.php | 8 +++----- src/Validator/PhoneNumber/CM.php | 8 +++----- src/Validator/PhoneNumber/CN.php | 8 +++----- src/Validator/PhoneNumber/CO.php | 8 +++----- src/Validator/PhoneNumber/CR.php | 8 +++----- src/Validator/PhoneNumber/CU.php | 8 +++----- src/Validator/PhoneNumber/CV.php | 8 +++----- src/Validator/PhoneNumber/CW.php | 8 +++----- src/Validator/PhoneNumber/CX.php | 8 +++----- src/Validator/PhoneNumber/CY.php | 8 +++----- src/Validator/PhoneNumber/CZ.php | 8 +++----- src/Validator/PhoneNumber/DE.php | 8 +++----- src/Validator/PhoneNumber/DJ.php | 8 +++----- src/Validator/PhoneNumber/DK.php | 8 +++----- src/Validator/PhoneNumber/DM.php | 8 +++----- src/Validator/PhoneNumber/DO.php | 8 +++----- src/Validator/PhoneNumber/DZ.php | 8 +++----- src/Validator/PhoneNumber/EC.php | 8 +++----- src/Validator/PhoneNumber/EE.php | 8 +++----- src/Validator/PhoneNumber/EG.php | 8 +++----- src/Validator/PhoneNumber/EH.php | 8 +++----- src/Validator/PhoneNumber/ER.php | 8 +++----- src/Validator/PhoneNumber/ES.php | 8 +++----- src/Validator/PhoneNumber/ET.php | 8 +++----- src/Validator/PhoneNumber/FI.php | 8 +++----- src/Validator/PhoneNumber/FJ.php | 8 +++----- src/Validator/PhoneNumber/FK.php | 8 +++----- src/Validator/PhoneNumber/FM.php | 8 +++----- src/Validator/PhoneNumber/FO.php | 8 +++----- src/Validator/PhoneNumber/FR.php | 8 +++----- src/Validator/PhoneNumber/GA.php | 8 +++----- src/Validator/PhoneNumber/GB.php | 8 +++----- src/Validator/PhoneNumber/GD.php | 8 +++----- src/Validator/PhoneNumber/GE.php | 8 +++----- src/Validator/PhoneNumber/GF.php | 8 +++----- src/Validator/PhoneNumber/GG.php | 8 +++----- src/Validator/PhoneNumber/GH.php | 8 +++----- src/Validator/PhoneNumber/GI.php | 8 +++----- src/Validator/PhoneNumber/GL.php | 8 +++----- src/Validator/PhoneNumber/GM.php | 8 +++----- src/Validator/PhoneNumber/GN.php | 8 +++----- src/Validator/PhoneNumber/GP.php | 8 +++----- src/Validator/PhoneNumber/GQ.php | 8 +++----- src/Validator/PhoneNumber/GR.php | 8 +++----- src/Validator/PhoneNumber/GT.php | 8 +++----- src/Validator/PhoneNumber/GU.php | 8 +++----- src/Validator/PhoneNumber/GW.php | 8 +++----- src/Validator/PhoneNumber/GY.php | 8 +++----- src/Validator/PhoneNumber/HK.php | 8 +++----- src/Validator/PhoneNumber/HN.php | 8 +++----- src/Validator/PhoneNumber/HR.php | 8 +++----- src/Validator/PhoneNumber/HT.php | 8 +++----- src/Validator/PhoneNumber/HU.php | 8 +++----- src/Validator/PhoneNumber/ID.php | 8 +++----- src/Validator/PhoneNumber/IE.php | 8 +++----- src/Validator/PhoneNumber/IL.php | 8 +++----- src/Validator/PhoneNumber/IM.php | 8 +++----- src/Validator/PhoneNumber/IN.php | 8 +++----- src/Validator/PhoneNumber/IO.php | 8 +++----- src/Validator/PhoneNumber/IQ.php | 8 +++----- src/Validator/PhoneNumber/IR.php | 8 +++----- src/Validator/PhoneNumber/IS.php | 8 +++----- src/Validator/PhoneNumber/IT.php | 8 +++----- src/Validator/PhoneNumber/JE.php | 8 +++----- src/Validator/PhoneNumber/JM.php | 8 +++----- src/Validator/PhoneNumber/JO.php | 8 +++----- src/Validator/PhoneNumber/JP.php | 8 +++----- src/Validator/PhoneNumber/KE.php | 8 +++----- src/Validator/PhoneNumber/KG.php | 8 +++----- src/Validator/PhoneNumber/KH.php | 8 +++----- src/Validator/PhoneNumber/KI.php | 8 +++----- src/Validator/PhoneNumber/KM.php | 8 +++----- src/Validator/PhoneNumber/KN.php | 8 +++----- src/Validator/PhoneNumber/KP.php | 8 +++----- src/Validator/PhoneNumber/KR.php | 8 +++----- src/Validator/PhoneNumber/KW.php | 8 +++----- src/Validator/PhoneNumber/KY.php | 8 +++----- src/Validator/PhoneNumber/KZ.php | 8 +++----- src/Validator/PhoneNumber/LA.php | 8 +++----- src/Validator/PhoneNumber/LB.php | 8 +++----- src/Validator/PhoneNumber/LC.php | 8 +++----- src/Validator/PhoneNumber/LI.php | 8 +++----- src/Validator/PhoneNumber/LK.php | 8 +++----- src/Validator/PhoneNumber/LR.php | 8 +++----- src/Validator/PhoneNumber/LS.php | 8 +++----- src/Validator/PhoneNumber/LT.php | 8 +++----- src/Validator/PhoneNumber/LU.php | 8 +++----- src/Validator/PhoneNumber/LV.php | 8 +++----- src/Validator/PhoneNumber/LY.php | 8 +++----- src/Validator/PhoneNumber/MA.php | 8 +++----- src/Validator/PhoneNumber/MC.php | 8 +++----- src/Validator/PhoneNumber/MD.php | 8 +++----- src/Validator/PhoneNumber/ME.php | 8 +++----- src/Validator/PhoneNumber/MF.php | 8 +++----- src/Validator/PhoneNumber/MG.php | 8 +++----- src/Validator/PhoneNumber/MH.php | 8 +++----- src/Validator/PhoneNumber/MK.php | 8 +++----- src/Validator/PhoneNumber/ML.php | 8 +++----- src/Validator/PhoneNumber/MM.php | 8 +++----- src/Validator/PhoneNumber/MN.php | 8 +++----- src/Validator/PhoneNumber/MO.php | 8 +++----- src/Validator/PhoneNumber/MP.php | 8 +++----- src/Validator/PhoneNumber/MQ.php | 8 +++----- src/Validator/PhoneNumber/MR.php | 8 +++----- src/Validator/PhoneNumber/MS.php | 8 +++----- src/Validator/PhoneNumber/MT.php | 8 +++----- src/Validator/PhoneNumber/MU.php | 8 +++----- src/Validator/PhoneNumber/MV.php | 8 +++----- src/Validator/PhoneNumber/MW.php | 8 +++----- src/Validator/PhoneNumber/MX.php | 8 +++----- src/Validator/PhoneNumber/MY.php | 8 +++----- src/Validator/PhoneNumber/MZ.php | 8 +++----- src/Validator/PhoneNumber/NA.php | 8 +++----- src/Validator/PhoneNumber/NC.php | 8 +++----- src/Validator/PhoneNumber/NE.php | 8 +++----- src/Validator/PhoneNumber/NF.php | 8 +++----- src/Validator/PhoneNumber/NG.php | 8 +++----- src/Validator/PhoneNumber/NI.php | 8 +++----- src/Validator/PhoneNumber/NL.php | 8 +++----- src/Validator/PhoneNumber/NO.php | 8 +++----- src/Validator/PhoneNumber/NP.php | 8 +++----- src/Validator/PhoneNumber/NR.php | 8 +++----- src/Validator/PhoneNumber/NU.php | 8 +++----- src/Validator/PhoneNumber/NZ.php | 8 +++----- src/Validator/PhoneNumber/OM.php | 8 +++----- src/Validator/PhoneNumber/PA.php | 8 +++----- src/Validator/PhoneNumber/PE.php | 8 +++----- src/Validator/PhoneNumber/PF.php | 8 +++----- src/Validator/PhoneNumber/PG.php | 8 +++----- src/Validator/PhoneNumber/PH.php | 8 +++----- src/Validator/PhoneNumber/PK.php | 8 +++----- src/Validator/PhoneNumber/PL.php | 8 +++----- src/Validator/PhoneNumber/PM.php | 8 +++----- src/Validator/PhoneNumber/PR.php | 8 +++----- src/Validator/PhoneNumber/PS.php | 8 +++----- src/Validator/PhoneNumber/PT.php | 8 +++----- src/Validator/PhoneNumber/PW.php | 8 +++----- src/Validator/PhoneNumber/PY.php | 8 +++----- src/Validator/PhoneNumber/QA.php | 8 +++----- src/Validator/PhoneNumber/RE.php | 8 +++----- src/Validator/PhoneNumber/RO.php | 8 +++----- src/Validator/PhoneNumber/RS.php | 8 +++----- src/Validator/PhoneNumber/RU.php | 8 +++----- src/Validator/PhoneNumber/RW.php | 8 +++----- src/Validator/PhoneNumber/SA.php | 8 +++----- src/Validator/PhoneNumber/SB.php | 8 +++----- src/Validator/PhoneNumber/SC.php | 8 +++----- src/Validator/PhoneNumber/SD.php | 8 +++----- src/Validator/PhoneNumber/SE.php | 8 +++----- src/Validator/PhoneNumber/SG.php | 8 +++----- src/Validator/PhoneNumber/SH.php | 8 +++----- src/Validator/PhoneNumber/SI.php | 8 +++----- src/Validator/PhoneNumber/SJ.php | 8 +++----- src/Validator/PhoneNumber/SK.php | 8 +++----- src/Validator/PhoneNumber/SL.php | 8 +++----- src/Validator/PhoneNumber/SM.php | 8 +++----- src/Validator/PhoneNumber/SN.php | 8 +++----- src/Validator/PhoneNumber/SO.php | 8 +++----- src/Validator/PhoneNumber/SR.php | 8 +++----- src/Validator/PhoneNumber/SS.php | 8 +++----- src/Validator/PhoneNumber/ST.php | 8 +++----- src/Validator/PhoneNumber/SV.php | 8 +++----- src/Validator/PhoneNumber/SX.php | 8 +++----- src/Validator/PhoneNumber/SY.php | 8 +++----- src/Validator/PhoneNumber/SZ.php | 8 +++----- src/Validator/PhoneNumber/TC.php | 8 +++----- src/Validator/PhoneNumber/TD.php | 8 +++----- src/Validator/PhoneNumber/TG.php | 8 +++----- src/Validator/PhoneNumber/TH.php | 8 +++----- src/Validator/PhoneNumber/TJ.php | 8 +++----- src/Validator/PhoneNumber/TK.php | 8 +++----- src/Validator/PhoneNumber/TL.php | 8 +++----- src/Validator/PhoneNumber/TM.php | 8 +++----- src/Validator/PhoneNumber/TN.php | 8 +++----- src/Validator/PhoneNumber/TO.php | 8 +++----- src/Validator/PhoneNumber/TR.php | 8 +++----- src/Validator/PhoneNumber/TT.php | 8 +++----- src/Validator/PhoneNumber/TV.php | 8 +++----- src/Validator/PhoneNumber/TW.php | 8 +++----- src/Validator/PhoneNumber/TZ.php | 8 +++----- src/Validator/PhoneNumber/UA.php | 8 +++----- src/Validator/PhoneNumber/UG.php | 8 +++----- src/Validator/PhoneNumber/US.php | 8 +++----- src/Validator/PhoneNumber/UY.php | 8 +++----- src/Validator/PhoneNumber/UZ.php | 8 +++----- src/Validator/PhoneNumber/VA.php | 8 +++----- src/Validator/PhoneNumber/VC.php | 8 +++----- src/Validator/PhoneNumber/VE.php | 8 +++----- src/Validator/PhoneNumber/VG.php | 8 +++----- src/Validator/PhoneNumber/VI.php | 8 +++----- src/Validator/PhoneNumber/VN.php | 8 +++----- src/Validator/PhoneNumber/VU.php | 8 +++----- src/Validator/PhoneNumber/WF.php | 8 +++----- src/Validator/PhoneNumber/WS.php | 8 +++----- src/Validator/PhoneNumber/XK.php | 8 +++----- src/Validator/PhoneNumber/YE.php | 8 +++----- src/Validator/PhoneNumber/YT.php | 8 +++----- src/Validator/PhoneNumber/ZA.php | 8 +++----- src/Validator/PhoneNumber/ZM.php | 8 +++----- src/Validator/PhoneNumber/ZW.php | 8 +++----- src/Validator/PostCode.php | 8 +++----- src/View/Helper/AbstractTranslatorHelper.php | 8 +++----- src/View/Helper/CurrencyFormat.php | 8 +++----- src/View/Helper/DateFormat.php | 8 +++----- src/View/Helper/NumberFormat.php | 9 +++------ src/View/Helper/Plural.php | 8 +++----- src/View/Helper/Translate.php | 8 +++----- src/View/Helper/TranslatePlural.php | 8 +++----- src/View/HelperConfig.php | 8 +++----- test/Filter/AlnumTest.php | 8 +++----- test/Filter/AlphaTest.php | 8 +++----- test/Filter/NumberFormatTest.php | 8 +++----- test/Filter/NumberParseTest.php | 8 +++----- test/ModuleTest.php | 6 +++--- test/TestAsset/ModuleEventInterface.php | 6 +++--- test/TestAsset/ModuleManagerInterface.php | 6 +++--- test/TestAsset/ServiceListenerInterface.php | 6 +++--- test/Translator/Loader/GettextTest.php | 8 +++----- test/Translator/Loader/IniTest.php | 8 +++----- test/Translator/Loader/PhpArrayTest.php | 8 +++----- test/Translator/Loader/PhpMemoryArrayTest.php | 8 +++----- test/Translator/LoaderPluginManagerCompatibilityTest.php | 8 +++----- test/Translator/LoaderPluginManagerFactoryTest.php | 6 +++--- test/Translator/Plural/RuleTest.php | 8 +++----- test/Translator/TestAsset/Loader.php | 8 +++----- test/Translator/TextDomainTest.php | 8 +++----- test/Translator/TranslatorAwareTraitTest.php | 8 +++----- test/Translator/TranslatorServiceFactoryTest.php | 8 +++----- test/Translator/TranslatorTest.php | 8 +++----- test/Translator/_files/failed.php | 8 +++----- .../_files/phpmemoryarray/translation_empty.php | 8 +++----- test/Translator/_files/phpmemoryarray/translation_en.php | 8 +++----- test/Translator/_files/testarray/translation-de_DE.php | 8 +++----- test/Translator/_files/testarray/translation-en_US.php | 8 +++----- .../testarray/translation-more-de_DE-incompatible.php | 8 +++----- .../_files/testarray/translation-more-de_DE.php | 8 +++----- .../_files/testarray/translation-more-en_US.php | 8 +++----- .../_files/testarray/translation-noplural-ja_JP.php | 8 +++----- test/Translator/_files/translation_empty.php | 8 +++----- test/Translator/_files/translation_en.php | 8 +++----- test/Validator/AlnumTest.php | 8 +++----- test/Validator/AlphaTest.php | 8 +++----- test/Validator/DateTimeTest.php | 8 +++----- test/Validator/FloatTest.php | 8 +++----- test/Validator/IntTest.php | 8 +++----- test/Validator/IsFloatTest.php | 8 +++----- test/Validator/IsIntTest.php | 8 +++----- test/Validator/PhoneNumberTest.php | 8 +++----- test/Validator/PostCodeTest.php | 8 +++----- test/View/Helper/CurrencyFormatTest.php | 8 +++----- test/View/Helper/DateFormatTest.php | 8 +++----- test/View/Helper/NumberFormatTest.php | 8 +++----- test/View/Helper/PluralTest.php | 8 +++----- test/View/Helper/TranslatePluralTest.php | 8 +++----- test/View/Helper/TranslateTest.php | 8 +++----- 339 files changed, 1017 insertions(+), 1680 deletions(-) diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 8ac07869..f0921e68 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -1,8 +1,8 @@ Date: Thu, 26 Sep 2019 12:31:21 +0100 Subject: [PATCH 2/5] Update copyright year in LICENSE.md --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index d44ab5dc..4bc22a4a 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -Copyright (c) 2005-2018, Zend Technologies USA, Inc. +Copyright (c) 2005-2019, Zend Technologies USA, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, From 168eb5c79ed02aae56529f3bb3542cb7fd405382 Mon Sep 17 00:00:00 2001 From: webimpress Date: Thu, 26 Sep 2019 12:35:23 +0100 Subject: [PATCH 3/5] Fixes links in the documentation - docs.zendframework.com - https instead of http --- docs/book/filters.md | 8 ++++---- docs/book/view-helpers.md | 8 ++++---- src/Validator/IsFloat.php | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/book/filters.md b/docs/book/filters.md index 6c9cd485..db943a18 100644 --- a/docs/book/filters.md +++ b/docs/book/filters.md @@ -106,11 +106,11 @@ NumberFormat([ string $locale [, int $style [, int $type ]]]) (`Locale::getDefault()`). Methods for getting/setting the locale are also available (`getLocale()` and `setLocale()`). - `$style`: (Optional) Style of the formatting, one of the [`NumberFormatter` - format style constants](http://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.unumberformatstyle). + format style constants](https://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.unumberformatstyle). If unset, it will use `NumberFormatter::DEFAULT_STYLE` as the default style. Methods for getting/setting the format style are also available (`getStyle()` and `setStyle()`). -- `$type`: (Optional) The [`NumberFormatter` formatting type](http://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.types) +- `$type`: (Optional) The [`NumberFormatter` formatting type](https://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.types) to use. If unset, it will use `NumberFormatter::TYPE_DOUBLE` as the default type. Methods for getting/setting the format type are also available (`getType()` and `setType()`). @@ -148,11 +148,11 @@ NumberParse([ string $locale [, int $style [, int $type ]]]) (locale name, e.g. `en_US`). If unset, it will use the default locale (`Locale::getDefault()`). Methods for getting/setting the locale are also available (`getLocale()` and `setLocale()`). -- `$style`: (Optional) Style of the parsing, one of the [`NumberFormatter` format style constants](http://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.unumberformatstyle). +- `$style`: (Optional) Style of the parsing, one of the [`NumberFormatter` format style constants](https://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.unumberformatstyle). If unset, it will use `NumberFormatter::DEFAULT_STYLE` as the default style. Methods for getting/setting the parse style are also available (`getStyle()` and `setStyle()`). -- `$type`: (Optional) The [`NumberFormatter` parsing type](http://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.types) +- `$type`: (Optional) The [`NumberFormatter` parsing type](https://www.php.net/manual/class.numberformatter.php#intl.numberformatter-constants.types) to use. If unset, it will use `NumberFormatter::TYPE_DOUBLE` as the default type. Methods for getting/setting the parse type are also available (`getType()` and `setType()`). diff --git a/docs/book/view-helpers.md b/docs/book/view-helpers.md index 48d93612..03064225 100644 --- a/docs/book/view-helpers.md +++ b/docs/book/view-helpers.md @@ -4,7 +4,7 @@ zend-i18n ships with a set of zend-view helper classes related to internationalization: e.g., formatting a date, formatting currency, or displaying translated content. -See the [zend-view helpers documentation](http://framework.zend.com/manual/current/en/modules/zend.view.helpers.html#zend-view-helpers) +See the [zend-view helpers documentation](https://docs.zendframework.com/zend-view/helpers/intro/) for more information. ## CurrencyFormat Helper @@ -135,7 +135,7 @@ setCurrencyPattern(string $currencyPattern) : CurrencyFormat ``` where `$currencyPattern` is a valid [ICU DecimalFormat pattern](http://www.icu-project.org/apiref/icu4c/classDecimalFormat.html#details); -see the [NumberFormatter::setPattern() documentation](http://php.net/manual/numberformatter.setpattern.php) +see the [NumberFormatter::setPattern() documentation](https://www.php.net/manual/numberformatter.setpattern.php) for more information. ## DateFormat Helper @@ -194,10 +194,10 @@ where: representing a Unix timestamp value, or an array in the format returned by `localtime()`. - `$dateType`: Date type to use (none, short, medium, long, full). This is one - of the [IntlDateFormatter constants](http://www.php.net/manual/class.intldateformatter.php#intl.intldateformatter-constants). + of the [IntlDateFormatter constants](https://www.php.net/manual/class.intldateformatter.php#intl.intldateformatter-constants). Defaults to `IntlDateFormatter::NONE`. - `$timeType`: Time type to use (none, short, medium, long, full). This is one - of the [IntlDateFormatter constants](http://www.php.net/manual/class.intldateformatter.php#intl.intldateformatter-constants). + of the [IntlDateFormatter constants](https://www.php.net/manual/class.intldateformatter.php#intl.intldateformatter-constants). Defaults to `IntlDateFormatter::NONE`. - `$locale`: Locale in which the date would be formatted (locale name, e.g. `en_US`). If unset, it will use the default locale (return value of diff --git a/src/Validator/IsFloat.php b/src/Validator/IsFloat.php index 08303993..d21d2add 100644 --- a/src/Validator/IsFloat.php +++ b/src/Validator/IsFloat.php @@ -99,7 +99,7 @@ public function setLocale($locale) /** * Returns true if and only if $value is a floating-point value. Uses the formal definition of a float as described - * in the PHP manual: {@link http://www.php.net/float} + * in the PHP manual: {@link https://www.php.net/float} * * @param string $value * @return bool @@ -212,7 +212,7 @@ public function isValid($value) * the integer and decimal notations so add that. This also checks * that a grouping sperator is not in the last GROUPING_SIZE graphemes * of the string - i.e. 10,6 is not valid for en-US. - * @see http://www.php.net/float + * @see https://www.php.net/float */ $lnum = '[' . $numberRange . ']+'; From 3cd27f26a898e732ec991388bdcef0b83c209286 Mon Sep 17 00:00:00 2001 From: webimpress Date: Thu, 26 Sep 2019 12:40:51 +0100 Subject: [PATCH 4/5] PHPUnit update --- composer.json | 2 +- composer.lock | 467 +++++++++--------- test/Filter/AlnumTest.php | 2 +- test/Filter/AlphaTest.php | 2 +- test/Filter/NumberFormatTest.php | 2 +- test/Filter/NumberParseTest.php | 2 +- test/ModuleTest.php | 2 +- test/Translator/Loader/GettextTest.php | 4 +- test/Translator/Loader/IniTest.php | 4 +- test/Translator/Loader/PhpArrayTest.php | 4 +- test/Translator/Loader/PhpMemoryArrayTest.php | 4 +- test/Translator/TranslatorTest.php | 4 +- test/Validator/AlnumTest.php | 2 +- test/Validator/AlphaTest.php | 2 +- test/Validator/DateTimeTest.php | 4 +- test/Validator/FloatTest.php | 6 +- test/Validator/IntTest.php | 6 +- test/Validator/IsFloatTest.php | 4 +- test/Validator/IsIntTest.php | 4 +- test/Validator/PhoneNumberTest.php | 2 +- test/Validator/PostCodeTest.php | 2 +- test/View/Helper/CurrencyFormatTest.php | 2 +- test/View/Helper/DateFormatTest.php | 4 +- test/View/Helper/NumberFormatTest.php | 4 +- test/View/Helper/PluralTest.php | 2 +- test/View/Helper/TranslatePluralTest.php | 4 +- test/View/Helper/TranslateTest.php | 4 +- 27 files changed, 283 insertions(+), 268 deletions(-) diff --git a/composer.json b/composer.json index 3235805c..3597ff09 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "zendframework/zend-stdlib": "^2.7 || ^3.0" }, "require-dev": { - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2", + "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.16", "zendframework/zend-cache": "^2.6.1", "zendframework/zend-coding-standard": "~1.0.0", "zendframework/zend-config": "^2.6", diff --git a/composer.lock b/composer.lock index 9bf1dead..060040c9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "ec60cdd072a1f99defcd2077c4eda261", + "content-hash": "7ef021512fc5c8b2657b4651b2d9c668", "packages": [ { "name": "zendframework/zend-stdlib", @@ -86,27 +86,29 @@ }, { "name": "doctrine/instantiator", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda" + "reference": "a2c590166b2133a4633738648b6b064edae0814a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a", + "reference": "a2c590166b2133a4633738648b6b064edae0814a", "shasum": "" }, "require": { "php": "^7.1" }, "require-dev": { - "athletic/athletic": "~0.1.8", + "doctrine/coding-standard": "^6.0", "ext-pdo": "*", "ext-phar": "*", - "phpunit/phpunit": "^6.2.3", - "squizlabs/php_codesniffer": "^3.0.2" + "phpbench/phpbench": "^0.13", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-shim": "^0.11", + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { @@ -131,34 +133,37 @@ } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ "constructor", "instantiate" ], - "time": "2017-07-22T11:58:36+00:00" + "time": "2019-03-17T17:37:11+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.7.0", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" + "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/007c053ae6f31bba39dfa19a7726f56e9763bbea", + "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^7.1" + }, + "replace": { + "myclabs/deep-copy": "self.version" }, "require-dev": { "doctrine/collections": "^1.0", "doctrine/common": "^2.6", - "phpunit/phpunit": "^4.1" + "phpunit/phpunit": "^7.1" }, "type": "library", "autoload": { @@ -181,26 +186,26 @@ "object", "object graph" ], - "time": "2017-10-19T19:58:43+00:00" + "time": "2019-08-09T12:45:53+00:00" }, { "name": "phar-io/manifest", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" + "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", + "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", "shasum": "" }, "require": { "ext-dom": "*", "ext-phar": "*", - "phar-io/version": "^1.0.1", + "phar-io/version": "^2.0", "php": "^5.6 || ^7.0" }, "type": "library", @@ -236,20 +241,20 @@ } ], "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "time": "2017-03-05T18:14:27+00:00" + "time": "2018-07-08T19:23:20+00:00" }, { "name": "phar-io/version", - "version": "1.0.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", + "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6", + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6", "shasum": "" }, "require": { @@ -283,39 +288,37 @@ } ], "description": "Library for handling version information and constraints", - "time": "2017-03-05T17:38:23+00:00" + "time": "2018-07-08T19:19:57+00:00" }, { "name": "phpdocumentor/reflection-common", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/63a995caa1ca9e5590304cd845c15ad6d482a62a", + "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a", "shasum": "" }, "require": { - "php": ">=5.5" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "^4.6" + "phpunit/phpunit": "~6" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] + "phpDocumentor\\Reflection\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -337,30 +340,30 @@ "reflection", "static analysis" ], - "time": "2017-09-11T18:02:19+00:00" + "time": "2018-08-07T13:53:10+00:00" }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.3.0", + "version": "4.3.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08" + "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/b83ff7cfcfee7827e1e78b637a5904fe6a96698e", + "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e", "shasum": "" }, "require": { "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0", - "phpdocumentor/type-resolver": "^0.4.0", + "phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0", + "phpdocumentor/type-resolver": "~0.4 || ^1.0.0", "webmozart/assert": "^1.0" }, "require-dev": { - "doctrine/instantiator": "~1.0.5", + "doctrine/instantiator": "^1.0.5", "mockery/mockery": "^1.0", "phpunit/phpunit": "^6.4" }, @@ -388,41 +391,40 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-30T07:14:17+00:00" + "time": "2019-09-12T14:27:41+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.4.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" + "reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", + "reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", "shasum": "" }, "require": { - "php": "^5.5 || ^7.0", - "phpdocumentor/reflection-common": "^1.0" + "php": "^7.1", + "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" + "ext-tokenizer": "^7.1", + "mockery/mockery": "~1", + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "phpDocumentor\\Reflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -435,42 +437,43 @@ "email": "me@mikevanriel.com" } ], - "time": "2017-07-14T14:27:02+00:00" + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "time": "2019-08-22T18:11:29+00:00" }, { "name": "phpspec/prophecy", - "version": "1.7.5", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401" + "reference": "1927e75f4ed19131ec9bcc3b002e07fb1173ee76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/1927e75f4ed19131ec9bcc3b002e07fb1173ee76", + "reference": "1927e75f4ed19131ec9bcc3b002e07fb1173ee76", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0", + "sebastian/comparator": "^1.1|^2.0|^3.0", "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7.x-dev" + "dev-master": "1.8.x-dev" } }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" + "psr-4": { + "Prophecy\\": "src/Prophecy" } }, "notification-url": "https://packagist.org/downloads/", @@ -498,31 +501,31 @@ "spy", "stub" ], - "time": "2018-02-19T10:16:54+00:00" + "time": "2019-06-13T12:50:23+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "6.0.3", + "version": "6.1.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "774a82c0c5da4c1c7701790c262035d235ab7856" + "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/774a82c0c5da4c1c7701790c262035d235ab7856", - "reference": "774a82c0c5da4c1c7701790c262035d235ab7856", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/807e6013b00af69b6c5d9ceb4282d0393dbb9d8d", + "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d", "shasum": "" }, "require": { "ext-dom": "*", "ext-xmlwriter": "*", "php": "^7.1", - "phpunit/php-file-iterator": "^1.4.2", + "phpunit/php-file-iterator": "^2.0", "phpunit/php-text-template": "^1.2.1", "phpunit/php-token-stream": "^3.0", "sebastian/code-unit-reverse-lookup": "^1.0.1", - "sebastian/environment": "^3.1", + "sebastian/environment": "^3.1 || ^4.0", "sebastian/version": "^2.0.1", "theseer/tokenizer": "^1.1" }, @@ -535,7 +538,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "6.1-dev" } }, "autoload": { @@ -561,29 +564,32 @@ "testing", "xunit" ], - "time": "2018-04-06T15:39:20+00:00" + "time": "2018-10-31T16:06:48+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.5", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" + "reference": "050bedf145a257b1ff02746c31894800e5122946" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946", + "reference": "050bedf145a257b1ff02746c31894800e5122946", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -598,7 +604,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -608,7 +614,7 @@ "filesystem", "iterator" ], - "time": "2017-11-27T13:52:08+00:00" + "time": "2018-09-13T20:33:42+00:00" }, { "name": "phpunit/php-text-template", @@ -653,16 +659,16 @@ }, { "name": "phpunit/php-timer", - "version": "2.0.0", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f" + "reference": "1038454804406b0b5f5f520358e78c1c2f71501e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8b8454ea6958c3dee38453d3bd571e023108c91f", - "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/1038454804406b0b5f5f520358e78c1c2f71501e", + "reference": "1038454804406b0b5f5f520358e78c1c2f71501e", "shasum": "" }, "require": { @@ -674,7 +680,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } }, "autoload": { @@ -698,20 +704,20 @@ "keywords": [ "timer" ], - "time": "2018-02-01T13:07:23+00:00" + "time": "2019-06-07T04:22:29+00:00" }, { "name": "phpunit/php-token-stream", - "version": "3.0.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace" + "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/21ad88bbba7c3d93530d93994e0a33cd45f02ace", - "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/995192df77f63a59e47f025390d2d1fdf8f425ff", + "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff", "shasum": "" }, "require": { @@ -724,7 +730,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -747,51 +753,55 @@ "keywords": [ "tokenizer" ], - "time": "2018-02-01T13:16:43+00:00" + "time": "2019-09-17T06:23:10+00:00" }, { "name": "phpunit/phpunit", - "version": "7.1.2", + "version": "7.5.16", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "6a17c170fb92845896e1b3b00fcb462cd4b3c017" + "reference": "316afa6888d2562e04aeb67ea7f2017a0eb41661" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/6a17c170fb92845896e1b3b00fcb462cd4b3c017", - "reference": "6a17c170fb92845896e1b3b00fcb462cd4b3c017", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/316afa6888d2562e04aeb67ea7f2017a0eb41661", + "reference": "316afa6888d2562e04aeb67ea7f2017a0eb41661", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.1", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "^1.6.1", - "phar-io/manifest": "^1.0.1", - "phar-io/version": "^1.0", + "myclabs/deep-copy": "^1.7", + "phar-io/manifest": "^1.0.2", + "phar-io/version": "^2.0", "php": "^7.1", "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^6.0.1", - "phpunit/php-file-iterator": "^1.4.3", + "phpunit/php-code-coverage": "^6.0.7", + "phpunit/php-file-iterator": "^2.0.1", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-timer": "^2.0", - "phpunit/phpunit-mock-objects": "^6.1", - "sebastian/comparator": "^2.1", + "phpunit/php-timer": "^2.1", + "sebastian/comparator": "^3.0", "sebastian/diff": "^3.0", - "sebastian/environment": "^3.1", + "sebastian/environment": "^4.0", "sebastian/exporter": "^3.1", "sebastian/global-state": "^2.0", "sebastian/object-enumerator": "^3.0.3", - "sebastian/resource-operations": "^1.0", + "sebastian/resource-operations": "^2.0", "sebastian/version": "^2.0.1" }, + "conflict": { + "phpunit/phpunit-mock-objects": "*" + }, "require-dev": { "ext-pdo": "*" }, "suggest": { + "ext-soap": "*", "ext-xdebug": "*", "phpunit/php-invoker": "^2.0" }, @@ -801,7 +811,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.1-dev" + "dev-master": "7.5-dev" } }, "autoload": { @@ -827,63 +837,7 @@ "testing", "xunit" ], - "time": "2018-04-10T11:40:22+00:00" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "6.1.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "70c740bde8fd9ea9ea295be1cd875dd7b267e157" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/70c740bde8fd9ea9ea295be1cd875dd7b267e157", - "reference": "70c740bde8fd9ea9ea295be1cd875dd7b267e157", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.5", - "php": "^7.1", - "phpunit/php-text-template": "^1.2.1", - "sebastian/exporter": "^3.1" - }, - "require-dev": { - "phpunit/phpunit": "^7.0" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "time": "2018-04-11T04:50:36+00:00" + "time": "2019-09-14T09:08:39+00:00" }, { "name": "psr/container", @@ -981,30 +935,30 @@ }, { "name": "sebastian/comparator", - "version": "2.1.3", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" + "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da", + "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da", "shasum": "" }, "require": { - "php": "^7.0", - "sebastian/diff": "^2.0 || ^3.0", + "php": "^7.1", + "sebastian/diff": "^3.0", "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "^6.4" + "phpunit/phpunit": "^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1041,27 +995,27 @@ "compare", "equality" ], - "time": "2018-02-01T13:46:46+00:00" + "time": "2018-07-12T15:12:46+00:00" }, { "name": "sebastian/diff", - "version": "3.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8" + "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/e09160918c66281713f1c324c1f4c4c3037ba1e8", - "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29", + "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29", "shasum": "" }, "require": { "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^7.0", + "phpunit/phpunit": "^7.5 || ^8.0", "symfony/process": "^2 || ^3.3 || ^4" }, "type": "library", @@ -1097,32 +1051,35 @@ "unidiff", "unified diff" ], - "time": "2018-02-01T13:45:15+00:00" + "time": "2019-02-04T06:01:07+00:00" }, { "name": "sebastian/environment", - "version": "3.1.0", + "version": "4.2.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5" + "reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5", - "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/f2a2c8e1c97c11ace607a7a667d73d47c19fe404", + "reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404", "shasum": "" }, "require": { - "php": "^7.0" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^6.1" + "phpunit/phpunit": "^7.5" + }, + "suggest": { + "ext-posix": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1.x-dev" + "dev-master": "4.2-dev" } }, "autoload": { @@ -1147,20 +1104,20 @@ "environment", "hhvm" ], - "time": "2017-07-01T08:51:00+00:00" + "time": "2019-05-05T09:05:15+00:00" }, { "name": "sebastian/exporter", - "version": "3.1.0", + "version": "3.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "234199f4528de6d12aaa58b612e98f7d36adb937" + "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937", - "reference": "234199f4528de6d12aaa58b612e98f7d36adb937", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/68609e1261d215ea5b21b7987539cbfbe156ec3e", + "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e", "shasum": "" }, "require": { @@ -1187,6 +1144,10 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, { "name": "Jeff Welch", "email": "whatthejeff@gmail.com" @@ -1195,17 +1156,13 @@ "name": "Volker Dusch", "email": "github@wallbash.com" }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, { "name": "Adam Harvey", "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], "description": "Provides the functionality to export PHP variables for visualization", @@ -1214,7 +1171,7 @@ "export", "exporter" ], - "time": "2017-04-03T13:19:02+00:00" + "time": "2019-09-14T09:02:43+00:00" }, { "name": "sebastian/global-state", @@ -1414,25 +1371,25 @@ }, { "name": "sebastian/resource-operations", - "version": "1.0.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" + "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9", + "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9", "shasum": "" }, "require": { - "php": ">=5.6.0" + "php": "^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1452,7 +1409,7 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28T20:34:47+00:00" + "time": "2018-10-04T04:07:39+00:00" }, { "name": "sebastian/version", @@ -1575,18 +1532,76 @@ ], "time": "2017-05-22T02:43:20+00:00" }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.12.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "550ebaac289296ce228a706d0867afc34687e3f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4", + "reference": "550ebaac289296ce228a706d0867afc34687e3f4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.12-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "time": "2019-08-06T08:03:45+00:00" + }, { "name": "theseer/tokenizer", - "version": "1.1.0", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9", + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9", "shasum": "" }, "require": { @@ -1613,28 +1628,28 @@ } ], "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "time": "2017-04-07T12:08:54+00:00" + "time": "2019-06-13T22:48:21+00:00" }, { "name": "webmozart/assert", - "version": "1.3.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a" + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a", + "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4", + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^5.3.3 || ^7.0", + "symfony/polyfill-ctype": "^1.8" }, "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", "extra": { @@ -1663,7 +1678,7 @@ "check", "validate" ], - "time": "2018-01-29T19:49:41+00:00" + "time": "2019-08-24T08:43:50+00:00" }, { "name": "zendframework/zend-cache", diff --git a/test/Filter/AlnumTest.php b/test/Filter/AlnumTest.php index d215be4e..2f9e35dc 100644 --- a/test/Filter/AlnumTest.php +++ b/test/Filter/AlnumTest.php @@ -49,7 +49,7 @@ class AlnumTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/Filter/AlphaTest.php b/test/Filter/AlphaTest.php index 903ae4b2..71a6bf94 100644 --- a/test/Filter/AlphaTest.php +++ b/test/Filter/AlphaTest.php @@ -49,7 +49,7 @@ class AlphaTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/Filter/NumberFormatTest.php b/test/Filter/NumberFormatTest.php index 14dbbfbe..07a4a045 100644 --- a/test/Filter/NumberFormatTest.php +++ b/test/Filter/NumberFormatTest.php @@ -13,7 +13,7 @@ class NumberFormatTest extends TestCase { - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/Filter/NumberParseTest.php b/test/Filter/NumberParseTest.php index 3b69dae4..b9e79b0f 100644 --- a/test/Filter/NumberParseTest.php +++ b/test/Filter/NumberParseTest.php @@ -13,7 +13,7 @@ class NumberParseTest extends TestCase { - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/ModuleTest.php b/test/ModuleTest.php index 852d31b2..861e5a55 100644 --- a/test/ModuleTest.php +++ b/test/ModuleTest.php @@ -13,7 +13,7 @@ class ModuleTest extends TestCase { - public function setUp() + protected function setUp() { $this->module = new Module(); } diff --git a/test/Translator/Loader/GettextTest.php b/test/Translator/Loader/GettextTest.php index 4cb7e581..6718fcf3 100644 --- a/test/Translator/Loader/GettextTest.php +++ b/test/Translator/Loader/GettextTest.php @@ -17,7 +17,7 @@ class GettextTest extends TestCase protected $originalLocale; protected $originalIncludePath; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -32,7 +32,7 @@ public function setUp() set_include_path($this->testFilesDir . PATH_SEPARATOR . $this->testFilesDir . '/translations.phar'); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->originalLocale); diff --git a/test/Translator/Loader/IniTest.php b/test/Translator/Loader/IniTest.php index 359db41f..b7964fb8 100644 --- a/test/Translator/Loader/IniTest.php +++ b/test/Translator/Loader/IniTest.php @@ -16,7 +16,7 @@ class IniTest extends TestCase protected $originalLocale; protected $originalIncludePath; - public function setUp() + protected function setUp() { $this->testFilesDir = realpath(__DIR__ . '/../_files'); @@ -24,7 +24,7 @@ public function setUp() set_include_path($this->testFilesDir . PATH_SEPARATOR . $this->testFilesDir . '/translations.phar'); } - public function tearDown() + protected function tearDown() { set_include_path($this->originalIncludePath); } diff --git a/test/Translator/Loader/PhpArrayTest.php b/test/Translator/Loader/PhpArrayTest.php index 1035c1ff..3ebe8c95 100644 --- a/test/Translator/Loader/PhpArrayTest.php +++ b/test/Translator/Loader/PhpArrayTest.php @@ -17,7 +17,7 @@ class PhpArrayTest extends TestCase protected $originalLocale; protected $originalIncludePath; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -32,7 +32,7 @@ public function setUp() set_include_path($this->testFilesDir . PATH_SEPARATOR . $this->testFilesDir . '/translations.phar'); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->originalLocale); diff --git a/test/Translator/Loader/PhpMemoryArrayTest.php b/test/Translator/Loader/PhpMemoryArrayTest.php index 9eeffef4..6348a27a 100644 --- a/test/Translator/Loader/PhpMemoryArrayTest.php +++ b/test/Translator/Loader/PhpMemoryArrayTest.php @@ -17,7 +17,7 @@ class PhpMemoryArrayTest extends TestCase protected $originalLocale; protected $originalIncludePath; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -29,7 +29,7 @@ public function setUp() $this->testFilesDir = realpath(__DIR__ . '/../_files/phpmemoryarray'); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->originalLocale); diff --git a/test/Translator/TranslatorTest.php b/test/Translator/TranslatorTest.php index d85e05a3..bc031c01 100644 --- a/test/Translator/TranslatorTest.php +++ b/test/Translator/TranslatorTest.php @@ -33,7 +33,7 @@ class TranslatorTest extends TestCase */ protected $testFilesDir; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -47,7 +47,7 @@ public function setUp() $this->testFilesDir = __DIR__ . '/_files'; } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->originalLocale); diff --git a/test/Validator/AlnumTest.php b/test/Validator/AlnumTest.php index 77521269..cee87e1d 100644 --- a/test/Validator/AlnumTest.php +++ b/test/Validator/AlnumTest.php @@ -25,7 +25,7 @@ class AlnumTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/Validator/AlphaTest.php b/test/Validator/AlphaTest.php index ec225aab..3c8b84d6 100644 --- a/test/Validator/AlphaTest.php +++ b/test/Validator/AlphaTest.php @@ -20,7 +20,7 @@ class AlphaTest extends TestCase */ protected $validator; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/Validator/DateTimeTest.php b/test/Validator/DateTimeTest.php index d4045e34..6907b595 100644 --- a/test/Validator/DateTimeTest.php +++ b/test/Validator/DateTimeTest.php @@ -30,7 +30,7 @@ class DateTimeTest extends TestCase */ protected $timezone; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -45,7 +45,7 @@ public function setUp() ]); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->locale); diff --git a/test/Validator/FloatTest.php b/test/Validator/FloatTest.php index fa95f2a8..4a1f50fe 100644 --- a/test/Validator/FloatTest.php +++ b/test/Validator/FloatTest.php @@ -26,7 +26,7 @@ class FloatTest extends TestCase */ protected $locale; - public function setUp() + protected function setUp() { if (version_compare(PHP_VERSION, '7.0', '>=')) { $this->markTestSkipped('Cannot test Float validator under PHP 7; reserved keyword'); @@ -39,7 +39,7 @@ public function setUp() $this->locale = Locale::getDefault(); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->locale); @@ -48,7 +48,7 @@ public function tearDown() public function testConstructorRaisesDeprecationNotice() { - $this->setExpectedException('PHPUnit_Framework_Error_Deprecated'); + $this->expectException('PHPUnit_Framework_Error_Deprecated'); new FloatValidator(); } } diff --git a/test/Validator/IntTest.php b/test/Validator/IntTest.php index f496b46a..5ee3211d 100644 --- a/test/Validator/IntTest.php +++ b/test/Validator/IntTest.php @@ -26,7 +26,7 @@ class IntTest extends TestCase */ protected $locale; - public function setUp() + protected function setUp() { if (version_compare(PHP_VERSION, '7.0', '>=')) { $this->markTestSkipped('Cannot test Int validator under PHP 7; reserved keyword'); @@ -39,7 +39,7 @@ public function setUp() $this->locale = Locale::getDefault(); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->locale); @@ -48,7 +48,7 @@ public function tearDown() public function testConstructorRaisesDeprecationNotice() { - $this->setExpectedException('PHPUnit_Framework_Error_Deprecated'); + $this->expectException('PHPUnit_Framework_Error_Deprecated'); new IntValidator(); } } diff --git a/test/Validator/IsFloatTest.php b/test/Validator/IsFloatTest.php index 25a06d82..6231d6bf 100644 --- a/test/Validator/IsFloatTest.php +++ b/test/Validator/IsFloatTest.php @@ -27,7 +27,7 @@ class IsFloatTest extends TestCase */ protected $locale; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -37,7 +37,7 @@ public function setUp() $this->validator = new IsFloatValidator(['locale' => 'en']); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->locale); diff --git a/test/Validator/IsIntTest.php b/test/Validator/IsIntTest.php index bb18cb25..bd2551bc 100644 --- a/test/Validator/IsIntTest.php +++ b/test/Validator/IsIntTest.php @@ -27,7 +27,7 @@ class IsIntTest extends TestCase */ protected $locale; - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -37,7 +37,7 @@ public function setUp() $this->validator = new IsIntValidator(); } - public function tearDown() + protected function tearDown() { if (extension_loaded('intl')) { Locale::setDefault($this->locale); diff --git a/test/Validator/PhoneNumberTest.php b/test/Validator/PhoneNumberTest.php index c836fa93..b81a4ae0 100644 --- a/test/Validator/PhoneNumberTest.php +++ b/test/Validator/PhoneNumberTest.php @@ -3049,7 +3049,7 @@ class PhoneNumberTest extends TestCase ], ]; - public function setUp() + protected function setUp() { $this->validator = new PhoneNumber(); } diff --git a/test/Validator/PostCodeTest.php b/test/Validator/PostCodeTest.php index 1c97c345..bc673c70 100644 --- a/test/Validator/PostCodeTest.php +++ b/test/Validator/PostCodeTest.php @@ -25,7 +25,7 @@ class PostCodeTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/View/Helper/CurrencyFormatTest.php b/test/View/Helper/CurrencyFormatTest.php index afe5e727..f9672dc4 100644 --- a/test/View/Helper/CurrencyFormatTest.php +++ b/test/View/Helper/CurrencyFormatTest.php @@ -28,7 +28,7 @@ class CurrencyFormatTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/View/Helper/DateFormatTest.php b/test/View/Helper/DateFormatTest.php index b838397d..f90610c6 100644 --- a/test/View/Helper/DateFormatTest.php +++ b/test/View/Helper/DateFormatTest.php @@ -32,7 +32,7 @@ class DateFormatTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! interface_exists('Zend\View\Helper\HelperInterface')) { $this->markTestSkipped( @@ -54,7 +54,7 @@ public function setUp() * * @return void */ - public function tearDown() + protected function tearDown() { unset($this->helper); } diff --git a/test/View/Helper/NumberFormatTest.php b/test/View/Helper/NumberFormatTest.php index c8b2a920..a5abd1ac 100644 --- a/test/View/Helper/NumberFormatTest.php +++ b/test/View/Helper/NumberFormatTest.php @@ -31,7 +31,7 @@ class NumberFormatTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); @@ -46,7 +46,7 @@ public function setUp() * * @return void */ - public function tearDown() + protected function tearDown() { unset($this->helper); } diff --git a/test/View/Helper/PluralTest.php b/test/View/Helper/PluralTest.php index 695f328b..f4f48ceb 100644 --- a/test/View/Helper/PluralTest.php +++ b/test/View/Helper/PluralTest.php @@ -26,7 +26,7 @@ class PluralTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { if (! extension_loaded('intl')) { $this->markTestSkipped('ext/intl not enabled'); diff --git a/test/View/Helper/TranslatePluralTest.php b/test/View/Helper/TranslatePluralTest.php index 6f25577f..f2073daf 100644 --- a/test/View/Helper/TranslatePluralTest.php +++ b/test/View/Helper/TranslatePluralTest.php @@ -27,7 +27,7 @@ class TranslatePluralTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { $this->helper = new TranslatePluralHelper(); } @@ -38,7 +38,7 @@ public function setUp() * * @return void */ - public function tearDown() + protected function tearDown() { unset($this->helper); } diff --git a/test/View/Helper/TranslateTest.php b/test/View/Helper/TranslateTest.php index 72fca2d0..a415a8dc 100644 --- a/test/View/Helper/TranslateTest.php +++ b/test/View/Helper/TranslateTest.php @@ -27,7 +27,7 @@ class TranslateTest extends TestCase * * @return void */ - public function setUp() + protected function setUp() { $this->helper = new TranslateHelper(); } @@ -38,7 +38,7 @@ public function setUp() * * @return void */ - public function tearDown() + protected function tearDown() { unset($this->helper); } From f02ae606e545addf0b248fa985bdee8726306688 Mon Sep 17 00:00:00 2001 From: webimpress Date: Thu, 26 Sep 2019 12:46:46 +0100 Subject: [PATCH 5/5] release: 2.9.1 readiness --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 807ab0f3..034f3df0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. -## 2.9.1 - TBD +## 2.9.1 - 2019-09-26 ### Added