Version Description
(07.12.2020) = * Tested up to WordPress 5.6 * Tested on PHP 5.6 - 8.0
Download this release
Release Info
| Developer | mihdan |
| Plugin | |
| Version | 4.5.1 |
| Comparing to | |
| See all releases | |
Code changes from version 4.5.0 to 4.5.1
- .phpcs.cache +1 -0
- cyr-to-lat.php +4 -4
- dist/js/settings/app.js +0 -1
- languages/cyr2lat-ru_RU.mo +0 -0
- languages/cyr2lat-ru_RU.po +66 -42
- languages/cyr2lat-sv.mo +0 -0
- languages/cyr2lat-uk.mo +0 -0
- readme.txt +6 -2
- vendor/10up/wp_mock/.gitmodules +1 -0
- vendor/10up/wp_mock/CONTRIBUTING.md +26 -0
- vendor/10up/wp_mock/LICENSE.md +368 -0
- vendor/10up/wp_mock/behat.yml +9 -0
- vendor/10up/wp_mock/bootstrap.php.dist +5 -0
- vendor/10up/wp_mock/features/bootstrap/FeatureContext.php +88 -0
- vendor/10up/wp_mock/features/bootstrap/FunctionsContext.php +127 -0
- vendor/10up/wp_mock/features/bootstrap/HooksContext.php +235 -0
- vendor/10up/wp_mock/features/function-mocks.feature +48 -0
- vendor/10up/wp_mock/features/hooks.feature +228 -0
- vendor/10up/wp_mock/php/WP_Mock.php +543 -0
- vendor/10up/wp_mock/php/WP_Mock/API/constant-mocks.php +72 -0
- vendor/10up/wp_mock/php/WP_Mock/API/dummy-files/themes/vip/plugins/vip-init.php +0 -0
- vendor/10up/wp_mock/php/WP_Mock/API/dummy-files/wp-includes/class-http.php +0 -0
- vendor/10up/wp_mock/php/WP_Mock/API/function-mocks.php +161 -0
- vendor/10up/wp_mock/php/WP_Mock/Action.php +77 -0
- vendor/10up/wp_mock/php/WP_Mock/DeprecatedListener.php +119 -0
- vendor/10up/wp_mock/php/WP_Mock/EventManager.php +124 -0
- vendor/10up/wp_mock/php/WP_Mock/Filter.php +76 -0
- vendor/10up/wp_mock/php/WP_Mock/Functions.php +295 -0
- vendor/10up/wp_mock/php/WP_Mock/Handler.php +110 -0
- vendor/10up/wp_mock/php/WP_Mock/Hook.php +88 -0
- vendor/10up/wp_mock/php/WP_Mock/HookedCallback.php +107 -0
- vendor/10up/wp_mock/php/WP_Mock/InvokedFilterValue.php +25 -0
- vendor/10up/wp_mock/php/WP_Mock/Loader.php +149 -0
- vendor/10up/wp_mock/php/WP_Mock/Matcher/FuzzyObject.php +101 -0
- vendor/10up/wp_mock/php/WP_Mock/ReturnSequence.php +39 -0
- vendor/10up/wp_mock/php/WP_Mock/Tools/Constraints/ExpectationsMet.php +40 -0
- vendor/10up/wp_mock/php/WP_Mock/Tools/Constraints/IsEqualHtml.php +21 -0
- vendor/10up/wp_mock/php/WP_Mock/Tools/TestCase.php +319 -0
- vendor/10up/wp_mock/phpdoc.xml +16 -0
- vendor/10up/wp_mock/phpunit.xml.dist +22 -0
- vendor/antecedent/patchwork/.scrutinizer.yml +48 -0
- vendor/antecedent/patchwork/LICENSE +21 -0
- vendor/antecedent/patchwork/Patchwork.php +149 -0
- vendor/autoload.php +1 -1
- vendor/composer/ClassLoader.php +3 -3
- vendor/composer/InstalledVersions.php +819 -0
- vendor/composer/autoload_classmap.php +624 -0
- vendor/composer/autoload_files.php +13 -0
- vendor/composer/autoload_namespaces.php +5 -0
- vendor/composer/autoload_psr4.php +24 -0
- vendor/composer/autoload_real.php +8 -8
- vendor/composer/autoload_static.php +817 -4
- vendor/composer/installed.json +4232 -126
- vendor/composer/installed.php +624 -0
- vendor/doctrine/instantiator/.scrutinizer.yml +46 -0
- vendor/doctrine/instantiator/.travis.install.sh +14 -0
- vendor/doctrine/instantiator/CONTRIBUTING.md +35 -0
- vendor/doctrine/instantiator/LICENSE +19 -0
- vendor/doctrine/instantiator/phpmd.xml.dist +27 -0
- vendor/doctrine/instantiator/phpunit.xml.dist +22 -0
- vendor/guzzlehttp/guzzle/.php_cs +23 -0
- vendor/guzzlehttp/guzzle/Dockerfile +18 -0
- vendor/guzzlehttp/guzzle/LICENSE +19 -0
- vendor/guzzlehttp/guzzle/UPGRADING.md +1203 -0
- vendor/guzzlehttp/promises/.php_cs.dist +88 -0
- vendor/guzzlehttp/promises/LICENSE +19 -0
- vendor/guzzlehttp/promises/phpstan-baseline.neon +7 -0
- vendor/guzzlehttp/promises/phpstan.neon.dist +10 -0
- vendor/guzzlehttp/promises/psalm.xml +15 -0
- vendor/guzzlehttp/psr7/LICENSE +19 -0
- vendor/hamcrest/hamcrest-php/.gush.yml +7 -0
- vendor/hamcrest/hamcrest-php/CHANGES.txt +173 -0
- vendor/hamcrest/hamcrest-php/LICENSE.txt +27 -0
- vendor/hamcrest/hamcrest-php/generator/FactoryCall.php +41 -0
- vendor/hamcrest/hamcrest-php/generator/FactoryClass.php +71 -0
- vendor/hamcrest/hamcrest-php/generator/FactoryFile.php +121 -0
- vendor/hamcrest/hamcrest-php/generator/FactoryGenerator.php +124 -0
- vendor/hamcrest/hamcrest-php/generator/FactoryMethod.php +231 -0
- vendor/hamcrest/hamcrest-php/generator/FactoryParameter.php +131 -0
- vendor/hamcrest/hamcrest-php/generator/GlobalFunctionFile.php +42 -0
- vendor/hamcrest/hamcrest-php/generator/StaticMethodFile.php +38 -0
- vendor/hamcrest/hamcrest-php/generator/parts/file_header.txt +7 -0
- vendor/hamcrest/hamcrest-php/generator/parts/functions_footer.txt +0 -0
- vendor/hamcrest/hamcrest-php/generator/parts/functions_header.txt +24 -0
- vendor/hamcrest/hamcrest-php/generator/parts/functions_imports.txt +0 -0
- vendor/hamcrest/hamcrest-php/generator/parts/matchers_footer.txt +1 -0
- vendor/hamcrest/hamcrest-php/generator/parts/matchers_header.txt +7 -0
- vendor/hamcrest/hamcrest-php/generator/parts/matchers_imports.txt +2 -0
- vendor/hamcrest/hamcrest-php/generator/run.php +37 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php +882 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArray.php +118 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContaining.php +63 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingInAnyOrder.php +59 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingInOrder.php +57 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingKey.php +75 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingKeyValuePair.php +80 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayWithSize.php +73 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/MatchingOnce.php +69 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/SeriesMatchingOnce.php +75 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/AssertionError.php +10 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseDescription.php +132 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseMatcher.php +30 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Collection/IsEmptyTraversable.php +71 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Collection/IsTraversableWithSize.php +47 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/AllOf.php +59 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/AnyOf.php +58 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/CombinableMatcher.php +78 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/DescribedAs.php +68 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Every.php +56 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/HasToString.php +56 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Is.php +57 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsAnything.php +45 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsCollectionContaining.php +93 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsEqual.php +44 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsIdentical.php +38 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsInstanceOf.php +67 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsNot.php +44 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsNull.php +56 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsSame.php +51 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsTypeOf.php +71 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Set.php +95 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/ShortcutCombination.php +43 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Description.php +70 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/DiagnosingMatcher.php +25 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/FeatureMatcher.php +67 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Internal/SelfDescribingValue.php +27 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Matcher.php +50 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/MatcherAssert.php +118 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Matchers.php +713 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/NullDescription.php +43 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Number/IsCloseTo.php +67 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Number/OrderingComparison.php +132 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/SelfDescribing.php +23 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/StringDescription.php +57 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEmptyString.php +85 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEqualIgnoringCase.php +52 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEqualIgnoringWhiteSpace.php +66 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/MatchesPattern.php +40 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContains.php +45 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContainsIgnoringCase.php +40 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContainsInOrder.php +66 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringEndsWith.php +40 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringStartsWith.php +40 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/SubstringMatcher.php +45 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsArray.php +32 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsBoolean.php +32 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsCallable.php +37 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsDouble.php +34 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsInteger.php +32 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsNumeric.php +54 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsObject.php +32 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsResource.php +32 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsScalar.php +34 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php +32 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/TypeSafeDiagnosingMatcher.php +29 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/TypeSafeMatcher.php +107 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php +76 -0
- vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php +195 -0
- vendor/lucatume/args/codeception.yml +17 -0
- vendor/lucatume/function-mocker/cache/003718f94361bf05e7a0149d8c566eda.php +1 -0
- vendor/lucatume/function-mocker/cache/248b6c7ab72e92c63d8ea2dc0000ba0c.php +1 -0
- vendor/lucatume/function-mocker/cache/35a0eb5e7c644778e349db32d7929a3b.php +2 -0
- vendor/lucatume/function-mocker/cache/51a4bafc9ebe4b76b8047ef2c4683321.php +91 -0
- vendor/lucatume/function-mocker/cache/539425a502f6acd0d5ae4dbbb111eebc.php +1226 -0
- vendor/lucatume/function-mocker/cache/5c160974325c7689e4934dd71fd72c04.php +401 -0
- vendor/lucatume/function-mocker/cache/5ef18fdb052a08d48b73f70c53e22f6f.php +287 -0
- vendor/lucatume/function-mocker/cache/64c11395d6a993bb4748cbb13c06e511.php +89 -0
- vendor/lucatume/function-mocker/cache/7a6bb82a1570d399a0fc0211458a3b75.php +234 -0
- vendor/lucatume/function-mocker/cache/7dd6f1c277a6c78d8318bbe76000ada3.php +1 -0
- vendor/lucatume/function-mocker/cache/823ab44b7fe7fb35b7976f7a7fbf1e7a.php +210 -0
- vendor/lucatume/function-mocker/cache/87c0186bd1f5eef7fac3cc830853843d.php +1 -0
- vendor/lucatume/function-mocker/cache/9c9e77b25faadb56dff570646e078dbf.php +1 -0
- vendor/lucatume/function-mocker/cache/ac2614677e1a12cb15d55208407c065d.php +1 -0
- vendor/lucatume/function-mocker/cache/c0ea46e7b4ef468cd221f627938ffc8a.php +1 -0
- vendor/lucatume/function-mocker/cache/c346f2492ecd70e9b3820fc0acea1c22.php +768 -0
- vendor/lucatume/function-mocker/cache/d046cd1f76aeed79b57fe7d207f9c445.php +86 -0
.phpcs.cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
| 1 |
+
{"config":{"phpVersion":70033,"phpExtensions":"25b54755e960a66bca8abdd593feffae","tabWidth":4,"encoding":"utf-8","recordErrors":true,"annotations":true,"configData":{"installed_paths":"vendor\/phpcompatibility\/php-compatibility,vendor\/phpcompatibility\/phpcompatibility-paragonie,vendor\/phpcompatibility\/phpcompatibility-wp,vendor\/wp-coding-standards\/wpcs","testVersion":"5.6-","minimum_supported_wp_version":"5.1"},"codeHash":"65dd9046d872e9e232515bf57a1dc55c","rulesetHash":"74009a863ae4785386cc97164a8ffd49"},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/cyr-to-lat.php":{"hash":"16d0d38fb5f962d9e84c5eb82528374b33188","errors":{"19":{"4":[{"message":"Expected \"Squiz Pty Ltd <products@squiz.net>\" for author tag","source":"Squiz.Commenting.FileComment.IncorrectAuthor","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":true},{"message":"The tag in position 2 should be the @subpackage tag","source":"Squiz.Commenting.FileComment.SubpackageTagOrder","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"20":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"28":{"1":[{"message":"There must be no blank line following an inline comment","source":"Squiz.Commenting.InlineComment.SpacingAfter","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":true}]},"34":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"39":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"44":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"49":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"54":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"59":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"64":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"69":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"74":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"79":{"1":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":3}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":10}},"Multiple statements on same line":{"values":{"no":16}},"Control structure defined inline":{"values":{"no":3}},"Space before operator":{"values":{"1":2}},"Space after operator":{"values":{"1":4}},"Constant name case":{"values":{"upper":9}},"Spacing before string concat":{"values":{"1":1}},"Spacing after string concat":{"values":{"1":1}},"Assigning new by reference":{"values":{"no":2}},"Object instantiation with parenthesis":{"values":{"yes":2}},"Space between classname and parenthesis":{"values":[2]},"Spacing before object operator":{"values":[1]},"Spacing after object operator":{"values":[1]}},"errorCount":23,"warningCount":1,"fixableCount":12,"numTokens":430},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-admin-notices.php":{"hash":"f010bb07a24c170ab8b886793516c4d433188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"92":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"22":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"29":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"28":{"38":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"38":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"39":{"12":[{"message":"Type hint \"string\" missing for $message","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $class","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"array\" missing for $options","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}],"73":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"45":{"5":[{"message":"Expected \/\/end add_notice()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"40":{"28":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"49":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"66":{"5":[{"message":"Expected \/\/end show_notices()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"73":{"8":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"75":{"15":[{"message":"Type hint \"array\" missing for $notice","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"91":{"5":[{"message":"Expected \/\/end is_page_allowed()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]},"13":{"4":[{"message":"@class tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":67}},"PHP short open tag used":{"values":{"no":13}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":25}},"Multiple statements on same line":{"values":{"no":13}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Space after operator":{"values":{"1":14}},"Short array syntax used":{"values":{"yes":4}},"Function has doc comment":{"values":{"yes":4}},"Function opening brace placement":{"values":{"same line":4}},"Single line array - comma after last item":{"values":{"no":1}},"Spacing before object operator":{"values":[4]},"Spacing after object operator":{"values":[4]},"Multi-line array - comma after last item":{"values":{"yes":1}},"Control structure defined inline":{"values":{"no":5}},"Space before operator":{"values":{"1":6}},"PHP constant case":{"values":{"lower":4}},"Spacing after cast statement":{"values":{"1":1}},"PHP type case":{"values":{"lower":1}}},"errorCount":17,"warningCount":2,"fixableCount":10,"numTokens":543},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-acf.php":{"hash":"b7dbc11af2c4260cba1d51160b87cf3d33188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"58":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"27":{"12":[{"message":"Type hint \"Settings\" missing for $settings","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"31":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"35":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"38":{"5":[{"message":"Expected \/\/end init_hooks()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"37":{"62":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"42":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"57":{"5":[{"message":"Expected \/\/end enqueue_script()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"49":{"13":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"54":{"19":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":36}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":9}},"Multiple statements on same line":{"values":{"no":9}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":3}},"Function opening brace placement":{"values":{"same line":3}},"Spacing before object operator":{"values":[4]},"Spacing after object operator":{"values":[4]},"Space after operator":{"values":{"1":4}},"Single line array - comma after last item":{"values":{"no":2}},"Short array syntax used":{"values":{"yes":3}},"Spacing before string concat":{"values":{"1":1}},"Spacing after string concat":{"values":{"1":1}},"PHP constant case":{"values":{"lower":1}}},"errorCount":11,"warningCount":1,"fixableCount":7,"numTokens":293},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/background-processes\/class-conversion-process.php":{"hash":"fe09f83c1ee9bef2995729c06240b88c33188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"103":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"36":{"12":[{"message":"Type hint \"Main\" missing for $main","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"41":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"52":{"5":[{"message":"Expected \/\/end task()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"56":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"61":{"5":[{"message":"Expected \/\/end complete()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"66":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"77":{"5":[{"message":"Expected \/\/end is_process_completed()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"85":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"88":{"5":[{"message":"Expected \/\/end is_process_running()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"95":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"96":{"15":[{"message":"Type hint \"string\" missing for $message","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"102":{"5":[{"message":"Expected \/\/end log()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":75}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":27}},"Multiple statements on same line":{"values":{"no":15}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":6}},"Function opening brace placement":{"values":{"same line":6}},"Spacing before object operator":{"values":[8]},"Spacing after object operator":{"values":[8]},"Space after operator":{"values":{"1":3}},"Adjacent assignments aligned":{"values":{"yes":1}},"PHP constant case":{"values":{"lower":3}},"Spacing before string concat":{"values":{"1":4}},"Spacing after string concat":{"values":{"1":4}},"Control structure defined inline":{"values":{"no":2}},"Space before operator":{"values":{"1":1}}},"errorCount":14,"warningCount":1,"fixableCount":7,"numTokens":527},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-wp-cli.php":{"hash":"b27299a55796b193f3c13af19b4ba84733188","errors":{"7":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false},{"message":"Missing @author tag in file comment","source":"Squiz.Commenting.FileComment.MissingAuthorTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"6":{"4":[{"message":"The tag in position 2 should be the @subpackage tag","source":"Squiz.Commenting.FileComment.SubpackageTagOrder","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"89":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"38":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"50":{"8":[{"message":"Parameter tags must be defined first in a doc comment","source":"Generic.Commenting.DocComment.ParamNotFirst","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"52":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"53":{"12":[{"message":"Type hint \"array\" missing for $args","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"array\" missing for $assoc_args","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}],"41":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}],"59":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"79":{"5":[{"message":"Expected \/\/end regenerate()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"55":{"9":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"62":{"19":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"88":{"5":[{"message":"Expected \/\/end make_progress_bar()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]},"19":{"4":[{"message":"@class tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":57}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":20}},"Multiple statements on same line":{"values":{"no":19}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":3}},"Function opening brace placement":{"values":{"same line":3}},"Spacing before object operator":{"values":[8]},"Spacing after object operator":{"values":[8]},"Space after operator":{"values":{"1":9}},"Short array syntax used":{"values":{"yes":3}},"Control structure defined inline":{"values":{"no":2}},"Space before operator":{"values":{"1":2}},"Adjacent assignments aligned":{"values":{"yes":2}}},"errorCount":16,"warningCount":2,"fixableCount":8,"numTokens":572},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/background-processes\/class-term-conversion-process.php":{"hash":"30c280f4ec14fa14a58a76fc2fc2e6cc33188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"110":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"43":{"12":[{"message":"Type hint \"Main\" missing for $main","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"48":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"57":{"15":[{"message":"Type hint \"stdClass\" missing for $term","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"75":{"5":[{"message":"Expected \/\/end task()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"63":{"31":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"65":{"34":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"69":{"42":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}],"94":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"79":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"84":{"5":[{"message":"Expected \/\/end complete()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"109":{"5":[{"message":"Expected \/\/end filter_term_locale()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"92":{"17":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"105":{"81":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":75}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":25}},"Multiple statements on same line":{"values":{"no":25}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":4}},"Function opening brace placement":{"values":{"same line":4}},"Spacing before object operator":{"values":[21]},"Spacing after object operator":{"values":[21]},"Space after operator":{"values":{"1":16,"newline":1}},"Adjacent assignments aligned":{"values":{"yes":2}},"Single line array - comma after last item":{"values":{"no":4}},"Short array syntax used":{"values":{"yes":6}},"Control structure defined inline":{"values":{"no":2}},"Space before operator":{"values":{"1":4}},"Spacing before string concat":{"values":{"1":4}},"Spacing after string concat":{"values":{"1":4}},"PHP constant case":{"values":{"lower":3}},"Multi-line array - comma after last item":{"values":{"yes":1}}},"errorCount":15,"warningCount":1,"fixableCount":11,"numTokens":709},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/background-processes\/class-post-conversion-process.php":{"hash":"575cb31b50d78aa140067bebbeec931433188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"210":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"43":{"12":[{"message":"Type hint \"Main\" missing for $main","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"48":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"57":{"15":[{"message":"Type hint \"stdClass\" missing for $post","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"82":{"5":[{"message":"Expected \/\/end task()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"63":{"31":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"65":{"34":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"70":{"42":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}],"99":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"88":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"89":{"15":[{"message":"Type hint \"int\" missing for $post_id","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"87":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"108":{"5":[{"message":"Expected \/\/end rename_attachment()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"114":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"115":{"15":[{"message":"Type hint \"int\" missing for $post_id","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"113":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"131":{"5":[{"message":"Expected \/\/end rename_thumbnails()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"137":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"138":{"15":[{"message":"Type hint \"int\" missing for $attachment_id","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"136":{"8":[{"message":"Expected \"integer\" but found \"int\" for parameter type","source":"Squiz.Commenting.FunctionComment.IncorrectParamVarName","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"152":{"5":[{"message":"Expected \/\/end update_attachment_metadata()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"161":{"15":[{"message":"Type hint \"string\" missing for $file","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"166":{"5":[{"message":"Expected \/\/end get_transliterated_file()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"175":{"8":[{"message":"Expected \"boolean|null\" but found \"bool|null\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"177":{"15":[{"message":"Type hint \"string\" missing for $file","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $new_file","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"189":{"5":[{"message":"Expected \/\/end rename_file()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"193":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"198":{"5":[{"message":"Expected \/\/end complete()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"209":{"5":[{"message":"Expected \/\/end filter_post_locale()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":160}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":51}},"Multiple statements on same line":{"values":{"no":53}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":9}},"Function opening brace placement":{"values":{"same line":9}},"Spacing before object operator":{"values":[38]},"Spacing after object operator":{"values":[38]},"Space after operator":{"values":{"1":34}},"Adjacent assignments aligned":{"values":{"yes":7}},"Single line array - comma after last item":{"values":{"no":4}},"Short array syntax used":{"values":{"yes":4}},"Control structure defined inline":{"values":{"no":12}},"Space before operator":{"values":{"1":6}},"Spacing before string concat":{"values":{"1":21}},"Spacing after string concat":{"values":{"1":21}},"PHP constant case":{"values":{"lower":5}}},"errorCount":31,"warningCount":1,"fixableCount":18,"numTokens":1604},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-converter.php":{"hash":"c9557a1c97fbbde50d578055cda47a3033188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"287":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"83":{"12":[{"message":"Type hint \"Main\" missing for $main","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"Settings\" missing for $settings","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"Post_Conversion_Process\" missing for $process_all_posts","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"Term_Conversion_Process\" missing for $process_all_terms","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"Admin_Notices\" missing for $admin_notices","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"92":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"96":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"100":{"5":[{"message":"Expected \/\/end init_hooks()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"98":{"35":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"99":{"35":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"104":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"140":{"5":[{"message":"Expected \/\/end conversion_notices()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"110":{"39":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"144":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"151":{"5":[{"message":"Expected \/\/end start_conversion()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"155":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"166":{"5":[{"message":"Expected \/\/end process_handler()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"172":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"173":{"12":[{"message":"Type hint \"array\" missing for $args","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}],"53":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"176":{"5":[{"message":"Expected \/\/end convert_existing_slugs()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"182":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"183":{"15":[{"message":"Type hint \"array\" missing for $args","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}],"61":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"234":{"5":[{"message":"Expected \/\/end convert_existing_post_slugs()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"186":{"39":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"188":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"190":{"21":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"192":{"30":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"205":{"16":[{"message":"Variable \"$wpdb\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false},{"message":"Variable \"$regexp\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false},{"message":"Variable \"$all_posts_sql\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false}]},"238":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"273":{"5":[{"message":"Expected \/\/end convert_existing_term_slugs()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"245":{"17":[{"message":"Variable \"$wpdb\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false},{"message":"Variable \"$wpdb\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false}]},"279":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"280":{"15":[{"message":"Type hint \"string\" missing for $message","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"286":{"5":[{"message":"Expected \/\/end log()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]},"13":{"4":[{"message":"@class tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":226}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":59}},"Multiple statements on same line":{"values":{"no":59}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Constant name case":{"values":{"upper":2}},"Space after operator":{"values":{"1":36,"newline":1}},"Function has doc comment":{"values":{"yes":9}},"Function opening brace placement":{"values":{"same line":9}},"Spacing before object operator":{"values":[61]},"Spacing after object operator":{"values":[61]},"Adjacent assignments aligned":{"values":{"yes":3}},"Single line array - comma after last item":{"values":{"no":6}},"Short array syntax used":{"values":{"yes":9}},"Control structure defined inline":{"values":{"no":15}},"Space before operator":{"values":{"1":11}},"Spacing before string concat":{"values":{"1":11}},"Spacing after string concat":{"values":{"1":10,"newline":1}},"PHP constant case":{"values":{"lower":1}},"Multi-line array - comma after last item":{"values":{"yes":1}},"Spacing after cast statement":{"values":{"1":2}},"PHP type case":{"values":{"lower":2}}},"errorCount":41,"warningCount":2,"fixableCount":19,"numTokens":1811},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-requirements.php":{"hash":"0aac6da5549aea3fe4f18ccfad6437d533188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"235":{"5":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"46":{"16":[{"message":"Type hint \"Admin_Notices\" missing for $admin_notices","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"WP_Filesystem_Direct\" missing for $wp_filesystem","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"68":{"9":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"52":{"35":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"56":{"17":[{"message":"File is being conditionally included; use \"include_once\" instead","source":"PEAR.Files.IncludingFile.UseIncludeOnce","listener":"PHP_CodeSniffer\\Standards\\PEAR\\Sniffs\\Files\\IncludingFileSniff","severity":0,"fixable":true}]},"58":{"13":[{"message":"There must be no blank line following an inline comment","source":"Squiz.Commenting.InlineComment.SpacingAfter","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":true}]},"73":{"12":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"84":{"9":[{"message":"Expected \/\/end are_requirements_met()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"80":{"43":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"88":{"10":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"103":{"9":[{"message":"Expected \/\/end deactivate_plugin()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"108":{"12":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"121":{"9":[{"message":"Expected \/\/end is_php_version_required()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"112":{"17":[{"message":"Single line block comment not allowed; use inline (\"\/\/ text\") comment instead","source":"Squiz.Commenting.BlockComment.SingleLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true}]},"126":{"12":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"169":{"9":[{"message":"Expected \/\/end is_max_input_vars_required()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"150":{"21":[{"message":"Single line block comment not allowed; use inline (\"\/\/ text\") comment instead","source":"Squiz.Commenting.BlockComment.SingleLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true}]},"154":{"21":[{"message":"Single line block comment not allowed; use inline (\"\/\/ text\") comment instead","source":"Squiz.Commenting.BlockComment.SingleLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true}]},"157":{"21":[{"message":"Single line block comment not allowed; use inline (\"\/\/ text\") comment instead","source":"Squiz.Commenting.BlockComment.SingleLine","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true}]},"173":{"10":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"209":{"9":[{"message":"Expected \/\/end try_to_fix_max_input_vars()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"202":{"18":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"203":{"32":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"218":{"9":[{"message":"Expected \/\/end get_user_ini_filename()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"222":{"10":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"234":{"9":[{"message":"Expected \/\/end ask_to_increase_max_input_vars()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"232":{"17":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":186}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":58}},"Multiple statements on same line":{"values":{"no":58}},"Control structure defined inline":{"values":{"no":18}},"Space before operator":{"values":{"1":15}},"Space after operator":{"values":{"1":46}},"Spacing before string concat":{"values":{"1":5}},"Spacing after string concat":{"values":{"1":5}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":8}},"Function opening brace placement":{"values":{"same line":8}},"PHP constant case":{"values":{"lower":9}},"Spacing before object operator":{"values":[36]},"Spacing after object operator":{"values":[36]},"Assigning new by reference":{"values":{"no":2}},"Object instantiation with parenthesis":{"values":{"yes":2}},"Space between classname and parenthesis":{"values":[2]},"Single line array - comma after last item":{"values":{"no":4}},"Short array syntax used":{"values":{"yes":5}},"Adjacent assignments aligned":{"values":{"yes":6}},"Closure opening brace placement":{"values":{"same line":2}},"Spacing after cast statement":{"values":{"1":1}},"PHP type case":{"values":{"lower":1}}},"errorCount":29,"warningCount":1,"fixableCount":23,"numTokens":1711},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-main.php":{"hash":"0a502575997c4ba7233236ee1ca2ce4733188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"401":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"91":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"95":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"111":{"5":[{"message":"Expected \/\/end init()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"99":{"17":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"115":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"120":{"5":[{"message":"Expected \/\/end init_hooks()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"117":{"39":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"118":{"43":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"119":{"44":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"131":{"12":[{"message":"Type hint \"string\" missing for $title","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $raw_title","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $context","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"172":{"5":[{"message":"Expected \/\/end sanitize_title()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"162":{"60":[{"message":"Variable \"$wpdb\" not allowed in double quoted string; use concatenation instead","source":"Squiz.Strings.DoubleQuoteUsage.ContainsVar","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Strings\\DoubleQuoteUsageSniff","severity":0,"fixable":false}]},"179":{"8":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"181":{"15":[{"message":"Type hint \"string\" missing for $title","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"195":{"5":[{"message":"Expected \/\/end is_wc_attribute_taxonomy()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"205":{"12":[{"message":"Type hint \"string\" missing for $filename","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $filename_raw","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"217":{"5":[{"message":"Expected \/\/end sanitize_filename()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"226":{"13":[{"message":"Type hint \"string\" missing for $string","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"238":{"5":[{"message":"Expected \/\/end fix_mac_string()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"230":{"16":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"248":{"15":[{"message":"Type hint \"string\" missing for $string","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"array\" missing for $table","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"265":{"5":[{"message":"Expected \/\/end split_chinese_string()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"274":{"5":[{"message":"Expected \/\/end get_filtered_table()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"283":{"12":[{"message":"Type hint \"string\" missing for $string","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"296":{"5":[{"message":"Expected \/\/end transliterate()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"303":{"8":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"313":{"5":[{"message":"Expected \/\/end is_classic_editor_plugin_active()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"310":{"9":[{"message":"There must be no blank line following an inline comment","source":"Squiz.Commenting.InlineComment.SpacingAfter","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":true}]},"321":{"8":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"343":{"5":[{"message":"Expected \/\/end is_gutenberg_editor_active()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"337":{"36":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"353":{"12":[{"message":"Type hint \"array\" missing for $data","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"array\" missing for $postarr","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}],"59":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"373":{"5":[{"message":"Expected \/\/end sanitize_post_name()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"367":{"47":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"378":{"12":[{"message":"Tag value for @see tag indented incorrectly; expected 4 spaces but found 1","source":"Generic.Commenting.DocComment.TagValueIndent","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":true}]},"381":{"8":[{"message":"Parameter tags must be defined first in a doc comment","source":"Generic.Commenting.DocComment.ParamNotFirst","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false},{"message":"Parameter comment must start with a capital letter","source":"Squiz.Commenting.FunctionComment.ParamCommentNotCapital","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"386":{"12":[{"message":"Type hint \"string\" missing for $format","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"382":{"8":[{"message":"Parameter comment must start with a capital letter","source":"Squiz.Commenting.FunctionComment.ParamCommentNotCapital","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"400":{"5":[{"message":"Expected \/\/end prepare_in()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":323}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":113}},"Multiple statements on same line":{"values":{"no":88}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":14}},"Function opening brace placement":{"values":{"same line":14}},"Spacing before object operator":{"values":[37]},"Spacing after object operator":{"values":[37]},"Space after operator":{"values":{"1":78,"newline":1}},"Adjacent assignments aligned":{"values":{"yes":9}},"Assigning new by reference":{"values":{"no":7}},"Object instantiation with parenthesis":{"values":{"yes":7}},"Space between classname and parenthesis":{"values":[7]},"Control structure defined inline":{"values":{"no":29}},"Space before operator":{"values":{"1":33,"newline":2}},"Single line array - comma after last item":{"values":{"no":5}},"Short array syntax used":{"values":{"yes":7}},"PHP constant case":{"values":{"lower":14}},"Spacing before string concat":{"values":{"1":3}},"Spacing after string concat":{"values":{"1":3}},"Spacing after cast statement":{"values":{"1":2}},"PHP type case":{"values":{"lower":2}}},"errorCount":49,"warningCount":1,"fixableCount":28,"numTokens":2697},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-settings.php":{"hash":"4d578d7810bfbad6cb1818d057503fb333188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"768":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"73":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"80":{"5":[{"message":"Expected \/\/end __construct()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"79":{"39":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"84":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"90":{"5":[{"message":"Expected \/\/end init()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"94":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"110":{"5":[{"message":"Expected \/\/end init_hooks()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"98":{"13":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"103":{"35":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"104":{"39":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"105":{"39":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"107":{"63":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"109":{"46":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"125":{"12":[{"message":"Type hint \"array\" missing for $actions","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $plugin_file","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"array\" missing for $plugin_data","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false},{"message":"Type hint \"string\" missing for $context","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"134":{"5":[{"message":"Expected \/\/end add_settings_link()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"126":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"138":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"182":{"5":[{"message":"Expected \/\/end init_locales()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"144":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"145":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"148":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"151":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"154":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"157":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"160":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"163":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"166":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"169":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"172":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"175":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"178":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"193":{"5":[{"message":"Expected \/\/end get_current_locale()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"197":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"218":{"5":[{"message":"Expected \/\/end init_form_fields()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"203":{"30":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"208":{"45":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"226":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"238":{"5":[{"message":"Expected \/\/end init_settings()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"251":{"5":[{"message":"Expected \/\/end get_form_fields()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"250":{"27":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"260":{"15":[{"message":"Type hint \"array\" missing for $field","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"266":{"5":[{"message":"Expected \/\/end set_defaults()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"270":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"279":{"5":[{"message":"Expected \/\/end add_settings_page()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"277":{"24":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"283":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"342":{"5":[{"message":"Expected \/\/end settings_page()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"346":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"360":{"5":[{"message":"Expected \/\/end setup_sections()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"356":{"17":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"366":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"367":{"12":[{"message":"Type hint \"array\" missing for $arguments","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"372":{"5":[{"message":"Expected \/\/end section_callback()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"376":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"399":{"5":[{"message":"Expected \/\/end setup_fields()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"393":{"17":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"405":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"406":{"12":[{"message":"Type hint \"array\" missing for $arguments","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"582":{"5":[{"message":"Expected \/\/end field_callback()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"439":{"45":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"462":{"29":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"463":{"44":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"464":{"46":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"466":{"44":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"467":{"50":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"468":{"50":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"469":{"50":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"470":{"50":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"471":{"50":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"473":{"44":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"496":{"29":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"497":{"45":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"498":{"51":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"499":{"51":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"529":{"29":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"530":{"45":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"531":{"51":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"532":{"51":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"592":{"12":[{"message":"Type hint \"string\" missing for $key","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"608":{"5":[{"message":"Expected \/\/end get_option()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"617":{"15":[{"message":"Type hint \"array\" missing for $field","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"619":{"5":[{"message":"Expected \/\/end get_field_default()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"626":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"627":{"12":[{"message":"Type hint \"string\" missing for $key","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"634":{"5":[{"message":"Expected \/\/end set_option()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"645":{"12":[{"message":"Type hint \"string\" missing for $option","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"669":{"5":[{"message":"Expected \/\/end pre_update_option_filter()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"673":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"693":{"5":[{"message":"Expected \/\/end admin_enqueue_scripts()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"682":{"13":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"690":{"13":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"697":{"6":[{"message":"Missing @return tag in function comment","source":"Squiz.Commenting.FunctionComment.MissingReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"704":{"5":[{"message":"Expected \/\/end load_plugin_textdomain()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"720":{"5":[{"message":"Expected \/\/end get_table()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"725":{"8":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"731":{"5":[{"message":"Expected \/\/end is_chinese_locale()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"728":{"28":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"742":{"15":[{"message":"Type hint \"array\" missing for $table","source":"Squiz.Commenting.FunctionComment.TypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"756":{"5":[{"message":"Expected \/\/end transpose_chinese_table()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"747":{"29":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"761":{"8":[{"message":"Expected \"boolean\" but found \"bool\" for function return type","source":"Squiz.Commenting.FunctionComment.InvalidReturn","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":true}]},"767":{"5":[{"message":"Expected \/\/end is_options_screen()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]},"15":{"4":[{"message":"@class tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":671}},"PHP short open tag used":{"values":{"no":53}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":196}},"Multiple statements on same line":{"values":{"no":139}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Constant name case":{"values":{"upper":4}},"Space after operator":{"values":{"1":156,"newline":1}},"Short array syntax used":{"values":{"yes":51}},"Function has doc comment":{"values":{"yes":26}},"Function opening brace placement":{"values":{"same line":26}},"Single line array - comma after last item":{"values":{"no":13}},"Spacing before object operator":{"values":[72]},"Spacing after object operator":{"values":[72]},"Spacing before string concat":{"values":{"1":18}},"Spacing after string concat":{"values":{"1":16,"newline":2}},"Multi-line array - comma after last item":{"values":{"yes":22}},"Control structure defined inline":{"values":{"no":40}},"Space before operator":{"values":{"1":43}},"PHP constant case":{"values":{"lower":10}},"Adjacent assignments aligned":{"values":{"yes":5}}},"errorCount":107,"warningCount":2,"fixableCount":80,"numTokens":5301},"\/home\/runner\/work\/cyr2lat\/cyr2lat\/classes\/class-conversion-tables.php":{"hash":"789faca9a24f86a4633a1899259a582b33188","errors":{"6":{"2":[{"message":"Missing @subpackage tag in file comment","source":"Squiz.Commenting.FileComment.MissingSubpackageTag","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FileCommentSniff","severity":0,"fixable":false}]},"1226":{"1":[{"message":"Expected \/\/end class","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"24":{"8":[{"message":"Parameter tags must be defined first in a doc comment","source":"Generic.Commenting.DocComment.ParamNotFirst","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Commenting\\DocCommentSniff","severity":0,"fixable":false}]},"28":{"19":[{"message":"Type hint \"string\" missing for $locale","source":"Squiz.Commenting.FunctionComment.ScalarTypeHintMissing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\FunctionCommentSniff","severity":0,"fixable":false}]},"1198":{"5":[{"message":"Expected \/\/end get()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"32":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"101":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"172":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"248":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"315":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"381":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"436":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"520":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"563":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"667":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"714":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"1119":{"26":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]},"1225":{"5":[{"message":"Expected \/\/end get_fix_table_for_mac()","source":"Squiz.Commenting.ClosingDeclarationComment.Missing","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClosingDeclarationCommentSniff","severity":0,"fixable":true}]},"1207":{"9":[{"message":"Block comments must be started with \/*","source":"Squiz.Commenting.BlockComment.WrongStart","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\BlockCommentSniff","severity":0,"fixable":true},{"message":"Inline doc block comments are not allowed; use \"\/* Comment *\/\" or \"\/\/ Comment\" instead","source":"Squiz.Commenting.InlineComment.DocBlock","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\InlineCommentSniff","severity":0,"fixable":false}]},"1219":{"16":[{"message":"Short array syntax is not allowed","source":"Generic.Arrays.DisallowShortArraySyntax.Found","listener":"PHP_CodeSniffer\\Standards\\Generic\\Sniffs\\Arrays\\DisallowShortArraySyntaxSniff","severity":0,"fixable":true}]}},"warnings":{"1":{"1":[{"message":"The \"WordPress.WP.TimezoneChange\" sniff has been deprecated. Use the \"WordPress.DateTime.RestrictedFunctions\" sniff instead. Please update your custom ruleset.","source":"WordPress.WP.TimezoneChange.DeprecatedSniff","listener":"WordPressCS\\WordPress\\Sniffs\\WP\\TimezoneChangeSniff","severity":0,"fixable":false}]},"15":{"4":[{"message":"@class tag is not allowed in class comment","source":"Squiz.Commenting.ClassComment.TagNotAllowed","listener":"PHP_CodeSniffer\\Standards\\Squiz\\Sniffs\\Commenting\\ClassCommentSniff","severity":0,"fixable":false}]}},"metrics":{"File has doc comment":{"values":{"yes":1}},"Line indent":{"values":{"tabs":1204}},"PHP short open tag used":{"values":{"no":1}},"PHP closing tag at end of PHP-only file":{"values":{"no":1}},"EOL char":{"values":{"\\n":1}},"Newline at EOF":{"values":{"yes":1}},"PHP keyword case":{"values":{"lower":42}},"Multiple statements on same line":{"values":{"no":27}},"Class has doc comment":{"values":{"yes":1}},"Class opening brace placement":{"values":{"same line":1}},"Function has doc comment":{"values":{"yes":2}},"Function opening brace placement":{"values":{"same line":2}},"Control structure defined inline":{"values":{"no":4}},"Space after operator":{"values":{"1":1112}},"Multi-line array - comma after last item":{"values":{"yes":13}},"Short array syntax used":{"values":{"yes":13}},"Space before operator":{"values":{"1":3}},"Spacing before object operator":{"values":[3]},"Spacing after object operator":{"values":[3]}},"errorCount":21,"warningCount":2,"fixableCount":17,"numTokens":9463}}
|
cyr-to-lat.php
CHANGED
|
@@ -8,9 +8,9 @@
|
|
| 8 |
* Author: Sergey Biryukov, Mikhail Kobzarev, Igor Gergel
|
| 9 |
* Author URI: https://profiles.wordpress.org/sergeybiryukov/
|
| 10 |
* Requires at least: 5.1
|
| 11 |
-
* Tested up to: 5.
|
| 12 |
-
* Version: 4.5.
|
| 13 |
-
* Stable tag: 4.5.
|
| 14 |
*
|
| 15 |
* Text Domain: cyr2lat
|
| 16 |
* Domain Path: /languages/
|
|
@@ -34,7 +34,7 @@ if ( defined( 'CYR_TO_LAT_VERSION' ) ) {
|
|
| 34 |
/**
|
| 35 |
* Plugin version.
|
| 36 |
*/
|
| 37 |
-
define( 'CYR_TO_LAT_VERSION', '4.5.
|
| 38 |
|
| 39 |
/**
|
| 40 |
* Path to the plugin dir.
|
| 8 |
* Author: Sergey Biryukov, Mikhail Kobzarev, Igor Gergel
|
| 9 |
* Author URI: https://profiles.wordpress.org/sergeybiryukov/
|
| 10 |
* Requires at least: 5.1
|
| 11 |
+
* Tested up to: 5.6
|
| 12 |
+
* Version: 4.5.1
|
| 13 |
+
* Stable tag: 4.5.1
|
| 14 |
*
|
| 15 |
* Text Domain: cyr2lat
|
| 16 |
* Domain Path: /languages/
|
| 34 |
/**
|
| 35 |
* Plugin version.
|
| 36 |
*/
|
| 37 |
+
define( 'CYR_TO_LAT_VERSION', '4.5.1' );
|
| 38 |
|
| 39 |
/**
|
| 40 |
* Path to the plugin dir.
|
dist/js/settings/app.js
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n(1),e.exports=n(2)},function(e,t){!function(e){"use strict";if(!e.fetch){var t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,s="ArrayBuffer"in e;if(s)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=function(e){return e&&DataView.prototype.isPrototypeOf(e)},u=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};p.prototype.append=function(e,t){e=d(e),t=h(t);var n=this.map[e];this.map[e]=n?n+","+t:t},p.prototype.delete=function(e){delete this.map[d(e)]},p.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},p.prototype.set=function(e,t){this.map[d(e)]=h(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),f(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),f(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var l=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},L.call(T.prototype),L.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var c=[301,302,303,307,308];E.redirect=function(e,t){if(-1===c.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},e.Headers=p,e.Request=T,e.Response=E,e.fetch=function(e,t){return new Promise((function(n,i){var s=new T(e,t),o=new XMLHttpRequest;o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new p,e.split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;n(new E(i,r))},o.onerror=function(){i(new TypeError("Network request failed"))},o.ontimeout=function(){i(new TypeError("Network request failed"))},o.open(s.method,s.url,!0),"include"===s.credentials&&(o.withCredentials=!0),"responseType"in o&&r&&(o.responseType="blob"),s.headers.forEach((function(e,t){o.setRequestHeader(t,e)})),o.send(void 0===s._bodyInit?null:s._bodyInit)}))},e.fetch.polyfill=!0}function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function h(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function y(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function b(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function v(e){var t=new FileReader,n=b(t);return t.readAsArrayBuffer(e),n}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(r&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(i&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(s&&r&&a(e))this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!s||!ArrayBuffer.prototype.isPrototypeOf(e)&&!u(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=m(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=y(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e,t,n,r=y(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=b(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(S)}),this.json=function(){return this.text().then(JSON.parse)},this}function T(e,t){var n,r,i=(t=t||{}).body;if(e instanceof T){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),l.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function S(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function E(e,t){t||(t={}),this.type="default",this.status="status"in t?t.status:200,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict";var r,i=n(3),s=(r=i)&&r.__esModule?r:{default:r};document.addEventListener("DOMContentLoaded",(function(){new s.default}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.OPTIONS_FORM_SELECTOR="#ctl-options",this.HEADER_SELECTOR=this.OPTIONS_FORM_SELECTOR+" h2",this.TABLE_SELECTOR=this.OPTIONS_FORM_SELECTOR+" table",this.SUBMIT_SELECTOR=this.OPTIONS_FORM_SELECTOR+" #submit",this.CURRENT_STUB_ID="ctl-current",this.CURRENT_NAV_TAB_CLASS="nav-tab-current",this.ACTIVE_NAV_TAB_CLASS="nav-tab-active",this.ACTIVE_TABLE_CLASS="active",this.EDIT_LABEL_ID="ctl-edit-label",this.EDIT_LABEL_ERROR_CLASS="ctl-edit-label-error",this.plusButton='<button type="button" aria-haspopup="true" aria-expanded="false" class="components-button block-editor-inserter__toggle has-icon" aria-label="Добавить блок"><svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 24 24" role="img" aria-hidden="true" focusable="false"><path d="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"></path></svg></button>',this.PLUS_CLASS="ctl-plus",this.optionsForm=document.querySelector(this.OPTIONS_FORM_SELECTOR),this.tablesData=this.getTablesData(),this.submitButton=document.querySelector(this.SUBMIT_SELECTOR),this.addWrapper(),this.addMessageLines(),this.addEditLabelInput(),this.hideTables(),this.bindEvents(),this.setSubmitStatus()}return r(e,[{key:"getHeaders",value:function(){return[].concat(i(document.querySelectorAll(this.HEADER_SELECTOR)))}},{key:"getActiveHeader",value:function(){return document.querySelector(this.HEADER_SELECTOR+"."+this.ACTIVE_NAV_TAB_CLASS)}},{key:"getActiveIndex",value:function(){return this.getActiveHeader().dataset.index}},{key:"getTables",value:function(){return[].concat(i(document.querySelectorAll(this.TABLE_SELECTOR)))}},{key:"getActiveTable",value:function(){return document.querySelector(this.TABLE_SELECTOR+"."+this.ACTIVE_TABLE_CLASS)}},{key:"getInputs",value:function(){return[].concat(i(document.querySelectorAll(this.OPTIONS_FORM_SELECTOR+" input")))}},{key:"getLabels",value:function(){return[].concat(i(document.querySelectorAll(this.OPTIONS_FORM_SELECTOR+" label")))}},{key:"getPlusButtons",value:function(){return[].concat(i(document.querySelectorAll(this.OPTIONS_FORM_SELECTOR+" ."+this.PLUS_CLASS)))}},{key:"isActiveTableChanged",value:function(){var e=this.getActiveIndex();return JSON.stringify(this.getActiveTableData())!==JSON.stringify(this.tablesData[e])}},{key:"setSubmitStatus",value:function(){this.submitButton.disabled=!this.isActiveTableChanged()}},{key:"saveActiveTable",value:function(){var e=this;if(this.isActiveTableChanged()){var t=this.getActiveTable(),n=document.createElement("form");return n.action=this.optionsForm.getAttribute("action"),n.method=this.optionsForm.method,n.appendChild(t.cloneNode(!0)),[].concat(i(t.querySelectorAll("input"))).map((function(e){n.querySelector("#"+e.id).value=e.value})),[].concat(i(this.optionsForm.querySelectorAll('input[type="hidden"]'))).map((function(e){n.appendChild(e.cloneNode(!0))})),document.body.appendChild(n),fetch(this.optionsForm.getAttribute("action"),{method:n.method,body:new URLSearchParams([].concat(i(new FormData(n))))}).then((function(t){return t.ok?(e.showMessage(e.successMessage,"Options saved."),e.tablesData=e.getTablesData()):e.showMessage(e.errorMessage,"Error saving options."),t.json()})).finally((function(){n.remove(),e.setSubmitStatus()}))}}},{key:"getTableData",value:function(e){var t=this,n=[].concat(i(e.querySelectorAll("input"))),r={};return n.forEach((function(e){var n=document.querySelector(t.OPTIONS_FORM_SELECTOR+' label[for="'+e.id+'"]');r[n.innerHTML]=e.value})),r}},{key:"getTablesData",value:function(){var e=this;return this.getTables().map((function(t){return e.getTableData(t)}))}},{key:"getActiveTableData",value:function(){return this.getTableData(this.getActiveTable())}},{key:"addWrapper",value:function(){this.wrapper=document.createElement("ul"),this.wrapper.classList.add("nav-tab-wrapper"),this.optionsForm.prepend(this.wrapper)}},{key:"addMessageLine",value:function(e){var t=document.createElement("div");return t.id=e,this.optionsForm.prepend(t),t}},{key:"addMessageLines",value:function(){this.successMessage=this.addMessageLine("ctl-success"),this.errorMessage=this.addMessageLine("ctl-error")}},{key:"addEditLabelInput",value:function(){this.editLabelInput=document.createElement("input"),this.editLabelInput.id=this.EDIT_LABEL_ID,this.editLabelInput.style.display="none",document.body.appendChild(this.editLabelInput)}},{key:"hideEditLabelInput",value:function(){this.editLabelInput.style.display="none",this.editLabelInput.classList.remove(this.EDIT_LABEL_ERROR_CLASS),document.body.appendChild(this.editLabelInput)}},{key:"getLastCell",value:function(){return document.querySelector(this.OPTIONS_FORM_SELECTOR+" ."+this.ACTIVE_TABLE_CLASS+" ."+this.PLUS_CLASS).previousElementSibling}},{key:"addCell",value:function(){var e=this.getLastCell();e.parentElement.insertBefore(e.cloneNode(!0),e.nextElementSibling);var t=(e=this.getLastCell()).querySelector("label"),n=e.querySelector("input"),r=n.id.split("-"),i=r[0]+"-"+(parseInt(r[1])+1);t.htmlFor=i,t.innerHTML="",n.id=i,n.value="",n.setAttribute("value",""),this.replaceName(n,""),this.bindEvents(),this.editLabel(t)}},{key:"hideTables",value:function(){var e=this,t=0;this.getTables().map((function(n,r){n.classList.add("ctl-table"),e.CURRENT_STUB_ID===n.previousElementSibling.id&&(t=r,n.classList.add(e.ACTIVE_TABLE_CLASS));var i=document.createElement("div");i.classList.add(e.PLUS_CLASS),i.innerHTML=e.plusButton,n.querySelector("td").appendChild(i)})),this.getHeaders().map((function(n,r){n.classList.add("nav-tab"),n.dataset.index=r,e.wrapper.appendChild(n),r===t&&n.classList.add(e.CURRENT_NAV_TAB_CLASS,e.ACTIVE_NAV_TAB_CLASS)}))}},{key:"bindEvents",value:function(){var e=this;this.getHeaders().map((function(t,n,r){t.onclick=function(t){t.preventDefault();var n=t.target.dataset.index;if(n===e.getActiveIndex())return!1;e.saveActiveTable(),r.map((function(t){t.classList.remove(e.ACTIVE_NAV_TAB_CLASS)})),r[n].classList.add(e.ACTIVE_NAV_TAB_CLASS);var i=e.getTables();return i.map((function(t){t.classList.remove(e.ACTIVE_TABLE_CLASS)})),i[n].classList.add(e.ACTIVE_TABLE_CLASS),e.setSubmitStatus(),!1}})),this.getInputs().map((function(t){t.oninput=function(){e.setSubmitStatus()}})),this.getLabels().map((function(t){t.onclick=function(t){return t.preventDefault(),e.editLabel(t.target),!1}})),this.editLabelInput.onblur=function(){e.saveLabel()},this.editLabelInput.onkeyup=function(t){"Escape"===t.key&&e.saveLabel(!0),"Enter"===t.key&&e.saveLabel()},this.getPlusButtons().map((function(t){t.onclick=function(t){return t.preventDefault(),e.addCell(t.target),!1}})),document.querySelector(this.SUBMIT_SELECTOR).onclick=function(t){return t.preventDefault(),e.saveActiveTable(),!1}}},{key:"editLabel",value:function(e){e.parentNode.appendChild(this.editLabelInput),this.editLabelInput.value=e.innerHTML,this.editLabelInput.classList.remove(this.EDIT_LABEL_ERROR_CLASS),this.editLabelInput.style.display="block",this.editLabelInput.focus()}},{key:"isUniqueLabel",value:function(e){return[].concat(i(this.getActiveTable().querySelectorAll("label"))).reduce((function(t,n){return t&&n.innerHTML!==e}),!0)}},{key:"saveLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if("none"!==this.editLabelInput.style.display){var t=this.editLabelInput.value.trim(),n=this.editLabelInput.parentNode.querySelector("label"),r=this.editLabelInput.parentNode.querySelector("input");if(""===t){var i=document.getElementById(this.EDIT_LABEL_ID).parentElement;return this.hideEditLabelInput(),i.remove(),void this.setSubmitStatus()}e||t===n.innerHTML?this.hideEditLabelInput():this.isUniqueLabel(t)?(this.hideEditLabelInput(),n.innerHTML=t,this.replaceName(r,t),this.setSubmitStatus()):this.editLabelInput.classList.add(this.EDIT_LABEL_ERROR_CLASS)}}},{key:"replaceName",value:function(e,t){e.name=e.name.replace(/(.+\[.+])\[.*]/g,"$1["+t+"]")}},{key:"clearMessage",value:function(e){e.innerHTML="",e.classList.remove("active")}},{key:"clearMessages",value:function(){this.clearMessage(this.successMessage),this.clearMessage(this.errorMessage),clearTimeout(this.msgTimer)}},{key:"showMessage",value:function(e,t){var n=this;e.innerHTML=t,e.classList.add("active"),this.msgTimer=setTimeout((function(){n.clearMessages()}),5e3)}}]),e}();t.default=s}]);
|
|
|
languages/cyr2lat-ru_RU.mo
CHANGED
|
Binary file
|
languages/cyr2lat-ru_RU.po
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
msgid ""
|
| 2 |
msgstr ""
|
| 3 |
"Project-Id-Version: Cyr To Lat\n"
|
| 4 |
-
"POT-Creation-Date: 2020-
|
| 5 |
-
"PO-Revision-Date: 2020-
|
| 6 |
"Last-Translator: KAGG Design <info@kagg.eu>\n"
|
| 7 |
"Language-Team: KAGG Design\n"
|
| 8 |
"Language: ru_RU\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
-
"X-Generator: Poedit 2.3\n"
|
| 13 |
"X-Poedit-Basepath: ..\n"
|
| 14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
| 15 |
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
|
@@ -32,7 +32,23 @@ msgstr ""
|
|
| 32 |
msgid "Post slug converted:"
|
| 33 |
msgstr "Ярлык поста сконвертирован:"
|
| 34 |
|
| 35 |
-
#: classes/background-processes/class-post-conversion-process.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
msgid "Post slugs conversion completed."
|
| 37 |
msgstr "Конвертация ярлыков постов завершена."
|
| 38 |
|
|
@@ -44,47 +60,47 @@ msgstr "Ярлык термина сконвертирован:"
|
|
| 44 |
msgid "Term slugs conversion completed."
|
| 45 |
msgstr "Конвертация ярлыков терминов завершена."
|
| 46 |
|
| 47 |
-
#: classes/class-converter.php:
|
| 48 |
msgid "Cyr To Lat converts existing post slugs in the background process."
|
| 49 |
msgstr "Cyr To Lat конвертирует существующие ярлыки постов в фоновом процессе."
|
| 50 |
|
| 51 |
-
#: classes/class-converter.php:
|
| 52 |
msgid "Cyr To Lat converts existing term slugs in the background process."
|
| 53 |
msgstr ""
|
| 54 |
"Cyr To Lat конвертирует существующие ярлыки терминов в фоновом процессе."
|
| 55 |
|
| 56 |
-
#: classes/class-converter.php:
|
| 57 |
msgid "Cyr To Lat completed conversion of existing post slugs."
|
| 58 |
msgstr "Cyr To Lat завершил конвертацию существующих ярлыков постов."
|
| 59 |
|
| 60 |
-
#: classes/class-converter.php:
|
| 61 |
msgid "Cyr To Lat completed conversion of existing term slugs."
|
| 62 |
msgstr "Cyr To Lat завершил конвертацию существующих ярлыков терминов."
|
| 63 |
|
| 64 |
-
#: classes/class-converter.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
msgid "Post slugs conversion started."
|
| 66 |
msgstr "Начата конвертация ярлыков постов."
|
| 67 |
|
| 68 |
-
#: classes/class-converter.php:
|
| 69 |
msgid "Cyr To Lat started conversion of existing post slugs."
|
| 70 |
msgstr "Cyr To Lat начал конвертацию существующих ярлыков постов."
|
| 71 |
|
| 72 |
-
#: classes/class-converter.php:
|
| 73 |
-
msgid "Cyr To Lat has not found existing
|
| 74 |
-
msgstr "Cyr To Lat не нашёл существующих ярлыков
|
| 75 |
|
| 76 |
-
#: classes/class-converter.php:
|
| 77 |
msgid "Term slugs conversion started."
|
| 78 |
msgstr "Начата конвертация ярлыков терминов."
|
| 79 |
|
| 80 |
-
#: classes/class-converter.php:
|
| 81 |
msgid "Cyr To Lat started conversion of existing term slugs."
|
| 82 |
msgstr "Cyr To Lat начал конвертацию существующих ярлыков терминов."
|
| 83 |
|
| 84 |
-
#: classes/class-converter.php:234
|
| 85 |
-
msgid "Cyr To Lat has not found existing term slugs for conversion."
|
| 86 |
-
msgstr "Cyr To Lat не нашёл существующих ярлыков терминов для конвертации."
|
| 87 |
-
|
| 88 |
#: classes/class-requirements.php:99
|
| 89 |
msgid "Cyr To Lat plugin has been deactivated."
|
| 90 |
msgstr "Плагин Cyr To Lat был деактивирован."
|
|
@@ -137,87 +153,95 @@ msgstr ""
|
|
| 137 |
"См.: <a href=\"http://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit\" "
|
| 138 |
"target=\"_blank\">Увеличение лимита max input vars.</a>"
|
| 139 |
|
| 140 |
-
#: classes/class-settings.php:
|
| 141 |
msgid "View Cyr To Lat settings"
|
| 142 |
msgstr "Посмотреть настройки Cyr To Lat"
|
| 143 |
|
| 144 |
-
#: classes/class-settings.php:
|
| 145 |
msgid "Settings"
|
| 146 |
msgstr "Настройки"
|
| 147 |
|
| 148 |
-
#: classes/class-settings.php:
|
| 149 |
msgid "ISO9 Table"
|
| 150 |
msgstr "Таблица ISO9"
|
| 151 |
|
| 152 |
-
#: classes/class-settings.php:
|
| 153 |
msgid "bel Table"
|
| 154 |
msgstr "Таблица bel"
|
| 155 |
|
| 156 |
-
#: classes/class-settings.php:
|
| 157 |
msgid "uk Table"
|
| 158 |
msgstr "Таблица uk"
|
| 159 |
|
| 160 |
-
#: classes/class-settings.php:
|
| 161 |
msgid "bg_BG Table"
|
| 162 |
msgstr "Таблица bg_BG"
|
| 163 |
|
| 164 |
-
#: classes/class-settings.php:
|
| 165 |
msgid "mk_MK Table"
|
| 166 |
msgstr "Таблица mk_MK"
|
| 167 |
|
| 168 |
-
#: classes/class-settings.php:
|
| 169 |
msgid "sr_RS Table"
|
| 170 |
msgstr "Таблица sr_RS"
|
| 171 |
|
| 172 |
-
#: classes/class-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
msgid "ka_GE Table"
|
| 174 |
msgstr "Таблица ka_GE"
|
| 175 |
|
| 176 |
-
#: classes/class-settings.php:
|
| 177 |
msgid "kk Table"
|
| 178 |
msgstr "Таблица kk"
|
| 179 |
|
| 180 |
-
#: classes/class-settings.php:
|
| 181 |
msgid "he_IL Table"
|
| 182 |
msgstr "Таблица he_IL"
|
| 183 |
|
| 184 |
-
#: classes/class-settings.php:
|
| 185 |
msgid "zh_CN Table"
|
| 186 |
msgstr "Таблица zh_CN"
|
| 187 |
|
| 188 |
-
#: classes/class-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
msgid "Cyr To Lat"
|
| 190 |
msgstr "Cyr To Lat"
|
| 191 |
|
| 192 |
#. Admin panel title.
|
| 193 |
-
#: classes/class-settings.php:
|
| 194 |
msgid "Cyr To Lat Plugin Options"
|
| 195 |
msgstr "Опции плагина Cyr To Lat"
|
| 196 |
|
| 197 |
-
#: classes/class-settings.php:
|
| 198 |
msgid "Convert Existing Slugs"
|
| 199 |
msgstr "Конвертировать существующие ярлыки"
|
| 200 |
|
| 201 |
-
#: classes/class-settings.php:
|
| 202 |
msgid "Donate"
|
| 203 |
msgstr "Пожертвовать"
|
| 204 |
|
| 205 |
-
#: classes/class-settings.php:
|
| 206 |
msgid "Would you like to support the advancement of this plugin?"
|
| 207 |
msgstr "Хотите поддержать развитие этого плагина?"
|
| 208 |
|
| 209 |
-
#: classes/class-settings.php:
|
| 210 |
msgid "Your appreciation"
|
| 211 |
msgstr "Ваша оценка"
|
| 212 |
|
| 213 |
-
#: classes/class-settings.php:
|
| 214 |
msgid "Leave a ★★★★★ plugin review on WordPress.org"
|
| 215 |
msgstr "Оставьте ★★★★★ обзор плагина на WordPress.org"
|
| 216 |
|
| 217 |
-
#: classes/class-settings.php:363
|
| 218 |
-
msgid "(current)"
|
| 219 |
-
msgstr "(текущая)"
|
| 220 |
-
|
| 221 |
#. translators: %d: cron interval
|
| 222 |
#: lib/wp-background-processing/class-wp-background-process.php:399
|
| 223 |
#, php-format
|
| 1 |
msgid ""
|
| 2 |
msgstr ""
|
| 3 |
"Project-Id-Version: Cyr To Lat\n"
|
| 4 |
+
"POT-Creation-Date: 2020-05-19 22:53+0300\n"
|
| 5 |
+
"PO-Revision-Date: 2020-05-19 22:55+0300\n"
|
| 6 |
"Last-Translator: KAGG Design <info@kagg.eu>\n"
|
| 7 |
"Language-Team: KAGG Design\n"
|
| 8 |
"Language: ru_RU\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
+
"X-Generator: Poedit 2.3.1\n"
|
| 13 |
"X-Poedit-Basepath: ..\n"
|
| 14 |
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
| 15 |
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
| 32 |
msgid "Post slug converted:"
|
| 33 |
msgstr "Ярлык поста сконвертирован:"
|
| 34 |
|
| 35 |
+
#: classes/background-processes/class-post-conversion-process.php:101
|
| 36 |
+
msgid "Attachment file converted:"
|
| 37 |
+
msgstr "Файл вложения сконвертирован:"
|
| 38 |
+
|
| 39 |
+
#: classes/background-processes/class-post-conversion-process.php:107
|
| 40 |
+
msgid "Cannot convert attachment file for attachment id:"
|
| 41 |
+
msgstr "Невозможно сконвертировать файл вложения для вложения с id:"
|
| 42 |
+
|
| 43 |
+
#: classes/background-processes/class-post-conversion-process.php:125
|
| 44 |
+
msgid "Thumbnail file renamed:"
|
| 45 |
+
msgstr "Файл миниатюры переименован:"
|
| 46 |
+
|
| 47 |
+
#: classes/background-processes/class-post-conversion-process.php:128
|
| 48 |
+
msgid "Cannot rename thumbnail file:"
|
| 49 |
+
msgstr "Невозможно переименовать файл миниатюры:"
|
| 50 |
+
|
| 51 |
+
#: classes/background-processes/class-post-conversion-process.php:197
|
| 52 |
msgid "Post slugs conversion completed."
|
| 53 |
msgstr "Конвертация ярлыков постов завершена."
|
| 54 |
|
| 60 |
msgid "Term slugs conversion completed."
|
| 61 |
msgstr "Конвертация ярлыков терминов завершена."
|
| 62 |
|
| 63 |
+
#: classes/class-converter.php:115
|
| 64 |
msgid "Cyr To Lat converts existing post slugs in the background process."
|
| 65 |
msgstr "Cyr To Lat конвертирует существующие ярлыки постов в фоновом процессе."
|
| 66 |
|
| 67 |
+
#: classes/class-converter.php:122
|
| 68 |
msgid "Cyr To Lat converts existing term slugs in the background process."
|
| 69 |
msgstr ""
|
| 70 |
"Cyr To Lat конвертирует существующие ярлыки терминов в фоновом процессе."
|
| 71 |
|
| 72 |
+
#: classes/class-converter.php:129
|
| 73 |
msgid "Cyr To Lat completed conversion of existing post slugs."
|
| 74 |
msgstr "Cyr To Lat завершил конвертацию существующих ярлыков постов."
|
| 75 |
|
| 76 |
+
#: classes/class-converter.php:136
|
| 77 |
msgid "Cyr To Lat completed conversion of existing term slugs."
|
| 78 |
msgstr "Cyr To Lat завершил конвертацию существующих ярлыков терминов."
|
| 79 |
|
| 80 |
+
#: classes/class-converter.php:214
|
| 81 |
+
msgid "Cyr To Lat has not found existing post slugs for conversion."
|
| 82 |
+
msgstr "Cyr To Lat не нашёл существующих ярлыков постов для конвертации."
|
| 83 |
+
|
| 84 |
+
#: classes/class-converter.php:226
|
| 85 |
msgid "Post slugs conversion started."
|
| 86 |
msgstr "Начата конвертация ярлыков постов."
|
| 87 |
|
| 88 |
+
#: classes/class-converter.php:228
|
| 89 |
msgid "Cyr To Lat started conversion of existing post slugs."
|
| 90 |
msgstr "Cyr To Lat начал конвертацию существующих ярлыков постов."
|
| 91 |
|
| 92 |
+
#: classes/class-converter.php:253
|
| 93 |
+
msgid "Cyr To Lat has not found existing term slugs for conversion."
|
| 94 |
+
msgstr "Cyr To Lat не нашёл существующих ярлыков терминов для конвертации."
|
| 95 |
|
| 96 |
+
#: classes/class-converter.php:265
|
| 97 |
msgid "Term slugs conversion started."
|
| 98 |
msgstr "Начата конвертация ярлыков терминов."
|
| 99 |
|
| 100 |
+
#: classes/class-converter.php:267
|
| 101 |
msgid "Cyr To Lat started conversion of existing term slugs."
|
| 102 |
msgstr "Cyr To Lat начал конвертацию существующих ярлыков терминов."
|
| 103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
#: classes/class-requirements.php:99
|
| 105 |
msgid "Cyr To Lat plugin has been deactivated."
|
| 106 |
msgstr "Плагин Cyr To Lat был деактивирован."
|
| 153 |
"См.: <a href=\"http://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit\" "
|
| 154 |
"target=\"_blank\">Увеличение лимита max input vars.</a>"
|
| 155 |
|
| 156 |
+
#: classes/class-settings.php:129
|
| 157 |
msgid "View Cyr To Lat settings"
|
| 158 |
msgstr "Посмотреть настройки Cyr To Lat"
|
| 159 |
|
| 160 |
+
#: classes/class-settings.php:130
|
| 161 |
msgid "Settings"
|
| 162 |
msgstr "Настройки"
|
| 163 |
|
| 164 |
+
#: classes/class-settings.php:146
|
| 165 |
msgid "ISO9 Table"
|
| 166 |
msgstr "Таблица ISO9"
|
| 167 |
|
| 168 |
+
#: classes/class-settings.php:149
|
| 169 |
msgid "bel Table"
|
| 170 |
msgstr "Таблица bel"
|
| 171 |
|
| 172 |
+
#: classes/class-settings.php:152
|
| 173 |
msgid "uk Table"
|
| 174 |
msgstr "Таблица uk"
|
| 175 |
|
| 176 |
+
#: classes/class-settings.php:155
|
| 177 |
msgid "bg_BG Table"
|
| 178 |
msgstr "Таблица bg_BG"
|
| 179 |
|
| 180 |
+
#: classes/class-settings.php:158
|
| 181 |
msgid "mk_MK Table"
|
| 182 |
msgstr "Таблица mk_MK"
|
| 183 |
|
| 184 |
+
#: classes/class-settings.php:161
|
| 185 |
msgid "sr_RS Table"
|
| 186 |
msgstr "Таблица sr_RS"
|
| 187 |
|
| 188 |
+
#: classes/class-settings.php:164
|
| 189 |
+
msgid "el Table"
|
| 190 |
+
msgstr "Таблица el"
|
| 191 |
+
|
| 192 |
+
#: classes/class-settings.php:167
|
| 193 |
+
msgid "hy Table"
|
| 194 |
+
msgstr "Таблица hy"
|
| 195 |
+
|
| 196 |
+
#: classes/class-settings.php:170
|
| 197 |
msgid "ka_GE Table"
|
| 198 |
msgstr "Таблица ka_GE"
|
| 199 |
|
| 200 |
+
#: classes/class-settings.php:173
|
| 201 |
msgid "kk Table"
|
| 202 |
msgstr "Таблица kk"
|
| 203 |
|
| 204 |
+
#: classes/class-settings.php:176
|
| 205 |
msgid "he_IL Table"
|
| 206 |
msgstr "Таблица he_IL"
|
| 207 |
|
| 208 |
+
#: classes/class-settings.php:179
|
| 209 |
msgid "zh_CN Table"
|
| 210 |
msgstr "Таблица zh_CN"
|
| 211 |
|
| 212 |
+
#: classes/class-settings.php:206
|
| 213 |
+
msgid "(current)"
|
| 214 |
+
msgstr "(текущая)"
|
| 215 |
+
|
| 216 |
+
#: classes/class-settings.php:273 classes/class-settings.php:274
|
| 217 |
msgid "Cyr To Lat"
|
| 218 |
msgstr "Cyr To Lat"
|
| 219 |
|
| 220 |
#. Admin panel title.
|
| 221 |
+
#: classes/class-settings.php:294
|
| 222 |
msgid "Cyr To Lat Plugin Options"
|
| 223 |
msgstr "Опции плагина Cyr To Lat"
|
| 224 |
|
| 225 |
+
#: classes/class-settings.php:309
|
| 226 |
msgid "Convert Existing Slugs"
|
| 227 |
msgstr "Конвертировать существующие ярлыки"
|
| 228 |
|
| 229 |
+
#: classes/class-settings.php:315
|
| 230 |
msgid "Donate"
|
| 231 |
msgstr "Пожертвовать"
|
| 232 |
|
| 233 |
+
#: classes/class-settings.php:318
|
| 234 |
msgid "Would you like to support the advancement of this plugin?"
|
| 235 |
msgstr "Хотите поддержать развитие этого плагина?"
|
| 236 |
|
| 237 |
+
#: classes/class-settings.php:332
|
| 238 |
msgid "Your appreciation"
|
| 239 |
msgstr "Ваша оценка"
|
| 240 |
|
| 241 |
+
#: classes/class-settings.php:337
|
| 242 |
msgid "Leave a ★★★★★ plugin review on WordPress.org"
|
| 243 |
msgstr "Оставьте ★★★★★ обзор плагина на WordPress.org"
|
| 244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
#. translators: %d: cron interval
|
| 246 |
#: lib/wp-background-processing/class-wp-background-process.php:399
|
| 247 |
#, php-format
|
languages/cyr2lat-sv.mo
CHANGED
|
Binary file
|
languages/cyr2lat-uk.mo
CHANGED
|
Binary file
|
readme.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
Contributors: SergeyBiryukov, mihdan, karevn, webvitaly, kaggdesign
|
| 3 |
Tags: cyrillic, belorussian, ukrainian, bulgarian, macedonian, georgian, kazakh, latin, l10n, russian, cyr-to-lat, cyr2lat, rustolat, slugs, translations, transliteration
|
| 4 |
Requires at least: 5.1
|
| 5 |
-
Tested up to: 5.
|
| 6 |
-
Stable tag: 4.5.
|
| 7 |
Requires PHP: 5.6.20
|
| 8 |
|
| 9 |
Converts Cyrillic characters in post, page and term slugs to Latin characters.
|
|
@@ -99,6 +99,10 @@ Yes you can!
|
|
| 99 |
|
| 100 |
== Changelog ==
|
| 101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
= 4.5.0 (18.05.2020) =
|
| 103 |
* Added Greek and Armenian languages
|
| 104 |
* Added background conversion of attachments and thumbnails
|
| 2 |
Contributors: SergeyBiryukov, mihdan, karevn, webvitaly, kaggdesign
|
| 3 |
Tags: cyrillic, belorussian, ukrainian, bulgarian, macedonian, georgian, kazakh, latin, l10n, russian, cyr-to-lat, cyr2lat, rustolat, slugs, translations, transliteration
|
| 4 |
Requires at least: 5.1
|
| 5 |
+
Tested up to: 5.6
|
| 6 |
+
Stable tag: 4.5.1
|
| 7 |
Requires PHP: 5.6.20
|
| 8 |
|
| 9 |
Converts Cyrillic characters in post, page and term slugs to Latin characters.
|
| 99 |
|
| 100 |
== Changelog ==
|
| 101 |
|
| 102 |
+
= 4.5.1 (07.12.2020) =
|
| 103 |
+
* Tested up to WordPress 5.6
|
| 104 |
+
* Tested on PHP 5.6 - 8.0
|
| 105 |
+
|
| 106 |
= 4.5.0 (18.05.2020) =
|
| 107 |
* Added Greek and Armenian languages
|
| 108 |
* Added background conversion of attachments and thumbnails
|
vendor/10up/wp_mock/.gitmodules
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
| 1 |
+
|
vendor/10up/wp_mock/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Contributing
|
| 2 |
+
|
| 3 |
+
Contributions are **welcome** and will be fully **credited**.
|
| 4 |
+
|
| 5 |
+
We accept contributions via Pull Requests on [Github](https://github.com/10up/wp_mock)
|
| 6 |
+
|
| 7 |
+
## Branches
|
| 8 |
+
|
| 9 |
+
* We try to follow [SemVer](http://semver.org/) in WP Mock
|
| 10 |
+
* The current minor version lives on the **master** branch. Until a new minor (or major) version is released, the master branch will be aliased to appear as the dev package of the current minor version in Packagist (e.g. if the current minor version is `1.0`, master will be aliased to `1.0.x-dev`).
|
| 11 |
+
* The development release lives on the **dev** branch. Until it is officially released, the dev branch will be aliased to appear as the dev package of the next minor version in Packagist (e.g. if the next minor version is `1.2`, the dev branch will be aliased to `1.2.x-dev`).
|
| 12 |
+
* Old minor versions will live in their own version branch (e.g. if the current minor version is `1.2`, the `1.1` major version will live in a `1.1` branch
|
| 13 |
+
|
| 14 |
+
## Pull Requests
|
| 15 |
+
|
| 16 |
+
* New features must be submitted against the **dev** branch
|
| 17 |
+
* Bug fixes should be submitted against the branch in which the bug exists. If the bug exists in multiple releases, please submit the Pull Request against the most recent branch and make a note of which other major versions need the fix (e.g. if the bug exists in all versions, submit against dev; if it no longer exists in dev, submit against master). Please do not open multiple pull requests for the same fix against different branches.
|
| 18 |
+
* If you're not sure whether a feature idea would be something we'd be interested in, please open an issue before you start working on it. We'd be happy to discuss your idea with you.
|
| 19 |
+
|
| 20 |
+
## Tests
|
| 21 |
+
|
| 22 |
+
We know. We're kind of working on it. Want to start writing them for us? :D
|
| 23 |
+
|
| 24 |
+
## Thanks
|
| 25 |
+
|
| 26 |
+
**You're awesome** - Thanks for being interested in contributing your time and code to this project!
|
vendor/10up/wp_mock/LICENSE.md
ADDED
|
@@ -0,0 +1,368 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
WP_Mock - WordPress API Mocking Framework
|
| 2 |
+
|
| 3 |
+
Copyright 2013-2017 by the contributors
|
| 4 |
+
|
| 5 |
+
This program is free software; you can redistribute it and/or modify
|
| 6 |
+
it under the terms of the GNU General Public License as published by
|
| 7 |
+
the Free Software Foundation; either version 2 of the License, or
|
| 8 |
+
(at your option) any later version.
|
| 9 |
+
|
| 10 |
+
This program is distributed in the hope that it will be useful,
|
| 11 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 12 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 13 |
+
GNU General Public License for more details.
|
| 14 |
+
|
| 15 |
+
You should have received a copy of the GNU General Public License
|
| 16 |
+
along with this program; if not, write to the Free Software
|
| 17 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
| 18 |
+
|
| 19 |
+
This program incorporates work covered by the following copyright and
|
| 20 |
+
permission notices:
|
| 21 |
+
|
| 22 |
+
WordPress - Web publishing software
|
| 23 |
+
|
| 24 |
+
Copyright 2003-2017 by the contributors
|
| 25 |
+
|
| 26 |
+
WordPress is released under the GPL
|
| 27 |
+
|
| 28 |
+
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
| 29 |
+
|
| 30 |
+
GNU GENERAL PUBLIC LICENSE
|
| 31 |
+
Version 2, June 1991
|
| 32 |
+
|
| 33 |
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
| 34 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
| 35 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 36 |
+
of this license document, but changing it is not allowed.
|
| 37 |
+
|
| 38 |
+
Preamble
|
| 39 |
+
|
| 40 |
+
The licenses for most software are designed to take away your
|
| 41 |
+
freedom to share and change it. By contrast, the GNU General Public
|
| 42 |
+
License is intended to guarantee your freedom to share and change free
|
| 43 |
+
software--to make sure the software is free for all its users. This
|
| 44 |
+
General Public License applies to most of the Free Software
|
| 45 |
+
Foundation's software and to any other program whose authors commit to
|
| 46 |
+
using it. (Some other Free Software Foundation software is covered by
|
| 47 |
+
the GNU Lesser General Public License instead.) You can apply it to
|
| 48 |
+
your programs, too.
|
| 49 |
+
|
| 50 |
+
When we speak of free software, we are referring to freedom, not
|
| 51 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 52 |
+
have the freedom to distribute copies of free software (and charge for
|
| 53 |
+
this service if you wish), that you receive source code or can get it
|
| 54 |
+
if you want it, that you can change the software or use pieces of it
|
| 55 |
+
in new free programs; and that you know you can do these things.
|
| 56 |
+
|
| 57 |
+
To protect your rights, we need to make restrictions that forbid
|
| 58 |
+
anyone to deny you these rights or to ask you to surrender the rights.
|
| 59 |
+
These restrictions translate to certain responsibilities for you if you
|
| 60 |
+
distribute copies of the software, or if you modify it.
|
| 61 |
+
|
| 62 |
+
For example, if you distribute copies of such a program, whether
|
| 63 |
+
gratis or for a fee, you must give the recipients all the rights that
|
| 64 |
+
you have. You must make sure that they, too, receive or can get the
|
| 65 |
+
source code. And you must show them these terms so they know their
|
| 66 |
+
rights.
|
| 67 |
+
|
| 68 |
+
We protect your rights with two steps: (1) copyright the software, and
|
| 69 |
+
(2) offer you this license which gives you legal permission to copy,
|
| 70 |
+
distribute and/or modify the software.
|
| 71 |
+
|
| 72 |
+
Also, for each author's protection and ours, we want to make certain
|
| 73 |
+
that everyone understands that there is no warranty for this free
|
| 74 |
+
software. If the software is modified by someone else and passed on, we
|
| 75 |
+
want its recipients to know that what they have is not the original, so
|
| 76 |
+
that any problems introduced by others will not reflect on the original
|
| 77 |
+
authors' reputations.
|
| 78 |
+
|
| 79 |
+
Finally, any free program is threatened constantly by software
|
| 80 |
+
patents. We wish to avoid the danger that redistributors of a free
|
| 81 |
+
program will individually obtain patent licenses, in effect making the
|
| 82 |
+
program proprietary. To prevent this, we have made it clear that any
|
| 83 |
+
patent must be licensed for everyone's free use or not licensed at all.
|
| 84 |
+
|
| 85 |
+
The precise terms and conditions for copying, distribution and
|
| 86 |
+
modification follow.
|
| 87 |
+
|
| 88 |
+
GNU GENERAL PUBLIC LICENSE
|
| 89 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
| 90 |
+
|
| 91 |
+
0. This License applies to any program or other work which contains
|
| 92 |
+
a notice placed by the copyright holder saying it may be distributed
|
| 93 |
+
under the terms of this General Public License. The "Program", below,
|
| 94 |
+
refers to any such program or work, and a "work based on the Program"
|
| 95 |
+
means either the Program or any derivative work under copyright law:
|
| 96 |
+
that is to say, a work containing the Program or a portion of it,
|
| 97 |
+
either verbatim or with modifications and/or translated into another
|
| 98 |
+
language. (Hereinafter, translation is included without limitation in
|
| 99 |
+
the term "modification".) Each licensee is addressed as "you".
|
| 100 |
+
|
| 101 |
+
Activities other than copying, distribution and modification are not
|
| 102 |
+
covered by this License; they are outside its scope. The act of
|
| 103 |
+
running the Program is not restricted, and the output from the Program
|
| 104 |
+
is covered only if its contents constitute a work based on the
|
| 105 |
+
Program (independent of having been made by running the Program).
|
| 106 |
+
Whether that is true depends on what the Program does.
|
| 107 |
+
|
| 108 |
+
1. You may copy and distribute verbatim copies of the Program's
|
| 109 |
+
source code as you receive it, in any medium, provided that you
|
| 110 |
+
conspicuously and appropriately publish on each copy an appropriate
|
| 111 |
+
copyright notice and disclaimer of warranty; keep intact all the
|
| 112 |
+
notices that refer to this License and to the absence of any warranty;
|
| 113 |
+
and give any other recipients of the Program a copy of this License
|
| 114 |
+
along with the Program.
|
| 115 |
+
|
| 116 |
+
You may charge a fee for the physical act of transferring a copy, and
|
| 117 |
+
you may at your option offer warranty protection in exchange for a fee.
|
| 118 |
+
|
| 119 |
+
2. You may modify your copy or copies of the Program or any portion
|
| 120 |
+
of it, thus forming a work based on the Program, and copy and
|
| 121 |
+
distribute such modifications or work under the terms of Section 1
|
| 122 |
+
above, provided that you also meet all of these conditions:
|
| 123 |
+
|
| 124 |
+
a) You must cause the modified files to carry prominent notices
|
| 125 |
+
stating that you changed the files and the date of any change.
|
| 126 |
+
|
| 127 |
+
b) You must cause any work that you distribute or publish, that in
|
| 128 |
+
whole or in part contains or is derived from the Program or any
|
| 129 |
+
part thereof, to be licensed as a whole at no charge to all third
|
| 130 |
+
parties under the terms of this License.
|
| 131 |
+
|
| 132 |
+
c) If the modified program normally reads commands interactively
|
| 133 |
+
when run, you must cause it, when started running for such
|
| 134 |
+
interactive use in the most ordinary way, to print or display an
|
| 135 |
+
announcement including an appropriate copyright notice and a
|
| 136 |
+
notice that there is no warranty (or else, saying that you provide
|
| 137 |
+
a warranty) and that users may redistribute the program under
|
| 138 |
+
these conditions, and telling the user how to view a copy of this
|
| 139 |
+
License. (Exception: if the Program itself is interactive but
|
| 140 |
+
does not normally print such an announcement, your work based on
|
| 141 |
+
the Program is not required to print an announcement.)
|
| 142 |
+
|
| 143 |
+
These requirements apply to the modified work as a whole. If
|
| 144 |
+
identifiable sections of that work are not derived from the Program,
|
| 145 |
+
and can be reasonably considered independent and separate works in
|
| 146 |
+
themselves, then this License, and its terms, do not apply to those
|
| 147 |
+
sections when you distribute them as separate works. But when you
|
| 148 |
+
distribute the same sections as part of a whole which is a work based
|
| 149 |
+
on the Program, the distribution of the whole must be on the terms of
|
| 150 |
+
this License, whose permissions for other licensees extend to the
|
| 151 |
+
entire whole, and thus to each and every part regardless of who wrote it.
|
| 152 |
+
|
| 153 |
+
Thus, it is not the intent of this section to claim rights or contest
|
| 154 |
+
your rights to work written entirely by you; rather, the intent is to
|
| 155 |
+
exercise the right to control the distribution of derivative or
|
| 156 |
+
collective works based on the Program.
|
| 157 |
+
|
| 158 |
+
In addition, mere aggregation of another work not based on the Program
|
| 159 |
+
with the Program (or with a work based on the Program) on a volume of
|
| 160 |
+
a storage or distribution medium does not bring the other work under
|
| 161 |
+
the scope of this License.
|
| 162 |
+
|
| 163 |
+
3. You may copy and distribute the Program (or a work based on it,
|
| 164 |
+
under Section 2) in object code or executable form under the terms of
|
| 165 |
+
Sections 1 and 2 above provided that you also do one of the following:
|
| 166 |
+
|
| 167 |
+
a) Accompany it with the complete corresponding machine-readable
|
| 168 |
+
source code, which must be distributed under the terms of Sections
|
| 169 |
+
1 and 2 above on a medium customarily used for software interchange; or,
|
| 170 |
+
|
| 171 |
+
b) Accompany it with a written offer, valid for at least three
|
| 172 |
+
years, to give any third party, for a charge no more than your
|
| 173 |
+
cost of physically performing source distribution, a complete
|
| 174 |
+
machine-readable copy of the corresponding source code, to be
|
| 175 |
+
distributed under the terms of Sections 1 and 2 above on a medium
|
| 176 |
+
customarily used for software interchange; or,
|
| 177 |
+
|
| 178 |
+
c) Accompany it with the information you received as to the offer
|
| 179 |
+
to distribute corresponding source code. (This alternative is
|
| 180 |
+
allowed only for noncommercial distribution and only if you
|
| 181 |
+
received the program in object code or executable form with such
|
| 182 |
+
an offer, in accord with Subsection b above.)
|
| 183 |
+
|
| 184 |
+
The source code for a work means the preferred form of the work for
|
| 185 |
+
making modifications to it. For an executable work, complete source
|
| 186 |
+
code means all the source code for all modules it contains, plus any
|
| 187 |
+
associated interface definition files, plus the scripts used to
|
| 188 |
+
control compilation and installation of the executable. However, as a
|
| 189 |
+
special exception, the source code distributed need not include
|
| 190 |
+
anything that is normally distributed (in either source or binary
|
| 191 |
+
form) with the major components (compiler, kernel, and so on) of the
|
| 192 |
+
operating system on which the executable runs, unless that component
|
| 193 |
+
itself accompanies the executable.
|
| 194 |
+
|
| 195 |
+
If distribution of executable or object code is made by offering
|
| 196 |
+
access to copy from a designated place, then offering equivalent
|
| 197 |
+
access to copy the source code from the same place counts as
|
| 198 |
+
distribution of the source code, even though third parties are not
|
| 199 |
+
compelled to copy the source along with the object code.
|
| 200 |
+
|
| 201 |
+
4. You may not copy, modify, sublicense, or distribute the Program
|
| 202 |
+
except as expressly provided under this License. Any attempt
|
| 203 |
+
otherwise to copy, modify, sublicense or distribute the Program is
|
| 204 |
+
void, and will automatically terminate your rights under this License.
|
| 205 |
+
However, parties who have received copies, or rights, from you under
|
| 206 |
+
this License will not have their licenses terminated so long as such
|
| 207 |
+
parties remain in full compliance.
|
| 208 |
+
|
| 209 |
+
5. You are not required to accept this License, since you have not
|
| 210 |
+
signed it. However, nothing else grants you permission to modify or
|
| 211 |
+
distribute the Program or its derivative works. These actions are
|
| 212 |
+
prohibited by law if you do not accept this License. Therefore, by
|
| 213 |
+
modifying or distributing the Program (or any work based on the
|
| 214 |
+
Program), you indicate your acceptance of this License to do so, and
|
| 215 |
+
all its terms and conditions for copying, distributing or modifying
|
| 216 |
+
the Program or works based on it.
|
| 217 |
+
|
| 218 |
+
6. Each time you redistribute the Program (or any work based on the
|
| 219 |
+
Program), the recipient automatically receives a license from the
|
| 220 |
+
original licensor to copy, distribute or modify the Program subject to
|
| 221 |
+
these terms and conditions. You may not impose any further
|
| 222 |
+
restrictions on the recipients' exercise of the rights granted herein.
|
| 223 |
+
You are not responsible for enforcing compliance by third parties to
|
| 224 |
+
this License.
|
| 225 |
+
|
| 226 |
+
7. If, as a consequence of a court judgment or allegation of patent
|
| 227 |
+
infringement or for any other reason (not limited to patent issues),
|
| 228 |
+
conditions are imposed on you (whether by court order, agreement or
|
| 229 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 230 |
+
excuse you from the conditions of this License. If you cannot
|
| 231 |
+
distribute so as to satisfy simultaneously your obligations under this
|
| 232 |
+
License and any other pertinent obligations, then as a consequence you
|
| 233 |
+
may not distribute the Program at all. For example, if a patent
|
| 234 |
+
license would not permit royalty-free redistribution of the Program by
|
| 235 |
+
all those who receive copies directly or indirectly through you, then
|
| 236 |
+
the only way you could satisfy both it and this License would be to
|
| 237 |
+
refrain entirely from distribution of the Program.
|
| 238 |
+
|
| 239 |
+
If any portion of this section is held invalid or unenforceable under
|
| 240 |
+
any particular circumstance, the balance of the section is intended to
|
| 241 |
+
apply and the section as a whole is intended to apply in other
|
| 242 |
+
circumstances.
|
| 243 |
+
|
| 244 |
+
It is not the purpose of this section to induce you to infringe any
|
| 245 |
+
patents or other property right claims or to contest validity of any
|
| 246 |
+
such claims; this section has the sole purpose of protecting the
|
| 247 |
+
integrity of the free software distribution system, which is
|
| 248 |
+
implemented by public license practices. Many people have made
|
| 249 |
+
generous contributions to the wide range of software distributed
|
| 250 |
+
through that system in reliance on consistent application of that
|
| 251 |
+
system; it is up to the author/donor to decide if he or she is willing
|
| 252 |
+
to distribute software through any other system and a licensee cannot
|
| 253 |
+
impose that choice.
|
| 254 |
+
|
| 255 |
+
This section is intended to make thoroughly clear what is believed to
|
| 256 |
+
be a consequence of the rest of this License.
|
| 257 |
+
|
| 258 |
+
8. If the distribution and/or use of the Program is restricted in
|
| 259 |
+
certain countries either by patents or by copyrighted interfaces, the
|
| 260 |
+
original copyright holder who places the Program under this License
|
| 261 |
+
may add an explicit geographical distribution limitation excluding
|
| 262 |
+
those countries, so that distribution is permitted only in or among
|
| 263 |
+
countries not thus excluded. In such case, this License incorporates
|
| 264 |
+
the limitation as if written in the body of this License.
|
| 265 |
+
|
| 266 |
+
9. The Free Software Foundation may publish revised and/or new versions
|
| 267 |
+
of the General Public License from time to time. Such new versions will
|
| 268 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 269 |
+
address new problems or concerns.
|
| 270 |
+
|
| 271 |
+
Each version is given a distinguishing version number. If the Program
|
| 272 |
+
specifies a version number of this License which applies to it and "any
|
| 273 |
+
later version", you have the option of following the terms and conditions
|
| 274 |
+
either of that version or of any later version published by the Free
|
| 275 |
+
Software Foundation. If the Program does not specify a version number of
|
| 276 |
+
this License, you may choose any version ever published by the Free Software
|
| 277 |
+
Foundation.
|
| 278 |
+
|
| 279 |
+
10. If you wish to incorporate parts of the Program into other free
|
| 280 |
+
programs whose distribution conditions are different, write to the author
|
| 281 |
+
to ask for permission. For software which is copyrighted by the Free
|
| 282 |
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
| 283 |
+
make exceptions for this. Our decision will be guided by the two goals
|
| 284 |
+
of preserving the free status of all derivatives of our free software and
|
| 285 |
+
of promoting the sharing and reuse of software generally.
|
| 286 |
+
|
| 287 |
+
NO WARRANTY
|
| 288 |
+
|
| 289 |
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
| 290 |
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
| 291 |
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
| 292 |
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
| 293 |
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
| 294 |
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
| 295 |
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
| 296 |
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
| 297 |
+
REPAIR OR CORRECTION.
|
| 298 |
+
|
| 299 |
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 300 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
| 301 |
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
| 302 |
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
| 303 |
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
| 304 |
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
| 305 |
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
| 306 |
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
| 307 |
+
POSSIBILITY OF SUCH DAMAGES.
|
| 308 |
+
|
| 309 |
+
END OF TERMS AND CONDITIONS
|
| 310 |
+
|
| 311 |
+
How to Apply These Terms to Your New Programs
|
| 312 |
+
|
| 313 |
+
If you develop a new program, and you want it to be of the greatest
|
| 314 |
+
possible use to the public, the best way to achieve this is to make it
|
| 315 |
+
free software which everyone can redistribute and change under these terms.
|
| 316 |
+
|
| 317 |
+
To do so, attach the following notices to the program. It is safest
|
| 318 |
+
to attach them to the start of each source file to most effectively
|
| 319 |
+
convey the exclusion of warranty; and each file should have at least
|
| 320 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 321 |
+
|
| 322 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 323 |
+
Copyright (C) <year> <name of author>
|
| 324 |
+
|
| 325 |
+
This program is free software; you can redistribute it and/or modify
|
| 326 |
+
it under the terms of the GNU General Public License as published by
|
| 327 |
+
the Free Software Foundation; either version 2 of the License, or
|
| 328 |
+
(at your option) any later version.
|
| 329 |
+
|
| 330 |
+
This program is distributed in the hope that it will be useful,
|
| 331 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 332 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 333 |
+
GNU General Public License for more details.
|
| 334 |
+
|
| 335 |
+
You should have received a copy of the GNU General Public License along
|
| 336 |
+
with this program; if not, write to the Free Software Foundation, Inc.,
|
| 337 |
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
| 338 |
+
|
| 339 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 340 |
+
|
| 341 |
+
If the program is interactive, make it output a short notice like this
|
| 342 |
+
when it starts in an interactive mode:
|
| 343 |
+
|
| 344 |
+
Gnomovision version 69, Copyright (C) year name of author
|
| 345 |
+
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 346 |
+
This is free software, and you are welcome to redistribute it
|
| 347 |
+
under certain conditions; type `show c' for details.
|
| 348 |
+
|
| 349 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 350 |
+
parts of the General Public License. Of course, the commands you use may
|
| 351 |
+
be called something other than `show w' and `show c'; they could even be
|
| 352 |
+
mouse-clicks or menu items--whatever suits your program.
|
| 353 |
+
|
| 354 |
+
You should also get your employer (if you work as a programmer) or your
|
| 355 |
+
school, if any, to sign a "copyright disclaimer" for the program, if
|
| 356 |
+
necessary. Here is a sample; alter the names:
|
| 357 |
+
|
| 358 |
+
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
| 359 |
+
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
| 360 |
+
|
| 361 |
+
<signature of Ty Coon>, 1 April 1989
|
| 362 |
+
Ty Coon, President of Vice
|
| 363 |
+
|
| 364 |
+
This General Public License does not permit incorporating your program into
|
| 365 |
+
proprietary programs. If your program is a subroutine library, you may
|
| 366 |
+
consider it more useful to permit linking proprietary applications with the
|
| 367 |
+
library. If this is what you want to do, use the GNU Lesser General
|
| 368 |
+
Public License instead of this License.
|
vendor/10up/wp_mock/behat.yml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
default:
|
| 2 |
+
suites:
|
| 3 |
+
default:
|
| 4 |
+
contexts:
|
| 5 |
+
- FeatureContext
|
| 6 |
+
- HooksContext
|
| 7 |
+
- FunctionsContext
|
| 8 |
+
formatters:
|
| 9 |
+
progress: true
|
vendor/10up/wp_mock/bootstrap.php.dist
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
require_once __DIR__ . '/vendor/autoload.php';
|
| 4 |
+
|
| 5 |
+
WP_Mock::setUsePatchwork( false );
|
vendor/10up/wp_mock/features/bootstrap/FeatureContext.php
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
use Behat\Behat\Context\Context;
|
| 4 |
+
use Behat\Behat\Context\SnippetAcceptingContext;
|
| 5 |
+
use Behat\Behat\Hook\Scope\AfterScenarioScope;
|
| 6 |
+
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
|
| 7 |
+
|
| 8 |
+
/**
|
| 9 |
+
* Defines application features from the specific context.
|
| 10 |
+
*/
|
| 11 |
+
class FeatureContext implements Context, SnippetAcceptingContext {
|
| 12 |
+
|
| 13 |
+
/**
|
| 14 |
+
* Initializes context.
|
| 15 |
+
*
|
| 16 |
+
* Every scenario gets its own context instance.
|
| 17 |
+
* You can also pass arbitrary arguments to the
|
| 18 |
+
* context constructor through behat.yml.
|
| 19 |
+
*/
|
| 20 |
+
public function __construct() {
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
/**
|
| 24 |
+
* @BeforeScenario
|
| 25 |
+
*/
|
| 26 |
+
public function setUpWpMock( BeforeScenarioScope $scope ) {
|
| 27 |
+
WP_Mock::setUp();
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
/**
|
| 31 |
+
* @AfterScenario
|
| 32 |
+
*/
|
| 33 |
+
public function tearDownWpMock( AfterScenarioScope $scope ) {
|
| 34 |
+
WP_Mock::tearDown();
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* @BeforeScenario @strictmode
|
| 39 |
+
*/
|
| 40 |
+
public function ensureStrictModeOn() {
|
| 41 |
+
self::forceStrictModeOn();
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
public static function forceStrictModeOn() {
|
| 45 |
+
$property = new ReflectionProperty( 'WP_Mock', '__strict_mode' );
|
| 46 |
+
$property->setAccessible( true );
|
| 47 |
+
$property->setValue( true );
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/**
|
| 51 |
+
* @AfterScenario @strictmode
|
| 52 |
+
*/
|
| 53 |
+
public function ensureStrictModeOff() {
|
| 54 |
+
self::forceStrictModeOff();
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
public static function forceStrictModeOff() {
|
| 58 |
+
$property = new ReflectionProperty( 'WP_Mock', '__strict_mode' );
|
| 59 |
+
$property->setAccessible( true );
|
| 60 |
+
$property->setValue( false );
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
/**
|
| 64 |
+
* @Then tearDown should not fail
|
| 65 |
+
*/
|
| 66 |
+
public function teardownShouldNotFail() {
|
| 67 |
+
WP_Mock::tearDown();
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
/**
|
| 71 |
+
* @When I do nothing
|
| 72 |
+
*/
|
| 73 |
+
public function iDoNothing() {
|
| 74 |
+
// Move along...
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
/**
|
| 78 |
+
* @Then tearDown should fail
|
| 79 |
+
*/
|
| 80 |
+
public function teardownShouldFail() {
|
| 81 |
+
try {
|
| 82 |
+
$this->teardownShouldNotFail();
|
| 83 |
+
throw new \PHPUnit\Framework\ExpectationFailedException( 'WP_Mock Teardown should have failed!' );
|
| 84 |
+
} catch ( \Mockery\Exception\InvalidCountException $e ) {
|
| 85 |
+
// Move along
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
}
|
vendor/10up/wp_mock/features/bootstrap/FunctionsContext.php
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
use Behat\Behat\Context\Context;
|
| 4 |
+
use Behat\Gherkin\Node\TableNode;
|
| 5 |
+
use Mockery\Exception\NoMatchingExpectationException;
|
| 6 |
+
|
| 7 |
+
class FunctionsContext implements Context {
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @Given function :function does not exist
|
| 11 |
+
*/
|
| 12 |
+
public function functionDoesNotExist( $function ) {
|
| 13 |
+
\PHPUnit\Framework\Assert::assertFalse( function_exists( $function ) );
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
/**
|
| 17 |
+
* @Given I mock passthru function :function with args:
|
| 18 |
+
*/
|
| 19 |
+
public function iMockPassthruFunctionWithArgs( $function, TableNode $args ) {
|
| 20 |
+
WP_Mock::passthruFunction( $function, array(
|
| 21 |
+
'args' => $args->getRow( 0 ),
|
| 22 |
+
) );
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/**
|
| 26 |
+
* @Given I mock function :function to return :value
|
| 27 |
+
*/
|
| 28 |
+
public function iMockFunctionToReturn( $function, $value ) {
|
| 29 |
+
WP_Mock::userFunction( $function, array( 'return' => $value ) );
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
/**
|
| 33 |
+
* @Given I alias :alias to :function
|
| 34 |
+
*/
|
| 35 |
+
public function iAliasTo( $alias, $function ) {
|
| 36 |
+
WP_Mock::alias( $alias, $function );
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
/**
|
| 40 |
+
* @Given I mock function :function to echo input
|
| 41 |
+
*/
|
| 42 |
+
public function iMockFunctionWpMockTestToEcho( $function ) {
|
| 43 |
+
WP_Mock::echoFunction( $function );
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/**
|
| 47 |
+
* @Given strict mode is on
|
| 48 |
+
*/
|
| 49 |
+
public function strictModeIsOn() {
|
| 50 |
+
FeatureContext::forceStrictModeOn();
|
| 51 |
+
\PHPUnit\Framework\Assert::assertTrue( WP_Mock::strictMode() );
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
/**
|
| 55 |
+
* @Given strict mode is off
|
| 56 |
+
*/
|
| 57 |
+
public function strictModeIsOff() {
|
| 58 |
+
FeatureContext::forceStrictModeOff();
|
| 59 |
+
\PHPUnit\Framework\Assert::assertFalse( WP_Mock::strictMode() );
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
/**
|
| 63 |
+
* @When I mock function :function
|
| 64 |
+
*/
|
| 65 |
+
public function iMockFunction( $function ) {
|
| 66 |
+
WP_Mock::userFunction( $function );
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
/**
|
| 70 |
+
* @When I tear down the test
|
| 71 |
+
*/
|
| 72 |
+
public function iTearDownTheTest() {
|
| 73 |
+
WP_Mock::tearDown();
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
/**
|
| 77 |
+
* @Then function :function should exist
|
| 78 |
+
*/
|
| 79 |
+
public function functionShouldExist( $function ) {
|
| 80 |
+
\PHPUnit\Framework\Assert::assertTrue( function_exists( $function ) );
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/**
|
| 84 |
+
* @Then I expect :return when I run :function with args:
|
| 85 |
+
*/
|
| 86 |
+
public function iExpectWhenIRunWithArgs( $return, $function, TableNode $args ) {
|
| 87 |
+
\PHPUnit\Framework\Assert::assertEquals( $return, call_user_func_array( $function, $args->getRow( 0 ) ) );
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
/**
|
| 91 |
+
* @Then I expect :return when I run :function
|
| 92 |
+
*/
|
| 93 |
+
public function iExcpectWhenIRun( $return, $function ) {
|
| 94 |
+
$this->iExpectWhenIRunWithArgs( $return, $function, new TableNode( array( array() ) ) );
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
/**
|
| 98 |
+
* @Then I expect an error when I run :function with args:
|
| 99 |
+
*/
|
| 100 |
+
public function iExpectAnErrorWhenIRunWithArgs( $function, TableNode $args ) {
|
| 101 |
+
try {
|
| 102 |
+
$this->iExpectWhenIRunWithArgs( null, $function, $args );
|
| 103 |
+
} catch ( NoMatchingExpectationException $e ) {
|
| 104 |
+
// Move along...
|
| 105 |
+
} catch ( \PHPUnit\Framework\ExpectationFailedException $e ) {
|
| 106 |
+
// Move along...
|
| 107 |
+
}
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* @Then I expect function :function to echo :input
|
| 112 |
+
*/
|
| 113 |
+
public function iExpectFunctionToEcho( $function, $input ) {
|
| 114 |
+
ob_start();
|
| 115 |
+
$function( $input );
|
| 116 |
+
$output = trim( ob_get_clean() );
|
| 117 |
+
\PHPUnit\Framework\Assert::assertEquals( trim( $input ), $output );
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
/**
|
| 121 |
+
* @Then Nothing happens when I run function :function
|
| 122 |
+
*/
|
| 123 |
+
public function iRunFunction( $function ) {
|
| 124 |
+
$function();
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
}
|
vendor/10up/wp_mock/features/bootstrap/HooksContext.php
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
use Behat\Behat\Context\Context;
|
| 4 |
+
use Behat\Behat\Hook\Scope\AfterScenarioScope;
|
| 5 |
+
use Behat\Behat\Hook\Scope\BeforeScenarioScope;
|
| 6 |
+
use Behat\Gherkin\Node\TableNode;
|
| 7 |
+
|
| 8 |
+
class HooksContext implements Context {
|
| 9 |
+
|
| 10 |
+
private $filterResults = array();
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* @BeforeScenario
|
| 14 |
+
*/
|
| 15 |
+
public function setUpWpMock( BeforeScenarioScope $scope ) {
|
| 16 |
+
$this->filterResults = array();
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
/**
|
| 20 |
+
* @AfterScenario
|
| 21 |
+
*/
|
| 22 |
+
public function tearDownWpMock( AfterScenarioScope $scope ) {
|
| 23 |
+
$this->filterResults = array();
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* @Given I expect the following actions added:
|
| 28 |
+
*/
|
| 29 |
+
public function iExpectTheFollowingActionsAdded( TableNode $table ) {
|
| 30 |
+
foreach ( $this->getActionsWithDefaults( $table ) as $action ) {
|
| 31 |
+
WP_Mock::expectActionAdded(
|
| 32 |
+
$action['action'],
|
| 33 |
+
$action['callback'],
|
| 34 |
+
$action['priority'],
|
| 35 |
+
$action['arguments']
|
| 36 |
+
);
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* @Given I expect the following actions not to be added:
|
| 42 |
+
*/
|
| 43 |
+
public function iExpectTheFollowingActionsNotToBeAdded( TableNode $table ) {
|
| 44 |
+
foreach ( $this->getActionsWithDefaults( $table ) as $action ) {
|
| 45 |
+
WP_Mock::expectActionNotAdded( $action['action'], $action['callback'] );
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
/**
|
| 50 |
+
* @Given I expect the :action action
|
| 51 |
+
*/
|
| 52 |
+
public function iExpectTheAction( $action ) {
|
| 53 |
+
$this->iExpectTheActionWith( $action, new TableNode( array() ) );
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
/**
|
| 57 |
+
* @When I expect the :action action with:
|
| 58 |
+
*/
|
| 59 |
+
public function iExpectTheActionWith( $action, TableNode $table ) {
|
| 60 |
+
$args = array( $action );
|
| 61 |
+
$rows = $table->getRows();
|
| 62 |
+
if ( isset( $rows[0] ) && is_array( $rows[0] ) ) {
|
| 63 |
+
$args = array_merge( $args, $rows[0] );
|
| 64 |
+
}
|
| 65 |
+
call_user_func_array( array( 'WP_Mock', 'expectAction' ), $args );
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
/**
|
| 69 |
+
* @Given I expect the :filter filter with :value
|
| 70 |
+
*/
|
| 71 |
+
public function iExpectTheFilterWith( $filter, $value ) {
|
| 72 |
+
$this->iExpectTheFilterWithValues( $filter, new TableNode( array( array( $value ) ) ) );
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
/**
|
| 76 |
+
* @When I expect the :filter filter with:
|
| 77 |
+
*/
|
| 78 |
+
public function iExpectTheFilterWithValues( $filter, TableNode $table ) {
|
| 79 |
+
$args = array( $filter );
|
| 80 |
+
$rows = $table->getRows();
|
| 81 |
+
if ( isset( $rows[0] ) && is_array( $rows[0] ) ) {
|
| 82 |
+
$args = array_merge( $args, $rows[0] );
|
| 83 |
+
}
|
| 84 |
+
call_user_func_array( array( 'WP_Mock', 'expectFilter' ), $args );
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
/**
|
| 88 |
+
* @When I add the following actions:
|
| 89 |
+
*/
|
| 90 |
+
public function iAddTheFollowingActions( TableNode $table ) {
|
| 91 |
+
foreach ( $this->getActionsWithDefaults( $table ) as $action ) {
|
| 92 |
+
add_action(
|
| 93 |
+
$action['action'],
|
| 94 |
+
$action['callback'],
|
| 95 |
+
$action['priority'],
|
| 96 |
+
$action['arguments']
|
| 97 |
+
);
|
| 98 |
+
}
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
/**
|
| 102 |
+
* @When I do the :action action
|
| 103 |
+
*/
|
| 104 |
+
public function iDoTheAction( $action ) {
|
| 105 |
+
$this->iDoTheActionWith( $action, new TableNode( array() ) );
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
/**
|
| 109 |
+
* @When I do the :action action with:
|
| 110 |
+
*/
|
| 111 |
+
public function iDoTheActionWith( $action, TableNode $table ) {
|
| 112 |
+
$args = array( $action );
|
| 113 |
+
$rows = $table->getRows();
|
| 114 |
+
if ( isset( $rows[0] ) && is_array( $rows[0] ) ) {
|
| 115 |
+
$args = array_merge( $args, $rows[0] );
|
| 116 |
+
}
|
| 117 |
+
call_user_func_array( 'do_action', $args );
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
/**
|
| 121 |
+
* @Given I expect the following filters added:
|
| 122 |
+
*/
|
| 123 |
+
public function iExpectTheFollowingFiltersAdded( TableNode $table ) {
|
| 124 |
+
$filters = $table->getHash();
|
| 125 |
+
$defaults = array(
|
| 126 |
+
'filter' => '',
|
| 127 |
+
'callback' => '',
|
| 128 |
+
'priority' => 10,
|
| 129 |
+
'arguments' => 1,
|
| 130 |
+
);
|
| 131 |
+
foreach ( $filters as $filter ) {
|
| 132 |
+
$filter += $defaults;
|
| 133 |
+
WP_Mock::expectFilterAdded(
|
| 134 |
+
$filter['filter'],
|
| 135 |
+
$filter['callback'],
|
| 136 |
+
$filter['priority'],
|
| 137 |
+
$filter['arguments']
|
| 138 |
+
);
|
| 139 |
+
}
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
/**
|
| 143 |
+
* @Given I expect the following filters not to be added:
|
| 144 |
+
*/
|
| 145 |
+
public function iExpectTheFollowingFiltersNotToBeAdded( TableNode $table ) {
|
| 146 |
+
foreach ( $this->getFiltersWithDefaults( $table ) as $filter ) {
|
| 147 |
+
WP_Mock::expectFilterNotAdded( $filter['filter'], $filter['callback'] );
|
| 148 |
+
}
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
/**
|
| 152 |
+
* @When I add the following filters:
|
| 153 |
+
*/
|
| 154 |
+
public function iAddTheFollowingFilters( TableNode $table ) {
|
| 155 |
+
foreach ( $this->getFiltersWithDefaults( $table ) as $filter ) {
|
| 156 |
+
add_filter(
|
| 157 |
+
$filter['filter'],
|
| 158 |
+
$filter['callback'],
|
| 159 |
+
$filter['priority'],
|
| 160 |
+
$filter['arguments']
|
| 161 |
+
);
|
| 162 |
+
}
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
/**
|
| 166 |
+
* @Given I expect filter :filter to respond to :thing with :response
|
| 167 |
+
*/
|
| 168 |
+
public function iExpectFilterToRespondToWith( $filter, $thing, $response ) {
|
| 169 |
+
WP_Mock::onFilter( $filter )->with( $thing )->reply( $response );
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
/**
|
| 173 |
+
* @Given I expect filter :filter to respond with :response
|
| 174 |
+
*/
|
| 175 |
+
public function iExpectFilterToRespondWith( $filter, $response ) {
|
| 176 |
+
$this->iExpectFilterToRespondToWith( $filter, null, $response );
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
/**
|
| 180 |
+
* @When I apply the filter :filter with :with
|
| 181 |
+
*/
|
| 182 |
+
public function iApplyFilterWith( $filter, $with ) {
|
| 183 |
+
$this->iApplyFilterWithData( $filter, new TableNode( array( array( $with ) ) ) );
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
/**
|
| 187 |
+
* @When I apply the filter :filter with:
|
| 188 |
+
*/
|
| 189 |
+
public function iApplyFilterWithData( $filter, TableNode $table ) {
|
| 190 |
+
$row = $table->getRow( 0 );
|
| 191 |
+
array_unshift( $row, $filter );
|
| 192 |
+
$this->filterResults[ $filter ] = call_user_func_array( 'apply_filters', $row );
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
/**
|
| 196 |
+
* @Then The filter :filter should return :value
|
| 197 |
+
*/
|
| 198 |
+
public function theFilterShouldReturn( $filter, $value ) {
|
| 199 |
+
\PHPUnit\Framework\Assert::assertArrayHasKey( $filter, $this->filterResults );
|
| 200 |
+
\PHPUnit\Framework\Assert::assertEquals( $this->filterResults[ $filter ], $value );
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
private function getActionsWithDefaults( TableNode $table ) {
|
| 204 |
+
$actions = $table->getHash();
|
| 205 |
+
$defaults = array(
|
| 206 |
+
'action' => '',
|
| 207 |
+
'callback' => '',
|
| 208 |
+
'priority' => 10,
|
| 209 |
+
'arguments' => 1,
|
| 210 |
+
);
|
| 211 |
+
foreach ( $actions as &$action ) {
|
| 212 |
+
$action += $defaults;
|
| 213 |
+
}
|
| 214 |
+
unset( $action );
|
| 215 |
+
|
| 216 |
+
return $actions;
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
private function getFiltersWithDefaults( TableNode $table ) {
|
| 220 |
+
$filters = $table->getHash();
|
| 221 |
+
$defaults = array(
|
| 222 |
+
'filter' => '',
|
| 223 |
+
'callback' => '',
|
| 224 |
+
'priority' => 10,
|
| 225 |
+
'arguments' => 1,
|
| 226 |
+
);
|
| 227 |
+
foreach ( $filters as &$filter ) {
|
| 228 |
+
$filter += $defaults;
|
| 229 |
+
}
|
| 230 |
+
unset( $filter );
|
| 231 |
+
|
| 232 |
+
return $filters;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
}
|
vendor/10up/wp_mock/features/function-mocks.feature
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Feature: Function mocking
|
| 2 |
+
In order to simulate the WordPress functional API
|
| 3 |
+
As a developer
|
| 4 |
+
I need to be able to mock WordPress core functions
|
| 5 |
+
|
| 6 |
+
Scenario: userFunction creates functions that don't exist
|
| 7 |
+
Given function wpMockTest does not exist
|
| 8 |
+
When I mock function wpMockTest
|
| 9 |
+
Then function wpMockTest should exist
|
| 10 |
+
|
| 11 |
+
Scenario: Passthru function returns first argument
|
| 12 |
+
Given I mock passthru function wpMockPassthruTest with args:
|
| 13 |
+
| foobar | bazbat |
|
| 14 |
+
Then I expect foobar when I run wpMockPassthruTest with args:
|
| 15 |
+
| foobar | bazbat |
|
| 16 |
+
|
| 17 |
+
Scenario: return value works correctly
|
| 18 |
+
Given I mock function wpMockTest to return "test value"
|
| 19 |
+
Then I expect "test value" when I run wpMockTest
|
| 20 |
+
|
| 21 |
+
Scenario: expectations cause error on unexpected use
|
| 22 |
+
Given I mock passthru function wpMockTest with args:
|
| 23 |
+
| bazbat | foobar |
|
| 24 |
+
Then I expect an error when I run wpMockTest with args:
|
| 25 |
+
| bimbam | bobeep |
|
| 26 |
+
|
| 27 |
+
Scenario: alias uses the provided callback when called
|
| 28 |
+
Given I mock function wpMockTest to return "alias test"
|
| 29 |
+
And I alias wpAliasTest to wpMockTest
|
| 30 |
+
Then I expect "alias test" when I run wpAliasTest
|
| 31 |
+
|
| 32 |
+
Scenario: echoFunction echoes the correct output
|
| 33 |
+
Given I mock function wpMockTest to echo input
|
| 34 |
+
Then I expect function wpMockTest to echo "echo test"
|
| 35 |
+
|
| 36 |
+
Scenario: Previously defined functions do not cause failure when called without being expected
|
| 37 |
+
Given strict mode is off
|
| 38 |
+
And I mock function wpMockStrictTest
|
| 39 |
+
And I tear down the test
|
| 40 |
+
Then Nothing happens when I run function wpMockStrictTest
|
| 41 |
+
|
| 42 |
+
@strictmode
|
| 43 |
+
Scenario: Strict mode causes unexpected but previously defined functions to fail
|
| 44 |
+
Given strict mode is on
|
| 45 |
+
And I mock function wpMockTest
|
| 46 |
+
When I tear down the test
|
| 47 |
+
Then I expect an error when I run wpMockTest with args:
|
| 48 |
+
| |
|
vendor/10up/wp_mock/features/hooks.feature
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Feature: Hook mocking
|
| 2 |
+
In order to test common WordPress functionality
|
| 3 |
+
As a developer
|
| 4 |
+
I need to be able to mock actions and filters
|
| 5 |
+
|
| 6 |
+
Scenario: expectActionAdded sets up expectation
|
| 7 |
+
Given I expect the following actions added:
|
| 8 |
+
| action | callback | priority | arguments |
|
| 9 |
+
| foobar | bazbat | 10 | 2 |
|
| 10 |
+
When I add the following actions:
|
| 11 |
+
| action | callback | priority | arguments |
|
| 12 |
+
| foobar | bazbat | 10 | 2 |
|
| 13 |
+
Then tearDown should not fail
|
| 14 |
+
|
| 15 |
+
Scenario: expectActionAdded fails when not met
|
| 16 |
+
Given I expect the following actions added:
|
| 17 |
+
| action | callback |
|
| 18 |
+
| foobar | bazbat |
|
| 19 |
+
When I do nothing
|
| 20 |
+
Then tearDown should fail
|
| 21 |
+
|
| 22 |
+
Scenario: expectActionAdded fails when argument count is different
|
| 23 |
+
Given I expect the following actions added:
|
| 24 |
+
| action | callback | priority | arguments |
|
| 25 |
+
| foobar | bazbat | 10 | 2 |
|
| 26 |
+
When I add the following actions:
|
| 27 |
+
| action | callback | priority | arguments |
|
| 28 |
+
| foobar | bazbat | 10 | 3 |
|
| 29 |
+
Then tearDown should fail
|
| 30 |
+
|
| 31 |
+
Scenario: expectActionAdded fails when priority is different
|
| 32 |
+
Given I expect the following actions added:
|
| 33 |
+
| action | callback | priority |
|
| 34 |
+
| foobar | bazbat | 10 |
|
| 35 |
+
When I add the following actions:
|
| 36 |
+
| action | callback | priority |
|
| 37 |
+
| foobar | bazbat | 11 |
|
| 38 |
+
Then tearDown should fail
|
| 39 |
+
|
| 40 |
+
Scenario: expectActionNotAdded fails when action added
|
| 41 |
+
Given I expect the following actions not to be added:
|
| 42 |
+
| action | callback |
|
| 43 |
+
| foobar | bazbat |
|
| 44 |
+
When I add the following actions:
|
| 45 |
+
| action | callback |
|
| 46 |
+
| foobar | bazbat |
|
| 47 |
+
Then tearDown should fail
|
| 48 |
+
|
| 49 |
+
Scenario: expectActionNotAdded passes when action not added
|
| 50 |
+
Given I expect the following actions not to be added:
|
| 51 |
+
| action | callback |
|
| 52 |
+
| foobar | bazbat |
|
| 53 |
+
When I do nothing
|
| 54 |
+
Then tearDown should not fail
|
| 55 |
+
|
| 56 |
+
Scenario: expectFilterAdded sets up expectation
|
| 57 |
+
Given I expect the following filters added:
|
| 58 |
+
| filter | callback | priority | arguments |
|
| 59 |
+
| foobar | bazbat | 10 | 2 |
|
| 60 |
+
When I add the following filters:
|
| 61 |
+
| filter | callback | priority | arguments |
|
| 62 |
+
| foobar | bazbat | 10 | 2 |
|
| 63 |
+
Then tearDown should not fail
|
| 64 |
+
|
| 65 |
+
Scenario: expectFilterAdded fails when not met
|
| 66 |
+
Given I expect the following filters added:
|
| 67 |
+
| filter | callback |
|
| 68 |
+
| foobar | bazbat |
|
| 69 |
+
When I do nothing
|
| 70 |
+
Then tearDown should fail
|
| 71 |
+
|
| 72 |
+
Scenario: expectFilterAdded fails when argument count is different
|
| 73 |
+
Given I expect the following filters added:
|
| 74 |
+
| filter | callback | priority | arguments |
|
| 75 |
+
| foobar | bazbat | 10 | 2 |
|
| 76 |
+
When I add the following filters:
|
| 77 |
+
| filter | callback | priority | arguments |
|
| 78 |
+
| foobar | bazbat | 10 | 3 |
|
| 79 |
+
Then tearDown should fail
|
| 80 |
+
|
| 81 |
+
Scenario: expectFilterAdded fails when priority is different
|
| 82 |
+
Given I expect the following filters added:
|
| 83 |
+
| filter | callback | priority |
|
| 84 |
+
| foobar | bazbat | 10 |
|
| 85 |
+
When I add the following filters:
|
| 86 |
+
| filter | callback | priority |
|
| 87 |
+
| foobar | bazbat | 11 |
|
| 88 |
+
Then tearDown should fail
|
| 89 |
+
|
| 90 |
+
Scenario: expectAction sets up expectation
|
| 91 |
+
Given I expect the "foobar" action
|
| 92 |
+
When I do the "foobar" action
|
| 93 |
+
Then tearDown should not fail
|
| 94 |
+
|
| 95 |
+
Scenario: expectAction fails when unmet
|
| 96 |
+
Given I expect the "foobar" action
|
| 97 |
+
When I do nothing
|
| 98 |
+
Then tearDown should fail
|
| 99 |
+
|
| 100 |
+
Scenario: expectAction with extra arguments
|
| 101 |
+
Given I expect the "foobar" action with:
|
| 102 |
+
| some | extra | data |
|
| 103 |
+
When I do the "foobar" action with:
|
| 104 |
+
| some | extra | data |
|
| 105 |
+
Then tearDown should not fail
|
| 106 |
+
|
| 107 |
+
Scenario: action with the wrong arguments fails
|
| 108 |
+
Given I expect the "bazbat" action with:
|
| 109 |
+
| the correct data |
|
| 110 |
+
When I do the "bazbat" action with:
|
| 111 |
+
| Invalid information |
|
| 112 |
+
Then tearDown should fail
|
| 113 |
+
|
| 114 |
+
Scenario: action with extra arguments fails
|
| 115 |
+
Given I expect the "bazbat" action with:
|
| 116 |
+
| data |
|
| 117 |
+
When I do the "bazbat" action with:
|
| 118 |
+
| data | plus |
|
| 119 |
+
Then tearDown should fail
|
| 120 |
+
|
| 121 |
+
Scenario: expectFilter sets up expectation
|
| 122 |
+
Given I expect the "foobar" filter with "bazbat"
|
| 123 |
+
When I apply the filter "foobar" with "bazbat"
|
| 124 |
+
Then tearDown should not fail
|
| 125 |
+
|
| 126 |
+
Scenario: expectFilter fails when unmet
|
| 127 |
+
Given I expect the "foobar" filter with "bazbat"
|
| 128 |
+
When I do nothing
|
| 129 |
+
Then tearDown should fail
|
| 130 |
+
|
| 131 |
+
Scenario: expectFilter with extra arguments
|
| 132 |
+
Given I expect the "foobar" filter with:
|
| 133 |
+
| some | extra | data |
|
| 134 |
+
When I apply the filter "foobar" with:
|
| 135 |
+
| some | extra | data |
|
| 136 |
+
Then tearDown should not fail
|
| 137 |
+
|
| 138 |
+
Scenario: filter with the wrong arguments fails
|
| 139 |
+
Given I expect the "bazbat" filter with:
|
| 140 |
+
| the correct data |
|
| 141 |
+
When I apply the filter "bazbat" with:
|
| 142 |
+
| Invalid information |
|
| 143 |
+
Then tearDown should fail
|
| 144 |
+
|
| 145 |
+
Scenario: expectFilter fails when called with wrong argument
|
| 146 |
+
Given I expect the "foobar" filter with "bazbat"
|
| 147 |
+
When I apply the filter "foobar" with "bimbam"
|
| 148 |
+
Then tearDown should fail
|
| 149 |
+
|
| 150 |
+
Scenario: filter with extra arguments fails
|
| 151 |
+
Given I expect the "bazbat" filter with:
|
| 152 |
+
| data |
|
| 153 |
+
When I apply the filter "bazbat" with:
|
| 154 |
+
| data | plus |
|
| 155 |
+
Then tearDown should fail
|
| 156 |
+
|
| 157 |
+
@strictmode
|
| 158 |
+
Scenario: Unexpected action fails in strict mode
|
| 159 |
+
Given strict mode is on
|
| 160 |
+
When I do nothing
|
| 161 |
+
Then I expect an error when I run do_action with args:
|
| 162 |
+
| bimbam | bazbat |
|
| 163 |
+
|
| 164 |
+
Scenario: unexpected action does not fail tests
|
| 165 |
+
Given I do nothing
|
| 166 |
+
When I add the following actions:
|
| 167 |
+
| action | callback |
|
| 168 |
+
| foobar | bazbat |
|
| 169 |
+
Then tearDown should not fail
|
| 170 |
+
|
| 171 |
+
@strictmode
|
| 172 |
+
Scenario: Unexpected filter fails in strict mode
|
| 173 |
+
Given strict mode is on
|
| 174 |
+
When I do nothing
|
| 175 |
+
Then I expect an error when I run apply_filters with args:
|
| 176 |
+
| foobar | bazbat |
|
| 177 |
+
|
| 178 |
+
Scenario: unexpected filter does not fail tests
|
| 179 |
+
Given I do nothing
|
| 180 |
+
When I add the following filters:
|
| 181 |
+
| filter | callback |
|
| 182 |
+
| foobar | bazbat |
|
| 183 |
+
Then tearDown should not fail
|
| 184 |
+
|
| 185 |
+
@strictmode
|
| 186 |
+
Scenario: unexpected action fails in strict mode
|
| 187 |
+
Given strict mode is on
|
| 188 |
+
When I do nothing
|
| 189 |
+
Then I expect an error when I run add_action with args:
|
| 190 |
+
| foobar | bazbat |
|
| 191 |
+
|
| 192 |
+
@strictmode
|
| 193 |
+
Scenario: unexpected action fails in strict mode
|
| 194 |
+
Given strict mode is on
|
| 195 |
+
When I do nothing
|
| 196 |
+
Then I expect an error when I run add_filter with args:
|
| 197 |
+
| foobar | bazbat |
|
| 198 |
+
|
| 199 |
+
Scenario: filter responder works
|
| 200 |
+
Given I expect filter "the_content" to respond to "Test content" with "Responder works"
|
| 201 |
+
When I apply the filter "the_content" with "Test content"
|
| 202 |
+
Then The filter "the_content" should return "Responder works"
|
| 203 |
+
|
| 204 |
+
Scenario: filter returns default value when no filter defined
|
| 205 |
+
Given I do nothing
|
| 206 |
+
When I apply the filter "the_content" with "Apple"
|
| 207 |
+
Then The filter "the_content" should return "Apple"
|
| 208 |
+
|
| 209 |
+
Scenario: filter returns default value when unexpected value used
|
| 210 |
+
Given I expect filter "the_content" to respond to "Windows" with "OS X"
|
| 211 |
+
When I apply the filter "the_content" with "Linux"
|
| 212 |
+
Then The filter "the_content" should return "Linux"
|
| 213 |
+
|
| 214 |
+
Scenario: expectFilterNotAdded fails when filter added
|
| 215 |
+
Given I expect the following filters not to be added:
|
| 216 |
+
| filter | callback |
|
| 217 |
+
| foobar | bazbat |
|
| 218 |
+
When I add the following filters:
|
| 219 |
+
| filter | callback |
|
| 220 |
+
| foobar | bazbat |
|
| 221 |
+
Then tearDown should fail
|
| 222 |
+
|
| 223 |
+
Scenario: expectFilterNotAdded passes when filter not added
|
| 224 |
+
Given I expect the following filters not to be added:
|
| 225 |
+
| filter | callback |
|
| 226 |
+
| foobar | bazbat |
|
| 227 |
+
When I do nothing
|
| 228 |
+
Then tearDown should not fail
|
vendor/10up/wp_mock/php/WP_Mock.php
ADDED
|
@@ -0,0 +1,543 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* WP_Mock
|
| 4 |
+
*
|
| 5 |
+
* LICENSE
|
| 6 |
+
*
|
| 7 |
+
* Copyright 2013 10up and other contributors
|
| 8 |
+
* http://10up.com
|
| 9 |
+
*
|
| 10 |
+
* Permission is hereby granted, free of charge, to any person obtaining
|
| 11 |
+
* a copy of this software and associated documentation files (the
|
| 12 |
+
* "Software"), to deal in the Software without restriction, including
|
| 13 |
+
* without limitation the rights to use, copy, modify, merge, publish,
|
| 14 |
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
| 15 |
+
* permit persons to whom the Software is furnished to do so, subject to
|
| 16 |
+
* the following conditions:
|
| 17 |
+
*
|
| 18 |
+
* The above copyright notice and this permission notice shall be
|
| 19 |
+
* included in all copies or substantial portions of the Software.
|
| 20 |
+
*
|
| 21 |
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 22 |
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 23 |
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
| 24 |
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
| 25 |
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
| 26 |
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
| 27 |
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 28 |
+
*
|
| 29 |
+
* @package WP_Mock
|
| 30 |
+
* @copyright Copyright (c) 2013 10up (http://10up.com)
|
| 31 |
+
* @license MIT License
|
| 32 |
+
*/
|
| 33 |
+
|
| 34 |
+
use WP_Mock\Matcher\FuzzyObject;
|
| 35 |
+
|
| 36 |
+
class WP_Mock {
|
| 37 |
+
/**
|
| 38 |
+
* @var \WP_Mock\EventManager
|
| 39 |
+
*/
|
| 40 |
+
protected static $event_manager;
|
| 41 |
+
|
| 42 |
+
/**
|
| 43 |
+
* @var \WP_Mock\Functions
|
| 44 |
+
*/
|
| 45 |
+
protected static $function_manager;
|
| 46 |
+
|
| 47 |
+
protected static $__bootstrapped = false;
|
| 48 |
+
|
| 49 |
+
protected static $__use_patchwork = false;
|
| 50 |
+
|
| 51 |
+
protected static $__strict_mode = false;
|
| 52 |
+
|
| 53 |
+
protected static $deprecated_listener;
|
| 54 |
+
|
| 55 |
+
/**
|
| 56 |
+
* @param boolean $use_patchwork
|
| 57 |
+
*/
|
| 58 |
+
public static function setUsePatchwork( $use_patchwork ) {
|
| 59 |
+
if ( ! self::$__bootstrapped ) {
|
| 60 |
+
self::$__use_patchwork = (bool) $use_patchwork;
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
public static function usingPatchwork() {
|
| 65 |
+
return (bool) self::$__use_patchwork;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
/**
|
| 69 |
+
* Check whether strict mode is turned on
|
| 70 |
+
*
|
| 71 |
+
* @return bool
|
| 72 |
+
*/
|
| 73 |
+
public static function strictMode() {
|
| 74 |
+
return (bool) self::$__strict_mode;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
/**
|
| 78 |
+
* Turns on strict mode
|
| 79 |
+
*/
|
| 80 |
+
public static function activateStrictMode() {
|
| 81 |
+
if ( ! self::$__bootstrapped ) {
|
| 82 |
+
self::$__strict_mode = true;
|
| 83 |
+
}
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
/**
|
| 87 |
+
* Bootstrap WP_Mock
|
| 88 |
+
*/
|
| 89 |
+
public static function bootstrap() {
|
| 90 |
+
if ( ! self::$__bootstrapped ) {
|
| 91 |
+
self::$__bootstrapped = true;
|
| 92 |
+
static::$deprecated_listener = new \WP_Mock\DeprecatedListener();
|
| 93 |
+
require_once __DIR__ . '/WP_Mock/API/function-mocks.php';
|
| 94 |
+
require_once __DIR__ . '/WP_Mock/API/constant-mocks.php';
|
| 95 |
+
if ( self::usingPatchwork() ) {
|
| 96 |
+
$possible_locations = array(
|
| 97 |
+
'vendor',
|
| 98 |
+
'../..',
|
| 99 |
+
);
|
| 100 |
+
$patchwork_path = 'antecedent/patchwork/Patchwork.php';
|
| 101 |
+
foreach ( $possible_locations as $loc ) {
|
| 102 |
+
$path = __DIR__ . "/../$loc/$patchwork_path";
|
| 103 |
+
if ( file_exists( $path ) ) {
|
| 104 |
+
break;
|
| 105 |
+
}
|
| 106 |
+
}
|
| 107 |
+
// Will cause a fatal error if patchwork can't be found
|
| 108 |
+
require_once( $path );
|
| 109 |
+
}
|
| 110 |
+
self::setUp();
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/**
|
| 115 |
+
* Make sure Mockery doesn't have anything set up already.
|
| 116 |
+
*/
|
| 117 |
+
public static function setUp() {
|
| 118 |
+
if ( self::$__bootstrapped ) {
|
| 119 |
+
\Mockery::close();
|
| 120 |
+
|
| 121 |
+
self::$event_manager = new \WP_Mock\EventManager();
|
| 122 |
+
self::$function_manager = new \WP_Mock\Functions();
|
| 123 |
+
} else {
|
| 124 |
+
self::bootstrap();
|
| 125 |
+
}
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
/**
|
| 129 |
+
* Tear down anything built up inside Mockery when we're ready to do so.
|
| 130 |
+
*/
|
| 131 |
+
public static function tearDown() {
|
| 132 |
+
self::$event_manager->flush();
|
| 133 |
+
self::$function_manager->flush();
|
| 134 |
+
|
| 135 |
+
\Mockery::close();
|
| 136 |
+
\WP_Mock\Handler::cleanup();
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
/**
|
| 140 |
+
* Fire a specific (mocked) callback when an apply_filters() call is used.
|
| 141 |
+
*
|
| 142 |
+
* @param string $filter
|
| 143 |
+
*
|
| 144 |
+
* @return \WP_Mock\Filter
|
| 145 |
+
*/
|
| 146 |
+
public static function onFilter( $filter ) {
|
| 147 |
+
return self::$event_manager->filter( $filter );
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
/**
|
| 151 |
+
* Fire a specific (mocked) callback when a do_action() call is used.
|
| 152 |
+
*
|
| 153 |
+
* @param string $action
|
| 154 |
+
*
|
| 155 |
+
* @return \WP_Mock\Action
|
| 156 |
+
*/
|
| 157 |
+
public static function onAction( $action ) {
|
| 158 |
+
return self::$event_manager->action( $action );
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
/**
|
| 162 |
+
* Get a filter or action added callback object
|
| 163 |
+
*
|
| 164 |
+
* @param string $hook
|
| 165 |
+
* @param string $type
|
| 166 |
+
*
|
| 167 |
+
* @return \WP_Mock\HookedCallback
|
| 168 |
+
*/
|
| 169 |
+
public static function onHookAdded( $hook, $type = 'filter' ) {
|
| 170 |
+
return self::$event_manager->callback( $hook, $type );
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
/**
|
| 174 |
+
* Get a filter added callback object
|
| 175 |
+
*
|
| 176 |
+
* @param string $hook
|
| 177 |
+
*
|
| 178 |
+
* @return \WP_Mock\HookedCallback
|
| 179 |
+
*/
|
| 180 |
+
public static function onFilterAdded( $hook ) {
|
| 181 |
+
return self::onHookAdded( $hook, 'filter' );
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
/**
|
| 185 |
+
* Get an action added callback object
|
| 186 |
+
*
|
| 187 |
+
* @param string $hook
|
| 188 |
+
*
|
| 189 |
+
* @return \WP_Mock\HookedCallback
|
| 190 |
+
*/
|
| 191 |
+
public static function onActionAdded( $hook ) {
|
| 192 |
+
return self::onHookAdded( $hook, 'action' );
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
/**
|
| 196 |
+
* Alert the Event Manager that an action has been invoked.
|
| 197 |
+
*
|
| 198 |
+
* @param string $action
|
| 199 |
+
*/
|
| 200 |
+
public static function invokeAction( $action ) {
|
| 201 |
+
self::$event_manager->called( $action );
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
public static function addFilter( $hook ) {
|
| 205 |
+
self::addHook( $hook, 'filter' );
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
public static function addAction( $hook ) {
|
| 209 |
+
self::addHook( $hook, 'action' );
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
public static function addHook( $hook, $type = 'filter' ) {
|
| 213 |
+
$type_name = "$type::$hook";
|
| 214 |
+
self::$event_manager->called( $type_name, 'callback' );
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
/**
|
| 218 |
+
* Set up the expectation that an action will be called during the test.
|
| 219 |
+
*
|
| 220 |
+
* Mock a WordPress action, regardless of the parameters used. This call merely
|
| 221 |
+
* verifies that the action is invoked by the tested method.
|
| 222 |
+
*
|
| 223 |
+
* @param string $action Action we expect the method to call
|
| 224 |
+
*/
|
| 225 |
+
public static function expectAction( $action ) {
|
| 226 |
+
$intercept = \Mockery::mock( 'intercept' );
|
| 227 |
+
$intercept->shouldReceive( 'intercepted' )->atLeast()->once();
|
| 228 |
+
$args = func_get_args();
|
| 229 |
+
$args = count( $args ) > 1 ? array_slice( $args, 1 ) : array( null );
|
| 230 |
+
|
| 231 |
+
$mocked_action = self::onAction( $action );
|
| 232 |
+
$responder = call_user_func_array( array( $mocked_action, 'with' ), $args );
|
| 233 |
+
$responder->perform( array( $intercept, 'intercepted' ) );
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
/**
|
| 237 |
+
* Set up the expectation that a filter will be applied during the test.
|
| 238 |
+
*
|
| 239 |
+
* Mock a WordPress filter with specific arguments. You need all arguments that you expect
|
| 240 |
+
* in order to fulfill the expectation.
|
| 241 |
+
*
|
| 242 |
+
* @param string $filter
|
| 243 |
+
*/
|
| 244 |
+
public static function expectFilter( $filter ) {
|
| 245 |
+
$intercept = \Mockery::mock( 'intercept' );
|
| 246 |
+
$intercept->shouldReceive( 'intercepted' )->atLeast()->once()->andReturnUsing( function( $value ) {
|
| 247 |
+
return $value;
|
| 248 |
+
} );
|
| 249 |
+
$args = func_num_args() > 1 ? array_slice( func_get_args(), 1 ) : array( null );
|
| 250 |
+
|
| 251 |
+
$mocked_filter = self::onFilter( $filter );
|
| 252 |
+
$responder = call_user_func_array( array( $mocked_filter, 'with' ), $args );
|
| 253 |
+
$responder->reply( new \WP_Mock\InvokedFilterValue( array( $intercept, 'intercepted' ) ) );
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
public static function assertActionsCalled() {
|
| 257 |
+
if ( ! self::$event_manager->allActionsCalled() ) {
|
| 258 |
+
$failed = implode( ', ', self::$event_manager->expectedActions() );
|
| 259 |
+
throw new \PHPUnit\Framework\ExpectationFailedException( 'Method failed to invoke actions: ' . $failed, null );
|
| 260 |
+
}
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
/**
|
| 264 |
+
* Add an expectation that an action should be added
|
| 265 |
+
*
|
| 266 |
+
* Really just a wrapper function for expectHookAdded()
|
| 267 |
+
*
|
| 268 |
+
* @param string $action The action name
|
| 269 |
+
* @param callable $callback The callback that should be registered
|
| 270 |
+
* @param int $priority The priority it should be registered at
|
| 271 |
+
* @param int $args The number of arguments that should be allowed
|
| 272 |
+
*/
|
| 273 |
+
public static function expectActionAdded( $action, $callback, $priority = 10, $args = 1 ) {
|
| 274 |
+
self::expectHookAdded( 'action', $action, $callback, $priority, $args );
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
/**
|
| 278 |
+
* Add an expection that an action should not be added. A wrapper
|
| 279 |
+
* around the expectHookNotAdded function.
|
| 280 |
+
*
|
| 281 |
+
* @param string $action The action hook name
|
| 282 |
+
* @param callable $callback The action callback
|
| 283 |
+
*/
|
| 284 |
+
public static function expectActionNotAdded( $action, $callback ) {
|
| 285 |
+
self::expectHookNotAdded( 'action', $action, $callback );
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
/**
|
| 289 |
+
* Add an expectation that a filter should be added
|
| 290 |
+
*
|
| 291 |
+
* Really just a wrapper function for expectHookAdded()
|
| 292 |
+
*
|
| 293 |
+
* @param string $filter The action name
|
| 294 |
+
* @param callable $callback The callback that should be registered
|
| 295 |
+
* @param int $priority The priority it should be registered at
|
| 296 |
+
* @param int $args The number of arguments that should be allowed
|
| 297 |
+
*/
|
| 298 |
+
public static function expectFilterAdded( $filter, $callback, $priority = 10, $args = 1 ) {
|
| 299 |
+
self::expectHookAdded( 'filter', $filter, $callback, $priority, $args );
|
| 300 |
+
}
|
| 301 |
+
|
| 302 |
+
/**
|
| 303 |
+
* Adds an expectation that a filter will not be added. A wrapper
|
| 304 |
+
* around the expectHookNotAdded function.
|
| 305 |
+
*
|
| 306 |
+
* @param string $filter The filter hook name
|
| 307 |
+
* @param callable $callback The filter callback
|
| 308 |
+
*/
|
| 309 |
+
public static function expectFilterNotAdded( $filter, $callback ) {
|
| 310 |
+
self::expectHookNotAdded( 'filter', $filter, $callback );
|
| 311 |
+
}
|
| 312 |
+
|
| 313 |
+
/**
|
| 314 |
+
* Add an expectation that a hook should be added
|
| 315 |
+
*
|
| 316 |
+
* @param string $type The type of hook being added
|
| 317 |
+
* @param string $action The action name
|
| 318 |
+
* @param callable $callback The callback that should be registered
|
| 319 |
+
* @param int $priority The priority it should be registered at
|
| 320 |
+
* @param int $args The number of arguments that should be allowed
|
| 321 |
+
*/
|
| 322 |
+
public static function expectHookAdded( $type, $action, $callback, $priority = 10, $args = 1 ) {
|
| 323 |
+
$intercept = \Mockery::mock( 'intercept' );
|
| 324 |
+
$intercept->shouldReceive( 'intercepted' )->atLeast()->once();
|
| 325 |
+
|
| 326 |
+
/** @var WP_Mock\HookedCallbackResponder $responder */
|
| 327 |
+
$responder = self::onHookAdded( $action, $type )
|
| 328 |
+
->with( $callback, $priority, $args );
|
| 329 |
+
$responder->perform( array( $intercept, 'intercepted' ) );
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
/**
|
| 333 |
+
* Adds an expectation that a hook should not be added. Based on the
|
| 334 |
+
* shouldNotReceive API of Mocker.
|
| 335 |
+
*
|
| 336 |
+
* @param string $type The hook type, 'action' or 'filter'
|
| 337 |
+
* @param string $action The name of the hook
|
| 338 |
+
* @param callable $callback The hooks callback handler.
|
| 339 |
+
*/
|
| 340 |
+
public static function expectHookNotAdded( $type, $action, $callback ) {
|
| 341 |
+
$intercept = \Mockery::mock( 'intercept' );
|
| 342 |
+
$intercept->shouldNotReceive( 'intercepted' );
|
| 343 |
+
|
| 344 |
+
/** @var WP_Mock\HookedCallbackResponder $responder */
|
| 345 |
+
$responder = self::onHookAdded( $action, $type )
|
| 346 |
+
->with( $callback, 10, 1 );
|
| 347 |
+
$responder->perform( array( $intercept, 'intercepted' ) );
|
| 348 |
+
}
|
| 349 |
+
|
| 350 |
+
public static function assertHooksAdded() {
|
| 351 |
+
if ( ! self:: $event_manager->allHooksAdded() ) {
|
| 352 |
+
$failed = implode( ', ', self::$event_manager->expectedHooks() );
|
| 353 |
+
throw new \PHPUnit\Framework\ExpectationFailedException( 'Method failed to add hooks: ' . $failed, null );
|
| 354 |
+
}
|
| 355 |
+
}
|
| 356 |
+
|
| 357 |
+
/**
|
| 358 |
+
* Mock a WordPress API function
|
| 359 |
+
*
|
| 360 |
+
* This function registers a mock object for a WordPress function and, if
|
| 361 |
+
* necessary, dynamically defines the function. Pass the function name as
|
| 362 |
+
* the first argument (e.g. wp_remote_get) and pass in details about the
|
| 363 |
+
* expectations in the $arguments array. The arguments array has a few
|
| 364 |
+
* options for defining expectations about how the WordPress function should
|
| 365 |
+
* be used during a test. Currently, it accepts the following settings:
|
| 366 |
+
*
|
| 367 |
+
* - times: Defines expectations for the number of times a function should
|
| 368 |
+
* be called. The default is 0 or more times. To expect the function to be
|
| 369 |
+
* called an exact amount of times, set times to a non-negative numeric
|
| 370 |
+
* value. To specify that the function should be called a minimum number
|
| 371 |
+
* of times, use a string with the minimum followed by '+' (e.g. '3+'
|
| 372 |
+
* means 3 or more times). Append a '-' to indicate a maximum number of
|
| 373 |
+
* times a function should be called (e.g. '3-' means no more than 3 times)
|
| 374 |
+
* To indicate a range, use '-' between two numbers (e.g. '2-5' means at
|
| 375 |
+
* least 2 times and no more than 5 times)
|
| 376 |
+
* - return: Defines the value (if any) that the function should return. If
|
| 377 |
+
* you pass a Closure as the return value, the function will return
|
| 378 |
+
* whatever the Closure's return value.
|
| 379 |
+
* - return_in_order: Use this if your function will be called multiple
|
| 380 |
+
* times in the test but needs to have different return values. Set this to
|
| 381 |
+
* an array of return values. Each time the function is called, it will
|
| 382 |
+
* return the next value in the sequence until it reaches the last value,
|
| 383 |
+
* which will become the return value for all subsequent calls. For
|
| 384 |
+
* example, if I am mocking is_single(), I can set return_in_order to
|
| 385 |
+
* array( false, true ). The first time is_single() is called it will
|
| 386 |
+
* return false. The second and all subsequent times it will return true.
|
| 387 |
+
* Setting this value overrides return, so if you set both, return will be
|
| 388 |
+
* ignored.
|
| 389 |
+
* - return_arg: Use this to specify that the function should return one of
|
| 390 |
+
* its arguments. return_arg should be the position of the argument in the
|
| 391 |
+
* arguments array, so 0 for the first argument, 1 for the second, etc.
|
| 392 |
+
* You can also set this to true, which is equivalent to 0. This will
|
| 393 |
+
* override both return and return_in_order.
|
| 394 |
+
* - args: Use this to set expectations about what the arguments passed to
|
| 395 |
+
* the function should be. This value should always be an array with the
|
| 396 |
+
* arguments in order. Like with return, if you use a Closure, its return
|
| 397 |
+
* value will be used to validate the argument expectations. WP_Mock has
|
| 398 |
+
* several helper functions to make this feature more flexible. The are
|
| 399 |
+
* static methods on the \WP_Mock\Functions class. They are:
|
| 400 |
+
* - Functions::type( $type ) Expects an argument of a certain type. This
|
| 401 |
+
* can be any core PHP data type (string, int, resource, callable, etc.)
|
| 402 |
+
* or any class or interface name.
|
| 403 |
+
* - Functions::anyOf( $values ) Expects the argument to be any value in
|
| 404 |
+
* the $values array
|
| 405 |
+
* In addition to these helper functions, you can indicate that the
|
| 406 |
+
* argument can be any value of any type by using '*'. So, for example, if
|
| 407 |
+
* I am expecting get_post_meta to be called, the args array might look
|
| 408 |
+
* something like this:
|
| 409 |
+
* array( $post->ID, 'some_meta_key', true )
|
| 410 |
+
*
|
| 411 |
+
* Returns the Mockery\Expectation object with the function expectations
|
| 412 |
+
* added. It is possible to use Mockery methods to add expectations to the
|
| 413 |
+
* object returned, which will then be combined with any expectations that
|
| 414 |
+
* may have been passed as arguments.
|
| 415 |
+
*
|
| 416 |
+
* @param string $function_name
|
| 417 |
+
* @param array $arguments
|
| 418 |
+
*
|
| 419 |
+
* @return Mockery\Expectation
|
| 420 |
+
*/
|
| 421 |
+
public static function userFunction( $function_name, $arguments = array() ) {
|
| 422 |
+
return self::$function_manager->register( $function_name, $arguments );
|
| 423 |
+
}
|
| 424 |
+
|
| 425 |
+
/**
|
| 426 |
+
* Alias for userFunction
|
| 427 |
+
*
|
| 428 |
+
* @deprecated since 1.0
|
| 429 |
+
*
|
| 430 |
+
* @param string $function_name
|
| 431 |
+
* @param array $arguments
|
| 432 |
+
*
|
| 433 |
+
* @return Mockery\Expectation
|
| 434 |
+
*/
|
| 435 |
+
public static function wpFunction( $function_name, $arguments = array() ) {
|
| 436 |
+
static::getDeprecatedListener()->logDeprecatedCall( __METHOD__, array( $function_name, $arguments ) );
|
| 437 |
+
return self::userFunction( $function_name, $arguments );
|
| 438 |
+
}
|
| 439 |
+
|
| 440 |
+
/**
|
| 441 |
+
* A wrapper for userFunction that will simply set/override the return to be
|
| 442 |
+
* a function that echoes the value that its passed. For example, esc_attr_e
|
| 443 |
+
* may need to be mocked, and it must echo some value. echoFunction will set
|
| 444 |
+
* esc_attr_e to echo the value its passed.
|
| 445 |
+
*
|
| 446 |
+
* \WP_Mock::echoFunction( 'esc_attr_e' );
|
| 447 |
+
* esc_attr_e( 'some_value' ); // echoes (translated) "some_value"
|
| 448 |
+
*
|
| 449 |
+
* @param string $function_name Function name.
|
| 450 |
+
* @param array $arguments Optional. Arguments. Defaults to array().
|
| 451 |
+
*
|
| 452 |
+
* @return Mockery\Expectation
|
| 453 |
+
*/
|
| 454 |
+
public static function echoFunction( $function_name, $arguments = array() ) {
|
| 455 |
+
$arguments = (array) $arguments;
|
| 456 |
+
$arguments['return'] = function ( $param ) {
|
| 457 |
+
echo $param;
|
| 458 |
+
};
|
| 459 |
+
return self::$function_manager->register( $function_name, $arguments );
|
| 460 |
+
}
|
| 461 |
+
|
| 462 |
+
/**
|
| 463 |
+
* A wrapper for userFunction that will simply set/override the return to be
|
| 464 |
+
* a function that returns the value that its passed. For example, esc_attr
|
| 465 |
+
* may need to be mocked, and it must return some value. passthruFunction
|
| 466 |
+
* will set esc_attr to return the value its passed.
|
| 467 |
+
*
|
| 468 |
+
* \WP_Mock::passthruFunction( 'esc_attr' );
|
| 469 |
+
* echo esc_attr( 'some_value' ); // echoes "some_value"
|
| 470 |
+
*
|
| 471 |
+
* @param string $function_name
|
| 472 |
+
* @param array $arguments
|
| 473 |
+
*
|
| 474 |
+
* @return Mockery\Expectation
|
| 475 |
+
*/
|
| 476 |
+
public static function passthruFunction( $function_name, $arguments = array() ) {
|
| 477 |
+
$arguments = (array) $arguments;
|
| 478 |
+
$arguments['return'] = function ( $param ) {
|
| 479 |
+
return $param;
|
| 480 |
+
};
|
| 481 |
+
return self::$function_manager->register( $function_name, $arguments );
|
| 482 |
+
}
|
| 483 |
+
|
| 484 |
+
/**
|
| 485 |
+
* Alias for passthruFunction
|
| 486 |
+
*
|
| 487 |
+
* @deprecated since 1.0
|
| 488 |
+
*
|
| 489 |
+
* @param string $function_name
|
| 490 |
+
* @param array $arguments
|
| 491 |
+
*
|
| 492 |
+
* @return Mockery\Expectation
|
| 493 |
+
*/
|
| 494 |
+
public static function wpPassthruFunction( $function_name, $arguments = array() ) {
|
| 495 |
+
static::getDeprecatedListener()->logDeprecatedCall( __METHOD__, array( $function_name, $arguments ) );
|
| 496 |
+
return self::passthruFunction( $function_name, $arguments );
|
| 497 |
+
}
|
| 498 |
+
|
| 499 |
+
/**
|
| 500 |
+
* Add a function mock that aliases another callable.
|
| 501 |
+
*
|
| 502 |
+
* e.g.: WP_Mock::alias( 'wp_hash', 'md5' );
|
| 503 |
+
*
|
| 504 |
+
* @param string $function_name
|
| 505 |
+
* @param callable $alias
|
| 506 |
+
* @param array $arguments
|
| 507 |
+
*
|
| 508 |
+
* @return Mockery\Expectation
|
| 509 |
+
*/
|
| 510 |
+
public static function alias( $function_name, $alias, $arguments = array() ) {
|
| 511 |
+
$arguments = (array) $arguments;
|
| 512 |
+
if ( is_callable( $alias ) ) {
|
| 513 |
+
$arguments['return'] = function () use ( $alias ) {
|
| 514 |
+
return call_user_func_array( $alias, func_get_args() );
|
| 515 |
+
};
|
| 516 |
+
}
|
| 517 |
+
return self::$function_manager->register( $function_name, $arguments );
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
/**
|
| 521 |
+
* Generate a fuzzy object match expectation
|
| 522 |
+
*
|
| 523 |
+
* This will let you fuzzy match objects based on their properties without
|
| 524 |
+
* needing to use the identical (===) operator. This is helpful when the
|
| 525 |
+
* object being passed to a function is constructed inside the scope of the
|
| 526 |
+
* function being tested but where you want to make assertions on more than
|
| 527 |
+
* just the type of the object.
|
| 528 |
+
*
|
| 529 |
+
* @param $thing
|
| 530 |
+
*
|
| 531 |
+
* @return FuzzyObject
|
| 532 |
+
*/
|
| 533 |
+
public static function fuzzyObject( $thing ) {
|
| 534 |
+
return new FuzzyObject( $thing );
|
| 535 |
+
}
|
| 536 |
+
|
| 537 |
+
/**
|
| 538 |
+
* @return \WP_Mock\DeprecatedListener
|
| 539 |
+
*/
|
| 540 |
+
public static function getDeprecatedListener() {
|
| 541 |
+
return static::$deprecated_listener;
|
| 542 |
+
}
|
| 543 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/API/constant-mocks.php
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Certain constants need to be mocked otherwise various WordPress functions will attempt
|
| 4 |
+
* to include files that just don't exist.
|
| 5 |
+
*
|
| 6 |
+
* For example, nearly all uses of the WP_Http API require first including:
|
| 7 |
+
* ABSPATH . WPINC . '/class-http.php'
|
| 8 |
+
*
|
| 9 |
+
* If these constants are not set, and files do not exist at the location they specify,
|
| 10 |
+
* functions referencing them will fatally err.
|
| 11 |
+
*
|
| 12 |
+
* The `! defined` check is used here so that individual test environments can override
|
| 13 |
+
* the normal default by setting constants in a bootstrap configuration file.
|
| 14 |
+
*/
|
| 15 |
+
|
| 16 |
+
if ( ! defined( 'WP_CONTENT_DIR' ) ) {
|
| 17 |
+
define( 'WP_CONTENT_DIR', __DIR__ . '/dummy-files' );
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
| 21 |
+
define( 'ABSPATH', '' );
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
if ( ! defined( 'WPINC' ) ) {
|
| 25 |
+
define( 'WPINC', __DIR__ . '/dummy-files/wp-includes' );
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/**
|
| 29 |
+
* @since 0.71
|
| 30 |
+
*/
|
| 31 |
+
if ( ! defined( 'EZSQL_VERSION' ) ) {
|
| 32 |
+
define( 'EZSQL_VERSION', 'WP1.25' );
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
/**
|
| 36 |
+
* HHVM does not support case-insensitive constants.
|
| 37 |
+
*
|
| 38 |
+
* @since 0.71
|
| 39 |
+
* @see http://hhvm.com/blog/3095/getting-wordpress-running-on-hhvm
|
| 40 |
+
*/
|
| 41 |
+
if ( ! defined( 'OBJECT' ) ) {
|
| 42 |
+
define( 'OBJECT', 'OBJECT' );
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
if ( ! defined( 'Object' ) ) {
|
| 46 |
+
define( 'Object', 'OBJECT' );
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
if ( ! defined( 'object' ) ) {
|
| 50 |
+
define( 'object', 'OBJECT' );
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
/**
|
| 54 |
+
* @since 2.5.0
|
| 55 |
+
*/
|
| 56 |
+
if ( ! defined( 'OBJECT_K' ) ) {
|
| 57 |
+
define( 'OBJECT_K', 'OBJECT_K' );
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
/**
|
| 61 |
+
* @since 0.71
|
| 62 |
+
*/
|
| 63 |
+
if ( ! defined( 'ARRAY_A' ) ) {
|
| 64 |
+
define( 'ARRAY_A', 'ARRAY_A' );
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
/**
|
| 68 |
+
* @since 0.71
|
| 69 |
+
*/
|
| 70 |
+
if ( ! defined( 'ARRAY_N' ) ) {
|
| 71 |
+
define( 'ARRAY_N', 'ARRAY_N' );
|
| 72 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/API/dummy-files/themes/vip/plugins/vip-init.php
ADDED
|
File without changes
|
vendor/10up/wp_mock/php/WP_Mock/API/dummy-files/wp-includes/class-http.php
ADDED
|
File without changes
|
vendor/10up/wp_mock/php/WP_Mock/API/function-mocks.php
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
if ( ! function_exists( 'add_action' ) ) {
|
| 4 |
+
/**
|
| 5 |
+
* Hooks a function on to a specific action.
|
| 6 |
+
*
|
| 7 |
+
* Actions are the hooks that the WordPress core launches at specific points
|
| 8 |
+
* during execution, or when specific events occur. Plugins can specify that
|
| 9 |
+
* one or more of its PHP functions are executed at these points, using the
|
| 10 |
+
* Action API.
|
| 11 |
+
*
|
| 12 |
+
* @param string $tag The name of the action to which the $function_to_add is hooked.
|
| 13 |
+
* @param callback $function_to_add The name of the function you wish to be called.
|
| 14 |
+
* @param int $priority optional. Used to specify the order in which the functions associated with a particular action are executed (default: 10). Lower numbers correspond with earlier execution, and functions with the same priority are executed in the order in which they were added to the action.
|
| 15 |
+
* @param int $accepted_args optional. The number of arguments the function accept (default 1).
|
| 16 |
+
*/
|
| 17 |
+
function add_action( $tag, $function_to_add, $priority = 10, $accepted_args = 1 ) {
|
| 18 |
+
\WP_Mock::onActionAdded( $tag )->react( $function_to_add, (int) $priority, (int) $accepted_args );
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
if ( ! function_exists( 'do_action' ) ) {
|
| 23 |
+
/**
|
| 24 |
+
* Execute functions hooked on a specific action hook.
|
| 25 |
+
*
|
| 26 |
+
* @param string $tag The name of the action to be executed.
|
| 27 |
+
* @param mixed $arg,... Optional additional arguments which are passed on to the functions hooked to the action.
|
| 28 |
+
*
|
| 29 |
+
* @return null Will return null if $tag does not exist in $wp_filter array
|
| 30 |
+
*/
|
| 31 |
+
function do_action( $tag, $arg = '' ) {
|
| 32 |
+
$args = func_get_args();
|
| 33 |
+
$args = array_slice( $args, 1 );
|
| 34 |
+
|
| 35 |
+
return \WP_Mock::onAction( $tag )->react( $args );
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
if ( ! function_exists( 'add_filter' ) ) {
|
| 40 |
+
/**
|
| 41 |
+
* Dummy method to prevent filter hooks in constructor from failing.
|
| 42 |
+
*/
|
| 43 |
+
function add_filter( $tag, $function_to_add, $priority = 10, $accepted_args = 1 ) {
|
| 44 |
+
\WP_Mock::onFilterAdded( $tag )->react( $function_to_add, (int) $priority, (int) $accepted_args );
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
if ( ! function_exists( 'apply_filters' ) ) {
|
| 49 |
+
/**
|
| 50 |
+
* Call the functions added to a filter hook.
|
| 51 |
+
*
|
| 52 |
+
* @param string $tag The name of the filter hook.
|
| 53 |
+
* @param mixed $value The value on which the filters hooked to <tt>$tag</tt> are applied on.
|
| 54 |
+
* @param mixed $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>.
|
| 55 |
+
*
|
| 56 |
+
* @return mixed The filtered value after all hooked functions are applied to it.
|
| 57 |
+
*/
|
| 58 |
+
function apply_filters( $tag, $value ) {
|
| 59 |
+
$args = func_get_args();
|
| 60 |
+
$args = array_slice( $args, 1 );
|
| 61 |
+
$args[0] = $value;
|
| 62 |
+
|
| 63 |
+
return \WP_Mock::onFilter( $tag )->apply( $args );
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
if ( ! function_exists( 'esc_html' ) ) {
|
| 68 |
+
function esc_html() {
|
| 69 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
if ( ! function_exists( 'esc_attr' ) ) {
|
| 74 |
+
function esc_attr() {
|
| 75 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 76 |
+
}
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
if ( ! function_exists( 'esc_url' ) ) {
|
| 80 |
+
function esc_url() {
|
| 81 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 82 |
+
}
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
if ( ! function_exists( 'esc_url_raw' ) ) {
|
| 86 |
+
function esc_url_raw() {
|
| 87 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 88 |
+
}
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
if ( ! function_exists( 'esc_js' ) ) {
|
| 92 |
+
function esc_js() {
|
| 93 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
if ( ! function_exists( 'esc_textarea' ) ) {
|
| 98 |
+
function esc_textarea() {
|
| 99 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
if ( ! function_exists( '__' ) ) {
|
| 104 |
+
function __() {
|
| 105 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
if ( ! function_exists( '_e' ) ) {
|
| 110 |
+
function _e() {
|
| 111 |
+
\WP_Mock\Handler::predefined_echo_function_helper( __FUNCTION__, func_get_args() );
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
if ( ! function_exists( '_x' ) ) {
|
| 116 |
+
function _x() {
|
| 117 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 118 |
+
}
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
if ( ! function_exists( 'esc_html__' ) ) {
|
| 122 |
+
function esc_html__() {
|
| 123 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 124 |
+
}
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
if ( ! function_exists( 'esc_html_e' ) ) {
|
| 128 |
+
function esc_html_e() {
|
| 129 |
+
\WP_Mock\Handler::predefined_echo_function_helper( __FUNCTION__, func_get_args() );
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
if ( ! function_exists( 'esc_html_x' ) ) {
|
| 134 |
+
function esc_html_x() {
|
| 135 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
if ( ! function_exists( 'esc_attr__' ) ) {
|
| 140 |
+
function esc_attr__() {
|
| 141 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
if ( ! function_exists( 'esc_attr_e' ) ) {
|
| 146 |
+
function esc_attr_e() {
|
| 147 |
+
\WP_Mock\Handler::predefined_echo_function_helper( __FUNCTION__, func_get_args() );
|
| 148 |
+
}
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
if ( ! function_exists( 'esc_attr_x' ) ) {
|
| 152 |
+
function esc_attr_x() {
|
| 153 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 154 |
+
}
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
if ( ! function_exists( '_n' ) ) {
|
| 158 |
+
function _n() {
|
| 159 |
+
return \WP_Mock\Handler::predefined_return_function_helper( __FUNCTION__, func_get_args() );
|
| 160 |
+
}
|
| 161 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Action.php
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Mock WordPress actions by substituting each action with an advanced object
|
| 4 |
+
* capable of intercepting calls and returning predictable behavior.
|
| 5 |
+
*
|
| 6 |
+
* @package WP_Mock
|
| 7 |
+
* @subpackage Hooks
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
namespace WP_Mock;
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
class Action extends Hook {
|
| 14 |
+
public function react( $args ) {
|
| 15 |
+
\WP_Mock::invokeAction( $this->name );
|
| 16 |
+
|
| 17 |
+
$arg_num = count( $args );
|
| 18 |
+
|
| 19 |
+
if ( 0 === $arg_num ) {
|
| 20 |
+
if ( ! isset( $this->processors['argsnull'] ) ) {
|
| 21 |
+
$this->strict_check();
|
| 22 |
+
|
| 23 |
+
return;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
$this->processors['argsnull']->react();
|
| 27 |
+
} else {
|
| 28 |
+
$processors = $this->processors;
|
| 29 |
+
for ( $i = 0; $i < $arg_num - 1; $i ++ ) {
|
| 30 |
+
$arg = $this->safe_offset( $args[ $i ] );
|
| 31 |
+
|
| 32 |
+
if ( ! isset( $processors[ $arg ] ) ) {
|
| 33 |
+
$this->strict_check();
|
| 34 |
+
|
| 35 |
+
return;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
$processors = $processors[ $arg ];
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
$arg = $this->safe_offset( $args[ $arg_num - 1 ] );
|
| 42 |
+
if ( ! is_array( $processors ) || ! isset( $processors[ $arg ] ) ) {
|
| 43 |
+
$this->strict_check();
|
| 44 |
+
|
| 45 |
+
return;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
$processors[ $arg ]->react();
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
protected function new_responder() {
|
| 53 |
+
return new Action_Responder();
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
/**
|
| 57 |
+
* @return string
|
| 58 |
+
*/
|
| 59 |
+
protected function get_strict_mode_message() {
|
| 60 |
+
return sprintf( 'Unexpected use of do_action for action %s', $this->name );
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
class Action_Responder {
|
| 65 |
+
/**
|
| 66 |
+
* @var mixed
|
| 67 |
+
*/
|
| 68 |
+
protected $callable;
|
| 69 |
+
|
| 70 |
+
public function perform( $callable ) {
|
| 71 |
+
$this->callable = $callable;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
public function react() {
|
| 75 |
+
call_user_func( $this->callable );
|
| 76 |
+
}
|
| 77 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/DeprecatedListener.php
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock;
|
| 4 |
+
|
| 5 |
+
use \PHPUnit\Framework\TestCase;
|
| 6 |
+
|
| 7 |
+
class DeprecatedListener {
|
| 8 |
+
|
| 9 |
+
protected $calls = array();
|
| 10 |
+
|
| 11 |
+
/** @var \PHPUnit\Framework\TestCase */
|
| 12 |
+
protected $testResult;
|
| 13 |
+
|
| 14 |
+
protected $testName;
|
| 15 |
+
|
| 16 |
+
/**
|
| 17 |
+
* @var \PHPUnit\Framework\TestCase
|
| 18 |
+
*/
|
| 19 |
+
protected $testCase;
|
| 20 |
+
|
| 21 |
+
public function logDeprecatedCall( $method, array $args = array() ) {
|
| 22 |
+
$this->calls[] = array( $method, $args );
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
public function reset() {
|
| 26 |
+
$this->calls = array();
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
public function checkCalls() {
|
| 30 |
+
if ( empty( $this->calls ) ) {
|
| 31 |
+
return;
|
| 32 |
+
}
|
| 33 |
+
$e = new \PHPUnit\Framework\RiskyTestError( $this->getMessage() );
|
| 34 |
+
$this->testResult->addFailure( $this->testCase, $e, 0 );
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* @param \PHPUnit\Framework\TestResult $testResult
|
| 39 |
+
*/
|
| 40 |
+
public function setTestResult( $testResult ) {
|
| 41 |
+
$this->testResult = $testResult;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
/**
|
| 45 |
+
* @param mixed $testName
|
| 46 |
+
*/
|
| 47 |
+
public function setTestName( $testName ) {
|
| 48 |
+
$this->testName = $testName;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
public function setTestCase( \PHPUnit\Framework\TestCase $testCase ) {
|
| 52 |
+
$this->testCase = $testCase;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
protected function getMessage() {
|
| 56 |
+
$maxLength = array_reduce( $this->getDeprecatedMethods(), function ( $carry, $item ) {
|
| 57 |
+
return max( $carry, strlen( $item ) );
|
| 58 |
+
}, 0 ) + 1;
|
| 59 |
+
$message = 'Deprecated WP Mock calls inside ' . $this->testName . ":";
|
| 60 |
+
foreach ( $this->getDeprecatedMethodsWithArgs() as $method => $args ) {
|
| 61 |
+
$firstRun = true;
|
| 62 |
+
$extra = $maxLength - strlen( $method );
|
| 63 |
+
foreach ( $args as $arg ) {
|
| 64 |
+
$message .= "\n ";
|
| 65 |
+
if ( $firstRun ) {
|
| 66 |
+
$message .= $method . str_repeat( ' ', $extra );
|
| 67 |
+
$firstRun = false;
|
| 68 |
+
$extra = $maxLength;
|
| 69 |
+
} else {
|
| 70 |
+
$message .= str_repeat( ' ', $extra );
|
| 71 |
+
}
|
| 72 |
+
$message .= $arg;
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
return $message;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
protected function getDeprecatedMethods() {
|
| 80 |
+
$methods = array();
|
| 81 |
+
foreach ( $this->calls as $call ) {
|
| 82 |
+
$methods[] = $call[0];
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
return array_unique( $methods );
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
protected function getDeprecatedMethodsWithArgs() {
|
| 89 |
+
$collection = array();
|
| 90 |
+
foreach ( $this->calls as $call ) {
|
| 91 |
+
$method = $call[0];
|
| 92 |
+
$args = json_encode( array_map( array( $this, 'scalarizeArg' ), $call[1] ) );
|
| 93 |
+
if ( empty( $collection[ $method ] ) ) {
|
| 94 |
+
$collection[ $method ] = array();
|
| 95 |
+
}
|
| 96 |
+
$collection[ $method ][] = $args;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
return array_map( 'array_unique', $collection );
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
protected function scalarizeArg( $value ) {
|
| 103 |
+
if ( is_scalar( $value ) ) {
|
| 104 |
+
return $value;
|
| 105 |
+
} elseif ( is_object( $value ) ) {
|
| 106 |
+
return '<' . get_class( $value ) . ':' . spl_object_hash( $value ) . '>';
|
| 107 |
+
} elseif ( is_array( $value ) ) {
|
| 108 |
+
if ( is_callable( $value ) ) {
|
| 109 |
+
return '[' . implode( ',', array_map( array( $this, 'scalarizeArg' ), $value ) ) . ']';
|
| 110 |
+
} else {
|
| 111 |
+
return 'Array([' . count( $value ) . '] ...)';
|
| 112 |
+
}
|
| 113 |
+
} elseif ( is_resource( $value ) ) {
|
| 114 |
+
return 'Resource';
|
| 115 |
+
} else {
|
| 116 |
+
return 'Unknown Value';
|
| 117 |
+
}
|
| 118 |
+
}
|
| 119 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/EventManager.php
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock;
|
| 4 |
+
|
| 5 |
+
class EventManager {
|
| 6 |
+
/**
|
| 7 |
+
* @var array
|
| 8 |
+
*/
|
| 9 |
+
protected $filters;
|
| 10 |
+
|
| 11 |
+
/**
|
| 12 |
+
* @var array
|
| 13 |
+
*/
|
| 14 |
+
protected $actions;
|
| 15 |
+
|
| 16 |
+
/**
|
| 17 |
+
* @var array
|
| 18 |
+
*/
|
| 19 |
+
protected $expected;
|
| 20 |
+
|
| 21 |
+
protected $callbacks;
|
| 22 |
+
|
| 23 |
+
public function __construct() {
|
| 24 |
+
$this->flush();
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
/**
|
| 28 |
+
* Clear internal storage.
|
| 29 |
+
*/
|
| 30 |
+
public function flush() {
|
| 31 |
+
$this->filters = array();
|
| 32 |
+
$this->actions = array();
|
| 33 |
+
$this->expected = array();
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
* @param string $name Action handler to retrieve
|
| 38 |
+
*
|
| 39 |
+
* @return Action
|
| 40 |
+
*/
|
| 41 |
+
public function action( $name ) {
|
| 42 |
+
if ( ! isset( $this->actions[ $name ] ) ) {
|
| 43 |
+
$this->actions[ $name ] = new Action( $name );
|
| 44 |
+
$this->expected[] = 'action::' . $name;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
return $this->actions[ $name ];
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/**
|
| 51 |
+
* @param string $name Filter handler to retrieve
|
| 52 |
+
*
|
| 53 |
+
* @return Filter
|
| 54 |
+
*/
|
| 55 |
+
public function filter( $name ) {
|
| 56 |
+
if ( ! isset( $this->filters[ $name ] ) ) {
|
| 57 |
+
$this->filters[ $name ] = new Filter( $name );
|
| 58 |
+
$this->expected[] = 'filter::' . $name;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
return $this->filters[ $name ];
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
public function callback( $name, $type = 'filter' ) {
|
| 65 |
+
$type_name = "$type::$name";
|
| 66 |
+
if ( ! isset( $this->callbacks[ $type_name ] ) ) {
|
| 67 |
+
$hookedCallback = new HookedCallback( $name );
|
| 68 |
+
$hookedCallback->setType( $type );
|
| 69 |
+
$this->callbacks[ $type_name ] = $hookedCallback;
|
| 70 |
+
$this->expected[] = "callback::$type_name";
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
return $this->callbacks[ $type_name ];
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
/**
|
| 77 |
+
* Remember that a particular hook has been invoked during operation.
|
| 78 |
+
*
|
| 79 |
+
* @param string $hook
|
| 80 |
+
* @param string $type
|
| 81 |
+
*/
|
| 82 |
+
public function called( $hook, $type = 'action' ) {
|
| 83 |
+
$position = array_search( $type . '::' . $hook, $this->expected );
|
| 84 |
+
array_splice( $this->expected, $position, 1 );
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
/**
|
| 88 |
+
* Return a list of all the actions we're expecting a test to invoke.
|
| 89 |
+
*
|
| 90 |
+
* @return array
|
| 91 |
+
*/
|
| 92 |
+
public function expectedActions() {
|
| 93 |
+
return array_keys( $this->actions );
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
public function expectedHooks() {
|
| 97 |
+
return array_keys( $this->callbacks );
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
/**
|
| 101 |
+
* Check whether or not all actions have been invoked at least once.
|
| 102 |
+
*
|
| 103 |
+
* @return bool
|
| 104 |
+
*/
|
| 105 |
+
public function allActionsCalled() {
|
| 106 |
+
foreach( $this->expected as $hook ) {
|
| 107 |
+
if ( 0 === strpos( $hook, 'action::' ) ) {
|
| 108 |
+
return false;
|
| 109 |
+
}
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
return true;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
public function allHooksAdded() {
|
| 116 |
+
foreach( $this->expected as $hook ) {
|
| 117 |
+
if ( 0 === strpos( $hook, 'callback::' ) ) {
|
| 118 |
+
return false;
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
return true;
|
| 123 |
+
}
|
| 124 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Filter.php
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Mock WordPress filters by substituting each filter with an advanced object
|
| 4 |
+
* capable of intercepting calls and returning predictable data.
|
| 5 |
+
*
|
| 6 |
+
* @package WP_Mock
|
| 7 |
+
* @subpackage Hooks
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
namespace WP_Mock;
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
class Filter extends Hook {
|
| 14 |
+
/**
|
| 15 |
+
* Apply the stored filter.
|
| 16 |
+
*
|
| 17 |
+
* @param array $args Arguments passed to apply_filters()
|
| 18 |
+
*
|
| 19 |
+
* @return mixed
|
| 20 |
+
*/
|
| 21 |
+
public function apply( $args ) {
|
| 22 |
+
if ( $args[0] === null && count( $args ) === 1 ) {
|
| 23 |
+
if ( isset( $this->processors['argsnull'] ) ) {
|
| 24 |
+
return $this->processors['argsnull']->send();
|
| 25 |
+
}
|
| 26 |
+
$this->strict_check();
|
| 27 |
+
|
| 28 |
+
return null;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
$processors = $this->processors;
|
| 32 |
+
foreach ( $args as $arg ) {
|
| 33 |
+
$key = $this->safe_offset( $arg );
|
| 34 |
+
if ( ! is_array( $processors ) || ! isset( $processors[ $key ] ) ) {
|
| 35 |
+
$this->strict_check();
|
| 36 |
+
|
| 37 |
+
return $arg;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
$processors = $processors[ $key ];
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
return call_user_func_array( array($processors, 'send'), $args );
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
protected function new_responder() {
|
| 47 |
+
return new Filter_Responder();
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
/**
|
| 51 |
+
* @return string
|
| 52 |
+
*/
|
| 53 |
+
protected function get_strict_mode_message() {
|
| 54 |
+
return sprintf( 'Unexpected use of apply_filters for filter %s', $this->name );
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
class Filter_Responder {
|
| 59 |
+
/**
|
| 60 |
+
* @var mixed
|
| 61 |
+
*/
|
| 62 |
+
protected $value;
|
| 63 |
+
|
| 64 |
+
public function reply( $value ) {
|
| 65 |
+
$this->value = $value;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
public function send() {
|
| 69 |
+
if ( $this->value instanceof InvokedFilterValue ) {
|
| 70 |
+
return call_user_func_array( $this->value, func_get_args() );
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
return $this->value;
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
|
vendor/10up/wp_mock/php/WP_Mock/Functions.php
ADDED
|
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock;
|
| 4 |
+
|
| 5 |
+
use Mockery;
|
| 6 |
+
|
| 7 |
+
class Functions {
|
| 8 |
+
|
| 9 |
+
private $mocked_functions = array();
|
| 10 |
+
|
| 11 |
+
private $internal_functions = array();
|
| 12 |
+
|
| 13 |
+
private static $wp_mocked_functions = array();
|
| 14 |
+
|
| 15 |
+
private $patchwork_functions = array();
|
| 16 |
+
|
| 17 |
+
/**
|
| 18 |
+
* Constructor for the Functions object
|
| 19 |
+
*/
|
| 20 |
+
public function __construct() {
|
| 21 |
+
Handler::cleanup();
|
| 22 |
+
$this->flush();
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/**
|
| 26 |
+
* Emptys the mocked_functions array
|
| 27 |
+
*/
|
| 28 |
+
public function flush() {
|
| 29 |
+
$this->mocked_functions = array();
|
| 30 |
+
Handler::cleanup();
|
| 31 |
+
$this->patchwork_functions = array();
|
| 32 |
+
if ( function_exists( 'Patchwork\undoAll' ) ) {
|
| 33 |
+
\Patchwork\restoreAll();
|
| 34 |
+
}
|
| 35 |
+
if ( empty( self::$wp_mocked_functions ) ) {
|
| 36 |
+
self::$wp_mocked_functions = array(
|
| 37 |
+
'add_action',
|
| 38 |
+
'do_action',
|
| 39 |
+
'add_filter',
|
| 40 |
+
'apply_filters',
|
| 41 |
+
'esc_attr',
|
| 42 |
+
'esc_html',
|
| 43 |
+
'esc_js',
|
| 44 |
+
'esc_textarea',
|
| 45 |
+
'esc_url',
|
| 46 |
+
'esc_url_raw',
|
| 47 |
+
'__',
|
| 48 |
+
'_e',
|
| 49 |
+
'_x',
|
| 50 |
+
'esc_attr__',
|
| 51 |
+
'esc_attr_e',
|
| 52 |
+
'esc_attr_x',
|
| 53 |
+
'esc_html__',
|
| 54 |
+
'esc_html_e',
|
| 55 |
+
'esc_html_x',
|
| 56 |
+
'_n',
|
| 57 |
+
);
|
| 58 |
+
}
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
/**
|
| 62 |
+
* Registers the function to be mocked and sets up its expectations
|
| 63 |
+
*
|
| 64 |
+
* @param string $function
|
| 65 |
+
* @param array $arguments
|
| 66 |
+
*
|
| 67 |
+
* @throws \Exception If the function name is invalid
|
| 68 |
+
*
|
| 69 |
+
* @return Mockery\Expectation
|
| 70 |
+
*/
|
| 71 |
+
public function register( $function, $arguments ) {
|
| 72 |
+
$expectation = null;
|
| 73 |
+
try {
|
| 74 |
+
$this->generate_function( $function );
|
| 75 |
+
if ( empty( $this->mocked_functions[$function] ) ) {
|
| 76 |
+
$this->mocked_functions[$function] = Mockery::mock( 'wp_api' );
|
| 77 |
+
}
|
| 78 |
+
$mock = $this->mocked_functions[$function];
|
| 79 |
+
|
| 80 |
+
$method = preg_replace( '/\\\\+/', '_', $function );
|
| 81 |
+
$expectation = $this->set_up_mock( $mock, $method, $arguments );
|
| 82 |
+
Handler::register_handler( $function, array( $mock, $method ) );
|
| 83 |
+
} catch ( \Exception $e ) {
|
| 84 |
+
throw $e;
|
| 85 |
+
}
|
| 86 |
+
return $expectation;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
/**
|
| 90 |
+
* Sets up an argument placeholder that allows it to be any of an enumerated
|
| 91 |
+
* list of possibilities
|
| 92 |
+
*
|
| 93 |
+
* @return \Mockery\Matcher\anyOf
|
| 94 |
+
*/
|
| 95 |
+
public static function anyOf() {
|
| 96 |
+
return call_user_func_array( array( '\\Mockery', 'anyOf' ), func_get_args() );
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
/**
|
| 100 |
+
* Sets up an argument placeholder that requires the argument to be of a
|
| 101 |
+
* certain type
|
| 102 |
+
*
|
| 103 |
+
* This may be any type for which there is a "is_*" function, or any class or
|
| 104 |
+
* interface.
|
| 105 |
+
*
|
| 106 |
+
* @param string $expected
|
| 107 |
+
*
|
| 108 |
+
* @return Mockery\Matcher\Type
|
| 109 |
+
*/
|
| 110 |
+
public static function type( $expected ) {
|
| 111 |
+
return Mockery::type( $expected );
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/**
|
| 115 |
+
* Set up the mock object with an expectation for this test.
|
| 116 |
+
*
|
| 117 |
+
* @param \Mockery\Mock $mock
|
| 118 |
+
* @param string $function
|
| 119 |
+
* @param array $arguments
|
| 120 |
+
*
|
| 121 |
+
* @return Mockery\Expectation
|
| 122 |
+
*/
|
| 123 |
+
protected function set_up_mock( $mock, $function, $arguments ) {
|
| 124 |
+
$expectation = $mock->shouldReceive( $function );
|
| 125 |
+
|
| 126 |
+
if ( isset( $arguments['times'] ) ) {
|
| 127 |
+
$times = $arguments['times'];
|
| 128 |
+
if ( is_int( $times ) || preg_match( '/^\d+$/', $times ) ) {
|
| 129 |
+
$expectation->times( (int) $times );
|
| 130 |
+
} elseif ( preg_match( '/^(\d+)([\-+])$/', $times, $matches ) ) {
|
| 131 |
+
$method = '+' === $matches[2] ? 'atLeast' : 'atMost';
|
| 132 |
+
$expectation->$method()->times( (int) $matches[1] );
|
| 133 |
+
} elseif ( preg_match( '/^(\d+)-(\d+)$/', $times, $matches ) ) {
|
| 134 |
+
$num1 = (int) $matches[1];
|
| 135 |
+
$num2 = (int) $matches[2];
|
| 136 |
+
if ( $num1 === $num2 ) {
|
| 137 |
+
$expectation->times( $num1 );
|
| 138 |
+
} else {
|
| 139 |
+
$expectation->between( min( $num1, $num2 ), max( $num1, $num2 ) );
|
| 140 |
+
}
|
| 141 |
+
}
|
| 142 |
+
}
|
| 143 |
+
if ( isset( $arguments['args'] ) ) {
|
| 144 |
+
$arguments['args'] = array_map( function ( $argument ) {
|
| 145 |
+
if ( $argument instanceof \Closure ) {
|
| 146 |
+
return Mockery::on( $argument );
|
| 147 |
+
}
|
| 148 |
+
if ( $argument === '*' ) {
|
| 149 |
+
return Mockery::any();
|
| 150 |
+
}
|
| 151 |
+
return $argument;
|
| 152 |
+
}, (array) $arguments['args'] );
|
| 153 |
+
call_user_func_array( array( $expectation, 'with' ), $arguments['args'] );
|
| 154 |
+
}
|
| 155 |
+
if ( isset( $arguments['return_arg'] ) ) {
|
| 156 |
+
$argument_position = true === $arguments['return_arg'] ? 0 : (int) $arguments['return_arg'];
|
| 157 |
+
$arguments['return'] = function () use ( $argument_position ) {
|
| 158 |
+
if ( $argument_position >= func_num_args() ) {
|
| 159 |
+
return null;
|
| 160 |
+
}
|
| 161 |
+
return func_get_arg( $argument_position );
|
| 162 |
+
};
|
| 163 |
+
} elseif ( isset( $arguments['return_in_order'] ) ) {
|
| 164 |
+
$arguments['return'] = new ReturnSequence();
|
| 165 |
+
$arguments['return']->setReturnValues( (array) $arguments['return_in_order'] );
|
| 166 |
+
}
|
| 167 |
+
if ( isset( $arguments['return'] ) ) {
|
| 168 |
+
$return = $arguments['return'];
|
| 169 |
+
if ( $return instanceof ReturnSequence ) {
|
| 170 |
+
$expectation->andReturnValues( $return->getReturnValues() );
|
| 171 |
+
} elseif ( $return instanceof \Closure ) {
|
| 172 |
+
$expectation->andReturnUsing( $return );
|
| 173 |
+
} else {
|
| 174 |
+
$expectation->andReturn( $return );
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
return $expectation;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
/**
|
| 181 |
+
* Dynamically declares a function if it doesn't already exist
|
| 182 |
+
*
|
| 183 |
+
* This function is namespace-aware.
|
| 184 |
+
*
|
| 185 |
+
* @param $function_name
|
| 186 |
+
*/
|
| 187 |
+
private function generate_function( $function_name ) {
|
| 188 |
+
$function_name = $this->sanitize_function_name( $function_name );
|
| 189 |
+
|
| 190 |
+
$this->validate_function_name( $function_name );
|
| 191 |
+
|
| 192 |
+
$this->create_function( $function_name ) OR $this->replace_function( $function_name );
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
/**
|
| 196 |
+
* Create a function with WP_Mock
|
| 197 |
+
*
|
| 198 |
+
* @param string $function_name
|
| 199 |
+
*
|
| 200 |
+
* @return bool True if this function created the mock, false otherwise
|
| 201 |
+
*/
|
| 202 |
+
private function create_function( $function_name ) {
|
| 203 |
+
if ( in_array( $function_name, self::$wp_mocked_functions ) ) {
|
| 204 |
+
return true;
|
| 205 |
+
}
|
| 206 |
+
if ( function_exists( $function_name ) ) {
|
| 207 |
+
return false;
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
$parts = explode( '\\', $function_name );
|
| 211 |
+
$name = array_pop( $parts );
|
| 212 |
+
$namespace = empty( $parts ) ? '' : 'namespace ' . implode( '\\', $parts ) . ';' . PHP_EOL;
|
| 213 |
+
|
| 214 |
+
$declaration = <<<EOF
|
| 215 |
+
$namespace
|
| 216 |
+
function $name() {
|
| 217 |
+
return \\WP_Mock\\Handler::handle_function( '$function_name', func_get_args() );
|
| 218 |
+
}
|
| 219 |
+
EOF;
|
| 220 |
+
eval( $declaration );
|
| 221 |
+
|
| 222 |
+
self::$wp_mocked_functions[] = $function_name;
|
| 223 |
+
|
| 224 |
+
return true;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
/**
|
| 228 |
+
* Replace a function with patchwork
|
| 229 |
+
*
|
| 230 |
+
* @param string $function_name
|
| 231 |
+
*
|
| 232 |
+
* @return bool
|
| 233 |
+
*/
|
| 234 |
+
private function replace_function( $function_name ) {
|
| 235 |
+
if ( in_array( $function_name, $this->patchwork_functions ) ) {
|
| 236 |
+
return true;
|
| 237 |
+
}
|
| 238 |
+
if ( ! function_exists( 'Patchwork\\replace' ) ) {
|
| 239 |
+
return true;
|
| 240 |
+
}
|
| 241 |
+
$this->patchwork_functions[] = $function_name;
|
| 242 |
+
\Patchwork\redefine( $function_name, function () use ( $function_name ) {
|
| 243 |
+
return Handler::handle_function( $function_name, func_get_args() );
|
| 244 |
+
} );
|
| 245 |
+
return true;
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
/**
|
| 249 |
+
* Clean the function name to be of a standard shape
|
| 250 |
+
*
|
| 251 |
+
* @param string $function_name
|
| 252 |
+
*
|
| 253 |
+
* @return string
|
| 254 |
+
*/
|
| 255 |
+
private function sanitize_function_name( $function_name ) {
|
| 256 |
+
$function_name = trim( $function_name, '\\' );
|
| 257 |
+
return $function_name;
|
| 258 |
+
}
|
| 259 |
+
|
| 260 |
+
/**
|
| 261 |
+
* Validate the function name for format and other considerations
|
| 262 |
+
*
|
| 263 |
+
* Validation will fail if the string doesn't match the regex, if it's an
|
| 264 |
+
* internal function, or if it is a reserved word in PHP.
|
| 265 |
+
*
|
| 266 |
+
* @param string $function_name
|
| 267 |
+
*
|
| 268 |
+
* @throws \InvalidArgumentException
|
| 269 |
+
*/
|
| 270 |
+
private function validate_function_name( $function_name ) {
|
| 271 |
+
if ( function_exists( $function_name ) ) {
|
| 272 |
+
if ( empty( $this->internal_functions ) ) {
|
| 273 |
+
$defined_functions = get_defined_functions();
|
| 274 |
+
$this->internal_functions = $defined_functions['internal'];
|
| 275 |
+
}
|
| 276 |
+
if ( in_array( $function_name, $this->internal_functions ) ) {
|
| 277 |
+
throw new \InvalidArgumentException;
|
| 278 |
+
}
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
$parts = explode( '\\', $function_name );
|
| 282 |
+
$name = array_pop( $parts );
|
| 283 |
+
|
| 284 |
+
if ( ! preg_match( '/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/', $function_name ) ) {
|
| 285 |
+
throw new \InvalidArgumentException( 'Function name not properly formatted!' );
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
$reserved_words = ' __halt_compiler abstract and array as break callable case catch class clone const continue declare default die do echo else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval exit extends final for foreach function global goto if implements include include_once instanceof insteadof interface isset list namespace new or print private protected public require require_once return static switch throw trait try unset use var while xor __CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ ';
|
| 289 |
+
if ( false !== strpos( $reserved_words, " $name " ) ) {
|
| 290 |
+
throw new \InvalidArgumentException( 'Function name can not be a reserved word!' );
|
| 291 |
+
}
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
}
|
| 295 |
+
|
vendor/10up/wp_mock/php/WP_Mock/Handler.php
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Created by JetBrains PhpStorm.
|
| 4 |
+
* User: Eric
|
| 5 |
+
* Date: 3/26/13
|
| 6 |
+
* Time: 8:56 AM
|
| 7 |
+
* To change this template use File | Settings | File Templates.
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
namespace WP_Mock;
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
class Handler {
|
| 14 |
+
/**
|
| 15 |
+
* Mocked method handlers registered by the test class.
|
| 16 |
+
*
|
| 17 |
+
* @var array
|
| 18 |
+
*/
|
| 19 |
+
private static $handlers = array();
|
| 20 |
+
|
| 21 |
+
/**
|
| 22 |
+
* Overrides any existing handlers to set a new callback.
|
| 23 |
+
*
|
| 24 |
+
* @param string $function_name
|
| 25 |
+
* @param string $callback
|
| 26 |
+
*/
|
| 27 |
+
public static function register_handler( $function_name, $callback ) {
|
| 28 |
+
self::$handlers[ $function_name ] = $callback;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
/**
|
| 32 |
+
* Handle a mocked function call.
|
| 33 |
+
*
|
| 34 |
+
* @param string $function_name
|
| 35 |
+
* @param array $args
|
| 36 |
+
*
|
| 37 |
+
* @return mixed
|
| 38 |
+
*/
|
| 39 |
+
public static function handle_function( $function_name, $args = array() ) {
|
| 40 |
+
if ( self::handler_exists( $function_name ) ) {
|
| 41 |
+
$callback = self::$handlers[ $function_name ];
|
| 42 |
+
|
| 43 |
+
return call_user_func_array( $callback, $args );
|
| 44 |
+
} elseif ( \WP_Mock::strictMode() ) {
|
| 45 |
+
throw new \PHPUnit\Framework\ExpectationFailedException(
|
| 46 |
+
sprintf( 'No handler found for %s', $function_name )
|
| 47 |
+
);
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
/**
|
| 52 |
+
* Check if a handler exists
|
| 53 |
+
*
|
| 54 |
+
* @param string $function_name
|
| 55 |
+
*
|
| 56 |
+
* @return bool
|
| 57 |
+
*/
|
| 58 |
+
public static function handler_exists( $function_name ) {
|
| 59 |
+
return isset( self::$handlers[ $function_name ] );
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
/**
|
| 63 |
+
* Clear all registered handlers.
|
| 64 |
+
*/
|
| 65 |
+
public static function cleanup() {
|
| 66 |
+
self::$handlers = array();
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
/**
|
| 70 |
+
* Helper function for common passthru return functions
|
| 71 |
+
*
|
| 72 |
+
* @param string $function_name
|
| 73 |
+
* @param array $args
|
| 74 |
+
*
|
| 75 |
+
* @return mixed
|
| 76 |
+
*/
|
| 77 |
+
public static function predefined_return_function_helper( $function_name, array $args ) {
|
| 78 |
+
$result = self::handle_function( $function_name, $args );
|
| 79 |
+
if ( ! self::handler_exists( $function_name ) ) {
|
| 80 |
+
$result = isset( $args[0] ) ? $args[0] : $result;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
return $result;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
/**
|
| 87 |
+
* Helper function for common echo functions
|
| 88 |
+
*
|
| 89 |
+
* @param string $function_name
|
| 90 |
+
* @param array $args
|
| 91 |
+
*
|
| 92 |
+
* @throws \Exception
|
| 93 |
+
*/
|
| 94 |
+
public static function predefined_echo_function_helper( $function_name, array $args ) {
|
| 95 |
+
ob_start();
|
| 96 |
+
try {
|
| 97 |
+
self::handle_function( $function_name, $args );
|
| 98 |
+
} catch ( \Exception $exception ) {
|
| 99 |
+
ob_end_clean();
|
| 100 |
+
throw $exception;
|
| 101 |
+
}
|
| 102 |
+
$result = ob_get_clean();
|
| 103 |
+
if ( ! self::handler_exists( $function_name ) ) {
|
| 104 |
+
$result = isset( $args[0] ) ? $args[0] : $result;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
echo $result;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Hook.php
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Abstract Hook interface for both actions and filters.
|
| 4 |
+
*
|
| 5 |
+
* @package WP_Mock
|
| 6 |
+
* @subpackage Hooks
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
namespace WP_Mock;
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
abstract class Hook {
|
| 13 |
+
/** @var string Hook name */
|
| 14 |
+
protected $name;
|
| 15 |
+
|
| 16 |
+
/** @var array Collection of processors */
|
| 17 |
+
protected $processors = array();
|
| 18 |
+
|
| 19 |
+
public function __construct( $name ) {
|
| 20 |
+
$this->name = $name;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
protected function safe_offset( $value ) {
|
| 24 |
+
if ( is_null( $value ) ) {
|
| 25 |
+
return 'null';
|
| 26 |
+
} elseif ( is_scalar( $value ) ) {
|
| 27 |
+
return $value;
|
| 28 |
+
} elseif ( is_object( $value ) ) {
|
| 29 |
+
return spl_object_hash( $value );
|
| 30 |
+
} elseif ( is_array( $value ) ) {
|
| 31 |
+
$return = '';
|
| 32 |
+
foreach ( $value as $k => $v ) {
|
| 33 |
+
$k = is_numeric( $k ) ? '' : $k;
|
| 34 |
+
$return .= $k . $this->safe_offset( $v );
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
return $return;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
return '';
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
/** @return Action_Responder|Filter_Responder */
|
| 44 |
+
public function with() {
|
| 45 |
+
$args = func_get_args();
|
| 46 |
+
$responder = $this->new_responder();
|
| 47 |
+
|
| 48 |
+
if ( $args === array( null ) ) {
|
| 49 |
+
$this->processors['argsnull'] = $responder;
|
| 50 |
+
} else {
|
| 51 |
+
$num_args = count( $args );
|
| 52 |
+
|
| 53 |
+
$processors = &$this->processors;
|
| 54 |
+
for ( $i = 0; $i < $num_args - 1; $i ++ ) {
|
| 55 |
+
$arg = $this->safe_offset( $args[ $i ] );
|
| 56 |
+
|
| 57 |
+
if ( ! isset( $processors[ $arg ] ) ) {
|
| 58 |
+
$processors[ $arg ] = array();
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
$processors = &$processors[ $arg ];
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
$processors[ $this->safe_offset( $args[ $num_args - 1 ] ) ] = $responder;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
return $responder;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
protected abstract function new_responder();
|
| 71 |
+
|
| 72 |
+
/**
|
| 73 |
+
* Throw an exception if strict mode is on
|
| 74 |
+
*
|
| 75 |
+
* @throws \PHPUnit\Framework\ExpectationFailedException
|
| 76 |
+
*/
|
| 77 |
+
protected function strict_check() {
|
| 78 |
+
if ( \WP_Mock::strictMode() ) {
|
| 79 |
+
throw new \PHPUnit\Framework\ExpectationFailedException( $this->get_strict_mode_message() );
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/**
|
| 84 |
+
* @return string
|
| 85 |
+
*/
|
| 86 |
+
abstract protected function get_strict_mode_message();
|
| 87 |
+
|
| 88 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/HookedCallback.php
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock;
|
| 4 |
+
|
| 5 |
+
class HookedCallback extends Hook {
|
| 6 |
+
|
| 7 |
+
protected $type = 'filter';
|
| 8 |
+
protected $callback;
|
| 9 |
+
|
| 10 |
+
/**
|
| 11 |
+
* @param string $type
|
| 12 |
+
*/
|
| 13 |
+
public function setType( $type ) {
|
| 14 |
+
$this->type = $type;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
public function react( $callback, $priority, $argument_count ) {
|
| 18 |
+
\WP_Mock::addHook( $this->name );
|
| 19 |
+
|
| 20 |
+
$safe_callback = $this->safe_offset( $callback );
|
| 21 |
+
if (
|
| 22 |
+
empty( $this->processors[ $safe_callback ] ) ||
|
| 23 |
+
empty( $this->processors[ $safe_callback ][ $priority ] ) ||
|
| 24 |
+
empty( $this->processors[ $safe_callback ][ $priority ][ $argument_count ] )
|
| 25 |
+
) {
|
| 26 |
+
$this->callback = $callback;
|
| 27 |
+
$this->strict_check();
|
| 28 |
+
|
| 29 |
+
return null;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
return $this->processors[ $this->safe_offset( $callback ) ][ $priority ][ $argument_count ]->react();
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
protected function new_responder() {
|
| 36 |
+
return new HookedCallbackResponder();
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
protected function safe_offset( $value ) {
|
| 40 |
+
if ( $value instanceof \Closure ) {
|
| 41 |
+
$value = '__CLOSURE__';
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
return parent::safe_offset( $value );
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
/**
|
| 48 |
+
* Converts a callable to a string
|
| 49 |
+
*
|
| 50 |
+
* Closures get returned as 'Closure', objects (those with an __invoke() method get turned into <Class>::__invoke,
|
| 51 |
+
* and arrays get turned into <Class>::<method>
|
| 52 |
+
*
|
| 53 |
+
* @param callable $callback
|
| 54 |
+
*
|
| 55 |
+
* @return string
|
| 56 |
+
*/
|
| 57 |
+
protected function callback_to_string( $callback ) {
|
| 58 |
+
if ( ! is_string( $callback ) ) {
|
| 59 |
+
if ( $callback instanceof \Closure ) {
|
| 60 |
+
$callback = 'Closure';
|
| 61 |
+
} elseif ( is_object( $callback ) ) {
|
| 62 |
+
$callback = get_class( $callback ) . '::__invoke';
|
| 63 |
+
} else {
|
| 64 |
+
$class = $callback[0];
|
| 65 |
+
$method = $callback[1];
|
| 66 |
+
if ( ! is_string( $class ) ) {
|
| 67 |
+
$class = get_class( $class );
|
| 68 |
+
}
|
| 69 |
+
$callback = "{$class}::$method";
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
return $callback;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
/**
|
| 77 |
+
* @param $callback
|
| 78 |
+
*
|
| 79 |
+
* @return string
|
| 80 |
+
*/
|
| 81 |
+
protected function get_strict_mode_message() {
|
| 82 |
+
return sprintf(
|
| 83 |
+
'Unexpected use of add_%s for action %s with callback %s',
|
| 84 |
+
$this->type,
|
| 85 |
+
$this->name,
|
| 86 |
+
$this->callback_to_string( $this->callback )
|
| 87 |
+
);
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
class HookedCallbackResponder {
|
| 93 |
+
|
| 94 |
+
/**
|
| 95 |
+
* @var callable
|
| 96 |
+
*/
|
| 97 |
+
protected $callable;
|
| 98 |
+
|
| 99 |
+
public function perform( $callable ) {
|
| 100 |
+
$this->callable = $callable;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
public function react() {
|
| 104 |
+
call_user_func( $this->callable );
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/InvokedFilterValue.php
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock;
|
| 4 |
+
|
| 5 |
+
class InvokedFilterValue {
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* @var callable
|
| 9 |
+
*/
|
| 10 |
+
protected $callback;
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* InvokedFilterValue constructor.
|
| 14 |
+
*
|
| 15 |
+
* @param callable $callable
|
| 16 |
+
*/
|
| 17 |
+
public function __construct( $callable ) {
|
| 18 |
+
$this->callback = $callable;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
public function __invoke() {
|
| 22 |
+
return call_user_func_array( $this->callback, func_get_args() );
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Loader.php
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* SplClassLoader implementation that implements the technical interoperability
|
| 4 |
+
* standards for PHP 5.3 namespaces and class names.
|
| 5 |
+
*
|
| 6 |
+
* http://groups.google.com/group/php-standards/web/final-proposal
|
| 7 |
+
*
|
| 8 |
+
* // Example which loads classes for the Doctrine Common package in the
|
| 9 |
+
* // Doctrine\Common namespace.
|
| 10 |
+
* $classLoader = new SplClassLoader('Doctrine\Common', '/path/to/doctrine');
|
| 11 |
+
* $classLoader->register();
|
| 12 |
+
*
|
| 13 |
+
* @author Jonathan H. Wage <jonwage@gmail.com>
|
| 14 |
+
* @author Roman S. Borschel <roman@code-factory.org>
|
| 15 |
+
* @author Matthew Weier O'Phinney <matthew@zend.com>
|
| 16 |
+
* @author Kris Wallsmith <kris.wallsmith@gmail.com>
|
| 17 |
+
* @author Fabien Potencier <fabien.potencier@symfony-project.org>
|
| 18 |
+
*/
|
| 19 |
+
|
| 20 |
+
namespace WP_Mock;
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
class Loader {
|
| 24 |
+
private $_fileExtension = '.php';
|
| 25 |
+
private $_namespace;
|
| 26 |
+
private $_includePath;
|
| 27 |
+
private $_namespaceSeparator = '\\';
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* Creates a new <tt>Loader</tt> that loads classes of the
|
| 31 |
+
* specified namespace.
|
| 32 |
+
*
|
| 33 |
+
* @param string $ns The namespace to use.
|
| 34 |
+
*/
|
| 35 |
+
public function __construct( $ns = 'WP_Mock', $includePath = null ) {
|
| 36 |
+
$this->_namespace = $ns;
|
| 37 |
+
$this->_includePath = $includePath;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* Sets the namespace separator used by classes in the namespace of this class loader.
|
| 42 |
+
*
|
| 43 |
+
* @param string $sep The separator to use.
|
| 44 |
+
*/
|
| 45 |
+
public function setNamespaceSeparator( $sep ) {
|
| 46 |
+
$this->_namespaceSeparator = $sep;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
/**
|
| 50 |
+
* Gets the namespace seperator used by classes in the namespace of this class loader.
|
| 51 |
+
*
|
| 52 |
+
* @return void
|
| 53 |
+
*/
|
| 54 |
+
public function getNamespaceSeparator() {
|
| 55 |
+
return $this->_namespaceSeparator;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
/**
|
| 59 |
+
* Sets the base include path for all class files in the namespace of this class loader.
|
| 60 |
+
*
|
| 61 |
+
* @param string $includePath
|
| 62 |
+
*/
|
| 63 |
+
public function setIncludePath( $includePath ) {
|
| 64 |
+
$this->_includePath = $includePath;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
/**
|
| 68 |
+
* Gets the base include path for all class files in the namespace of this class loader.
|
| 69 |
+
*
|
| 70 |
+
* @return string $includePath
|
| 71 |
+
*/
|
| 72 |
+
public function getIncludePath() {
|
| 73 |
+
return $this->_includePath;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
/**
|
| 77 |
+
* Sets the file extension of class files in the namespace of this class loader.
|
| 78 |
+
*
|
| 79 |
+
* @param string $fileExtension
|
| 80 |
+
*/
|
| 81 |
+
public function setFileExtension( $fileExtension ) {
|
| 82 |
+
$this->_fileExtension = $fileExtension;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
/**
|
| 86 |
+
* Gets the file extension of class files in the namespace of this class loader.
|
| 87 |
+
*
|
| 88 |
+
* @return string $fileExtension
|
| 89 |
+
*/
|
| 90 |
+
public function getFileExtension() {
|
| 91 |
+
return $this->_fileExtension;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
/**
|
| 95 |
+
* Installs this class loader on the SPL autoload stack.
|
| 96 |
+
*
|
| 97 |
+
* @param bool $prepend If true, prepend autoloader on the autoload stack
|
| 98 |
+
*/
|
| 99 |
+
public function register( $prepend = false ) {
|
| 100 |
+
//spl_autoload_register( array( $this, 'loadClass' ), true, $prepend );
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
/**
|
| 104 |
+
* Uninstalls this class loader from the SPL autoloader stack.
|
| 105 |
+
*/
|
| 106 |
+
public function unregister() {
|
| 107 |
+
//spl_autoload_unregister( array( $this, 'loadClass' ) );
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* Loads the given class or interface.
|
| 112 |
+
*
|
| 113 |
+
* @param string $className The name of the class to load.
|
| 114 |
+
*
|
| 115 |
+
* @return void
|
| 116 |
+
*/
|
| 117 |
+
public function loadClass( $className ) {
|
| 118 |
+
return;
|
| 119 |
+
if ( $className === 'WP_Mock' ) {
|
| 120 |
+
require $this->getFullPath( 'WP_Mock.php' );
|
| 121 |
+
|
| 122 |
+
return;
|
| 123 |
+
}
|
| 124 |
+
if ( null === $this->_namespace
|
| 125 |
+
|| $this->_namespace . $this->_namespaceSeparator === substr( $className, 0, strlen( $this->_namespace . $this->_namespaceSeparator ) )
|
| 126 |
+
) {
|
| 127 |
+
$fileName = '';
|
| 128 |
+
$namespace = '';
|
| 129 |
+
if ( false !== ( $lastNsPos = strripos( $className, $this->_namespaceSeparator ) ) ) {
|
| 130 |
+
$namespace = substr( $className, 0, $lastNsPos );
|
| 131 |
+
$className = substr( $className, $lastNsPos + 1 );
|
| 132 |
+
$fileName = str_replace( $this->_namespaceSeparator, DIRECTORY_SEPARATOR, $namespace ) . DIRECTORY_SEPARATOR;
|
| 133 |
+
}
|
| 134 |
+
$fileName .= str_replace( '_', DIRECTORY_SEPARATOR, $className ) . $this->_fileExtension;
|
| 135 |
+
require $this->getFullPath( $fileName );
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
/**
|
| 140 |
+
* Returns full path for $fileName if _includePath is set, or leaves as-is for PHP's internal search in 'require'.
|
| 141 |
+
*
|
| 142 |
+
* @param string $fileName relative to include path.
|
| 143 |
+
*
|
| 144 |
+
* @return string
|
| 145 |
+
*/
|
| 146 |
+
private function getFullPath( $fileName ) {
|
| 147 |
+
return ($this->_includePath !== null ? $this->_includePath . DIRECTORY_SEPARATOR : '') . $fileName;
|
| 148 |
+
}
|
| 149 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Matcher/FuzzyObject.php
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock\Matcher;
|
| 4 |
+
|
| 5 |
+
use Mockery\Exception;
|
| 6 |
+
use Mockery\Matcher\MatcherAbstract;
|
| 7 |
+
|
| 8 |
+
class FuzzyObject extends MatcherAbstract {
|
| 9 |
+
|
| 10 |
+
/**
|
| 11 |
+
* @param object|array $expected
|
| 12 |
+
*
|
| 13 |
+
* @throws \Mockery\Exception If a non-object non-array expectation is provided
|
| 14 |
+
*/
|
| 15 |
+
public function __construct( $expected = null ) {
|
| 16 |
+
if ( ! is_object( $expected ) ) {
|
| 17 |
+
if ( is_array( $expected ) ) {
|
| 18 |
+
$expected = (object) $expected;
|
| 19 |
+
} else {
|
| 20 |
+
throw new Exception( 'FuzzyObject matcher can only match objects!' );
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
parent::__construct( $expected );
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* Check if the actual value matches the expected.
|
| 28 |
+
* Actual passed by reference to preserve reference trail (where applicable)
|
| 29 |
+
* back to the original method parameter.
|
| 30 |
+
*
|
| 31 |
+
* @param mixed $actual
|
| 32 |
+
*
|
| 33 |
+
* @return bool
|
| 34 |
+
*/
|
| 35 |
+
public function match( &$actual ) {
|
| 36 |
+
if ( ! is_object( $actual ) ) {
|
| 37 |
+
return false;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
if ( ! $this->haveCommonAncestor( $actual, $this->_expected ) ) {
|
| 41 |
+
return false;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
$expected_properties = get_object_vars( $this->_expected );
|
| 45 |
+
|
| 46 |
+
foreach ( $expected_properties as $prop => $value ) {
|
| 47 |
+
if ( ! isset( $actual->$prop ) || $value !== $actual->$prop ) {
|
| 48 |
+
return false;
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
$actual_keys = array_keys( get_object_vars( $actual ) );
|
| 53 |
+
$extra_actual = array_diff( $actual_keys, array_keys( $expected_properties ) );
|
| 54 |
+
if ( ! empty( $extra_actual ) ) {
|
| 55 |
+
return false;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
return true;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
/**
|
| 62 |
+
* Return a string representation of this Matcher
|
| 63 |
+
*
|
| 64 |
+
* @return string
|
| 65 |
+
*/
|
| 66 |
+
public function __toString() {
|
| 67 |
+
$values = array_values( get_object_vars( $this->_expected ) );
|
| 68 |
+
$values = array_map( function ( $value ) {
|
| 69 |
+
if ( ! is_scalar( $value ) ) {
|
| 70 |
+
if ( is_array( $value ) ) {
|
| 71 |
+
$value = 'Array';
|
| 72 |
+
} elseif ( is_object( $value ) ) {
|
| 73 |
+
$value = get_class( $value );
|
| 74 |
+
} elseif ( is_resource( $value ) ) {
|
| 75 |
+
$value = get_resource_type( $value );
|
| 76 |
+
} else {
|
| 77 |
+
$value = 'unknown';
|
| 78 |
+
}
|
| 79 |
+
}
|
| 80 |
+
return $value;
|
| 81 |
+
}, $values );
|
| 82 |
+
return '<FuzzyObject[' . implode( ', ', $values ) . ']>';
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
/**
|
| 86 |
+
* @param object $object1
|
| 87 |
+
* @param object $object2
|
| 88 |
+
*
|
| 89 |
+
* @return bool
|
| 90 |
+
*/
|
| 91 |
+
protected function haveCommonAncestor( $object1, $object2 ) {
|
| 92 |
+
$class1 = get_class( $object1 );
|
| 93 |
+
$class2 = get_class( $object2 );
|
| 94 |
+
if ( $class1 === $class2 ) {
|
| 95 |
+
return true;
|
| 96 |
+
}
|
| 97 |
+
$inheritance1 = class_parents( $class1 );
|
| 98 |
+
$inheritance2 = class_parents( $class2 );
|
| 99 |
+
return (bool) array_intersect_assoc( $inheritance1, $inheritance2 );
|
| 100 |
+
}
|
| 101 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/ReturnSequence.php
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock;
|
| 4 |
+
|
| 5 |
+
class ReturnSequence {
|
| 6 |
+
|
| 7 |
+
private $return_values = array();
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* Constructor to set up the return sequence object
|
| 11 |
+
*
|
| 12 |
+
* You can pass arbitrary arguments to the constructor to set to the internal
|
| 13 |
+
* $return_values array
|
| 14 |
+
*/
|
| 15 |
+
public function __construct() {
|
| 16 |
+
$this->return_values = func_get_args();
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
/**
|
| 20 |
+
* Retrieve the $return_values array
|
| 21 |
+
*
|
| 22 |
+
* @return array
|
| 23 |
+
*/
|
| 24 |
+
public function getReturnValues() {
|
| 25 |
+
return $this->return_values;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/**
|
| 29 |
+
* Set the return_values array
|
| 30 |
+
*
|
| 31 |
+
* Values should be passed in as one array. Keys will be discarded.
|
| 32 |
+
*
|
| 33 |
+
* @param array $return_values
|
| 34 |
+
*/
|
| 35 |
+
public function setReturnValues( $return_values ) {
|
| 36 |
+
$this->return_values = array_values( (array) $return_values );
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Tools/Constraints/ExpectationsMet.php
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock\Tools\Constraints;
|
| 4 |
+
|
| 5 |
+
use PHPUnit\Framework\Constraint\Constraint;
|
| 6 |
+
use Mockery;
|
| 7 |
+
use Exception;
|
| 8 |
+
|
| 9 |
+
class ExpectationsMet extends \PHPUnit\Framework\Constraint\Constraint {
|
| 10 |
+
|
| 11 |
+
private $_mockery_message;
|
| 12 |
+
|
| 13 |
+
public function matches( $other ) {
|
| 14 |
+
try {
|
| 15 |
+
Mockery::getContainer()->mockery_verify();
|
| 16 |
+
} catch ( Exception $e ) {
|
| 17 |
+
$this->_mockery_message = $e->getMessage();
|
| 18 |
+
return false;
|
| 19 |
+
}
|
| 20 |
+
return true;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
/**
|
| 24 |
+
* Returns a string representation of the object.
|
| 25 |
+
*
|
| 26 |
+
* @return string
|
| 27 |
+
*/
|
| 28 |
+
public function toString() {
|
| 29 |
+
return 'WP Mock expectations are met';
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
protected function additionalFailureDescription( $other ) {
|
| 33 |
+
return str_replace( array( "\r", "\n" ), '', (string) $this->_mockery_message );
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
protected function failureDescription( $other ) {
|
| 37 |
+
return $this->toString();
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Tools/Constraints/IsEqualHtml.php
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock\Tools\Constraints;
|
| 4 |
+
|
| 5 |
+
use PHPUnit\Framework\Constraint\IsEqual;
|
| 6 |
+
|
| 7 |
+
class IsEqualHtml extends \PHPUnit\Framework\Constraint\IsEqual {
|
| 8 |
+
|
| 9 |
+
private function clean( $thing ) {
|
| 10 |
+
$thing = preg_replace( '/\n\s+/', '', $thing );
|
| 11 |
+
$thing = preg_replace( '/\s\s+/', ' ', $thing );
|
| 12 |
+
return str_replace( array( "\r", "\n", "\t" ), '', $thing );
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
public function evaluate( $other, $description = '', $returnResult = FALSE ) {
|
| 16 |
+
$other = $this->clean( $other );
|
| 17 |
+
$this->value = $this->clean( $this->value );
|
| 18 |
+
return parent::evaluate( $other, $description, $returnResult );
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
}
|
vendor/10up/wp_mock/php/WP_Mock/Tools/TestCase.php
ADDED
|
@@ -0,0 +1,319 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
namespace WP_Mock\Tools;
|
| 4 |
+
|
| 5 |
+
use PHPUnit\Framework\TestResult;
|
| 6 |
+
use Exception;
|
| 7 |
+
use Mockery;
|
| 8 |
+
use ReflectionMethod;
|
| 9 |
+
use Text_Template;
|
| 10 |
+
use WP_Mock;
|
| 11 |
+
use WP_Mock\Tools\Constraints\ExpectationsMet;
|
| 12 |
+
use WP_Mock\Tools\Constraints\IsEqualHtml;
|
| 13 |
+
|
| 14 |
+
abstract class TestCase extends \PHPUnit\Framework\TestCase {
|
| 15 |
+
|
| 16 |
+
protected $mockedStaticMethods = array();
|
| 17 |
+
|
| 18 |
+
/**
|
| 19 |
+
* @var array
|
| 20 |
+
*/
|
| 21 |
+
protected $__default_post = array();
|
| 22 |
+
|
| 23 |
+
/**
|
| 24 |
+
* @var array
|
| 25 |
+
*/
|
| 26 |
+
protected $__default_get = array();
|
| 27 |
+
|
| 28 |
+
/**
|
| 29 |
+
* @var array
|
| 30 |
+
*/
|
| 31 |
+
protected $__default_request = array();
|
| 32 |
+
|
| 33 |
+
/**
|
| 34 |
+
* @var bool|callable
|
| 35 |
+
*/
|
| 36 |
+
protected $__contentFilterCallback = false;
|
| 37 |
+
|
| 38 |
+
/**
|
| 39 |
+
* @var array
|
| 40 |
+
*/
|
| 41 |
+
protected $testFiles = array();
|
| 42 |
+
|
| 43 |
+
public function setUp() {
|
| 44 |
+
$this->requireFileDependencies();
|
| 45 |
+
|
| 46 |
+
WP_Mock::setUp();
|
| 47 |
+
|
| 48 |
+
$_GET = (array) $this->__default_get;
|
| 49 |
+
$_POST = (array) $this->__default_post;
|
| 50 |
+
$_REQUEST = (array) $this->__default_request;
|
| 51 |
+
|
| 52 |
+
$this->setUpContentFiltering();
|
| 53 |
+
|
| 54 |
+
$this->cleanGlobals();
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
public function tearDown() {
|
| 58 |
+
WP_Mock::tearDown();
|
| 59 |
+
|
| 60 |
+
$this->cleanGlobals();
|
| 61 |
+
|
| 62 |
+
$this->mockedStaticMethods = array();
|
| 63 |
+
|
| 64 |
+
$_GET = array();
|
| 65 |
+
$_POST = array();
|
| 66 |
+
$_REQUEST = array();
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
public function assertActionsCalled() {
|
| 70 |
+
$actions_not_added = $expected_actions = 0;
|
| 71 |
+
try {
|
| 72 |
+
WP_Mock::assertActionsCalled();
|
| 73 |
+
} catch ( Exception $e ) {
|
| 74 |
+
$actions_not_added = 1;
|
| 75 |
+
$expected_actions = $e->getMessage();
|
| 76 |
+
}
|
| 77 |
+
$this->assertEmpty( $actions_not_added, $expected_actions );
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
public function assertHooksAdded() {
|
| 81 |
+
$hooks_not_added = $expected_hooks = 0;
|
| 82 |
+
try {
|
| 83 |
+
WP_Mock::assertHooksAdded();
|
| 84 |
+
} catch ( Exception $e ) {
|
| 85 |
+
$hooks_not_added = 1;
|
| 86 |
+
$expected_hooks = $e->getMessage();
|
| 87 |
+
}
|
| 88 |
+
$this->assertEmpty( $hooks_not_added, $expected_hooks );
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
public function ns( $function ) {
|
| 92 |
+
if ( ! is_string( $function ) || false !== strpos( $function, '\\' ) ) {
|
| 93 |
+
return $function;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
$thisClassName = trim( get_class( $this ), '\\' );
|
| 97 |
+
|
| 98 |
+
if ( ! strpos( $thisClassName, '\\' ) ) {
|
| 99 |
+
return $function;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
// $thisNamespace is constructed by exploding the current class name on
|
| 103 |
+
// namespace separators, running array_slice on that array starting at 0
|
| 104 |
+
// and ending one element from the end (chops the class name off) and
|
| 105 |
+
// imploding that using namespace separators as the glue.
|
| 106 |
+
$thisNamespace = implode( '\\', array_slice( explode( '\\', $thisClassName ), 0, - 1 ) );
|
| 107 |
+
|
| 108 |
+
return "$thisNamespace\\$function";
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
public function stripTabsAndNewlines( $content ) {
|
| 112 |
+
return str_replace( array( "\t", "\r", "\n" ), '', $content );
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
public function expectOutputString( $expectedString ) {
|
| 116 |
+
if ( is_callable( $this->__contentFilterCallback ) ) {
|
| 117 |
+
$expectedString = call_user_func( $this->__contentFilterCallback, $expectedString );
|
| 118 |
+
}
|
| 119 |
+
parent::expectOutputString( $expectedString );
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
public function assertCurrentConditionsMet( $message = '' ) {
|
| 123 |
+
$this->assertThat( null, new ExpectationsMet, $message );
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
public function assertConditionsMet( $message = '' ) {
|
| 127 |
+
$this->assertCurrentConditionsMet( $message );
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
public function assertEqualsHTML( $expected, $actual, $message = '' ) {
|
| 131 |
+
$constraint = new IsEqualHtml( $expected );
|
| 132 |
+
$this->assertThat( $actual, $constraint, $message );
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
/**
|
| 136 |
+
* Nuke the globals from orbit for process isolation
|
| 137 |
+
*
|
| 138 |
+
* See http://kpayne.me/2012/07/02/phpunit-process-isolation-and-constant-already-defined/
|
| 139 |
+
* for more details
|
| 140 |
+
*
|
| 141 |
+
* {@inheritdoc}
|
| 142 |
+
*/
|
| 143 |
+
protected function prepareTemplate( Text_Template $template ) {
|
| 144 |
+
$template->setVar( array(
|
| 145 |
+
'globals' => '$GLOBALS[\'__PHPUNIT_BOOTSTRAP\'] = \'' . $GLOBALS['__PHPUNIT_BOOTSTRAP'] . '\';',
|
| 146 |
+
) );
|
| 147 |
+
parent::prepareTemplate( $template );
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
|
| 151 |
+
/**
|
| 152 |
+
* Mock a static method of a class
|
| 153 |
+
*
|
| 154 |
+
* @param string $class The classname or class::method name
|
| 155 |
+
* @param null|string $method The method name. Optional if class::method used for $class
|
| 156 |
+
*
|
| 157 |
+
* @return \Mockery\Expectation
|
| 158 |
+
* @throws Exception
|
| 159 |
+
*/
|
| 160 |
+
protected function mockStaticMethod( $class, $method = null ) {
|
| 161 |
+
if ( ! $method ) {
|
| 162 |
+
list( $class, $method ) = ( explode( '::', $class ) + array( null, null ) );
|
| 163 |
+
}
|
| 164 |
+
if ( ! $method ) {
|
| 165 |
+
throw new Exception( sprintf( 'Could not mock %s::%s', $class, $method ) );
|
| 166 |
+
}
|
| 167 |
+
if ( ! WP_Mock::usingPatchwork() || ! function_exists( 'Patchwork\Interceptor\patch' ) ) {
|
| 168 |
+
throw new Exception( 'Patchwork is not loaded! Please load patchwork before mocking static methods!' );
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
$safe_method = "wp_mock_safe_$method";
|
| 172 |
+
$signature = md5( "$class::$method" );
|
| 173 |
+
if ( ! empty( $this->mockedStaticMethods[ $signature ] ) ) {
|
| 174 |
+
$mock = $this->mockedStaticMethods[ $signature ];
|
| 175 |
+
} else {
|
| 176 |
+
|
| 177 |
+
$rMethod = false;
|
| 178 |
+
if ( class_exists( $class ) ) {
|
| 179 |
+
$rMethod = new ReflectionMethod( $class, $method );
|
| 180 |
+
}
|
| 181 |
+
if (
|
| 182 |
+
$rMethod &&
|
| 183 |
+
(
|
| 184 |
+
! $rMethod->isUserDefined() ||
|
| 185 |
+
! $rMethod->isStatic() ||
|
| 186 |
+
$rMethod->isPrivate()
|
| 187 |
+
)
|
| 188 |
+
) {
|
| 189 |
+
throw new Exception( sprintf( '%s::%s is not a user-defined non-private static method!', $class, $method ) );
|
| 190 |
+
}
|
| 191 |
+
|
| 192 |
+
/** @var \Mockery\Mock $mock */
|
| 193 |
+
$mock = Mockery::mock( $class );
|
| 194 |
+
$mock->shouldAllowMockingProtectedMethods();
|
| 195 |
+
$this->mockedStaticMethods[ $signature ] = $mock;
|
| 196 |
+
|
| 197 |
+
\Patchwork\redefine( "$class::$method", function () use ( $mock, $safe_method ) {
|
| 198 |
+
return call_user_func_array( array( $mock, $safe_method ), func_get_args() );
|
| 199 |
+
}, ! ( $rMethod ) );
|
| 200 |
+
}
|
| 201 |
+
$expectation = $mock->shouldReceive( $safe_method );
|
| 202 |
+
|
| 203 |
+
return $expectation;
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
/**
|
| 207 |
+
* @param array|object $data The post data to add to the post
|
| 208 |
+
*
|
| 209 |
+
* @return \WP_Post
|
| 210 |
+
*/
|
| 211 |
+
protected function mockPost( $data ) {
|
| 212 |
+
/** @var \WP_Post $post */
|
| 213 |
+
$post = \Mockery::mock( 'WP_Post' );
|
| 214 |
+
$data = array_merge( array(
|
| 215 |
+
'ID' => 0,
|
| 216 |
+
'post_author' => 0,
|
| 217 |
+
'post_type' => '',
|
| 218 |
+
'post_title' => '',
|
| 219 |
+
'post_date' => '',
|
| 220 |
+
'post_date_gmt' => '',
|
| 221 |
+
'post_content' => '',
|
| 222 |
+
'post_excerpt' => '',
|
| 223 |
+
'post_status' => '',
|
| 224 |
+
'comment_status' => '',
|
| 225 |
+
'ping_status' => '',
|
| 226 |
+
'post_password' => '',
|
| 227 |
+
'post_parent' => 0,
|
| 228 |
+
'post_modified' => '',
|
| 229 |
+
'post_modified_gmt' => '',
|
| 230 |
+
'comment_count' => 0,
|
| 231 |
+
'menu_order' => 0,
|
| 232 |
+
), (array) $data );
|
| 233 |
+
array_walk( $data, function ( $value, $prop ) use ( $post ) {
|
| 234 |
+
$post->$prop = $value;
|
| 235 |
+
} );
|
| 236 |
+
|
| 237 |
+
return $post;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
/**
|
| 241 |
+
* @param array $query_vars
|
| 242 |
+
*
|
| 243 |
+
* @return \WP
|
| 244 |
+
*/
|
| 245 |
+
protected function mockWp( array $query_vars = array() ) {
|
| 246 |
+
/** @var \WP $wp */
|
| 247 |
+
$wp = \Mockery::mock( 'WP' );
|
| 248 |
+
$wp->query_vars = $query_vars;
|
| 249 |
+
|
| 250 |
+
return $wp;
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
protected function cleanGlobals() {
|
| 254 |
+
$common_globals = array(
|
| 255 |
+
'post',
|
| 256 |
+
'wp_query',
|
| 257 |
+
);
|
| 258 |
+
foreach ( $common_globals as $var ) {
|
| 259 |
+
if ( isset( $GLOBALS[ $var ] ) ) {
|
| 260 |
+
unset( $GLOBALS[ $var ] );
|
| 261 |
+
}
|
| 262 |
+
}
|
| 263 |
+
|
| 264 |
+
}
|
| 265 |
+
|
| 266 |
+
/**
|
| 267 |
+
* Require any testFiles that are defined in a subclass
|
| 268 |
+
*
|
| 269 |
+
* This will only work if the WP_MOCK_INCLUDE_DIR is defined to point to the root directory you want to include
|
| 270 |
+
* files from.
|
| 271 |
+
*/
|
| 272 |
+
protected function requireFileDependencies() {
|
| 273 |
+
if ( ! empty( $this->testFiles ) && defined( 'WP_MOCK_INCLUDE_DIR' ) ) {
|
| 274 |
+
foreach ( $this->testFiles as $file ) {
|
| 275 |
+
if ( file_exists( WP_MOCK_INCLUDE_DIR . $file ) ) {
|
| 276 |
+
require_once( WP_MOCK_INCLUDE_DIR . $file );
|
| 277 |
+
}
|
| 278 |
+
}
|
| 279 |
+
}
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
protected function setUpContentFiltering() {
|
| 283 |
+
$this->__contentFilterCallback = false;
|
| 284 |
+
|
| 285 |
+
$annotations = $this->getAnnotations();
|
| 286 |
+
if (
|
| 287 |
+
! isset( $annotations['stripTabsAndNewlinesFromOutput'] ) ||
|
| 288 |
+
$annotations['stripTabsAndNewlinesFromOutput'][0] !== 'disabled' ||
|
| 289 |
+
(
|
| 290 |
+
is_numeric( $annotations['stripTabsAndNewlinesFromOutput'][0] ) &&
|
| 291 |
+
(int) $annotations['stripTabsAndNewlinesFromOutput'][0] !== 0
|
| 292 |
+
)
|
| 293 |
+
) {
|
| 294 |
+
$this->__contentFilterCallback = array( $this, 'stripTabsAndNewlines' );
|
| 295 |
+
$this->setOutputCallback( $this->__contentFilterCallback );
|
| 296 |
+
}
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
public function run( \PHPUnit\Framework\TestResult $result = null ) {
|
| 300 |
+
if ( $result === null ) {
|
| 301 |
+
$result = $this->createResult();
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
WP_Mock::getDeprecatedListener()->setTestResult( $result );
|
| 305 |
+
WP_Mock::getDeprecatedListener()->setTestCase($this);
|
| 306 |
+
|
| 307 |
+
return parent::run( $result );
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
/**
|
| 311 |
+
* @after
|
| 312 |
+
*/
|
| 313 |
+
public function checkDeprecatedCalls() {
|
| 314 |
+
WP_Mock::getDeprecatedListener()->checkCalls();
|
| 315 |
+
WP_Mock::getDeprecatedListener()->reset();
|
| 316 |
+
}
|
| 317 |
+
|
| 318 |
+
}
|
| 319 |
+
|
vendor/10up/wp_mock/phpdoc.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8" ?>
|
| 2 |
+
<phpdoc>
|
| 3 |
+
<parser>
|
| 4 |
+
<package>WP_Mock</package>
|
| 5 |
+
<target>docs</target>
|
| 6 |
+
<encoding>utf-8</encoding>
|
| 7 |
+
</parser>
|
| 8 |
+
<transformer>
|
| 9 |
+
<target>docs</target>
|
| 10 |
+
</transformer>
|
| 11 |
+
<files>
|
| 12 |
+
<directory>WP_Mock</directory>
|
| 13 |
+
<ignore>tests/*</ignore>
|
| 14 |
+
<ignore>vendor/*</ignore>
|
| 15 |
+
</files>
|
| 16 |
+
</phpdoc>
|
vendor/10up/wp_mock/phpunit.xml.dist
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 2 |
+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/5.6/phpunit.xsd"
|
| 3 |
+
bootstrap="./bootstrap.php.dist"
|
| 4 |
+
backupGlobals="false"
|
| 5 |
+
beStrictAboutCoversAnnotation="true"
|
| 6 |
+
beStrictAboutOutputDuringTests="true"
|
| 7 |
+
beStrictAboutTestsThatDoNotTestAnything="true"
|
| 8 |
+
beStrictAboutTodoAnnotatedTests="true"
|
| 9 |
+
colors="true"
|
| 10 |
+
verbose="true">
|
| 11 |
+
<testsuites>
|
| 12 |
+
<testsuite>
|
| 13 |
+
<directory suffix="Test.php">./tests/</directory>
|
| 14 |
+
</testsuite>
|
| 15 |
+
</testsuites>
|
| 16 |
+
|
| 17 |
+
<filter>
|
| 18 |
+
<whitelist processUncoveredFilesFromWhitelist="true">
|
| 19 |
+
<directory suffix=".php">php</directory>
|
| 20 |
+
</whitelist>
|
| 21 |
+
</filter>
|
| 22 |
+
</phpunit>
|
vendor/antecedent/patchwork/.scrutinizer.yml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
checks:
|
| 3 |
+
php:
|
| 4 |
+
code_rating: true
|
| 5 |
+
duplication: true
|
| 6 |
+
filter:
|
| 7 |
+
excluded_paths:
|
| 8 |
+
- "tests/"
|
| 9 |
+
- "vendor/"
|
| 10 |
+
coding_style:
|
| 11 |
+
php:
|
| 12 |
+
indentation:
|
| 13 |
+
general:
|
| 14 |
+
use_tabs: false
|
| 15 |
+
spaces:
|
| 16 |
+
around_operators:
|
| 17 |
+
concatenation: true
|
| 18 |
+
negation: false
|
| 19 |
+
build:
|
| 20 |
+
cache:
|
| 21 |
+
directories:
|
| 22 |
+
- vendor/
|
| 23 |
+
nodes:
|
| 24 |
+
php54:
|
| 25 |
+
environment:
|
| 26 |
+
php: 5.4
|
| 27 |
+
php55:
|
| 28 |
+
environment:
|
| 29 |
+
php: 5.5
|
| 30 |
+
php56:
|
| 31 |
+
environment:
|
| 32 |
+
php: 5.6
|
| 33 |
+
php70:
|
| 34 |
+
environment:
|
| 35 |
+
php: 7.0
|
| 36 |
+
php71:
|
| 37 |
+
environment:
|
| 38 |
+
php: 7.1
|
| 39 |
+
php72:
|
| 40 |
+
environment:
|
| 41 |
+
php: 7.2
|
| 42 |
+
php73:
|
| 43 |
+
environment:
|
| 44 |
+
php: 7.3
|
| 45 |
+
tests:
|
| 46 |
+
override:
|
| 47 |
+
- idle_timeout: 4800
|
| 48 |
+
command: "./vendor/bin/phpunit tests"
|
vendor/antecedent/patchwork/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2010-2018 Ignas Rudaitis
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in
|
| 13 |
+
all copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 21 |
+
THE SOFTWARE.
|
vendor/antecedent/patchwork/Patchwork.php
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* @author Ignas Rudaitis <ignas.rudaitis@gmail.com>
|
| 5 |
+
* @copyright 2010-2018 Ignas Rudaitis
|
| 6 |
+
* @license http://www.opensource.org/licenses/mit-license.html
|
| 7 |
+
*/
|
| 8 |
+
namespace Patchwork;
|
| 9 |
+
|
| 10 |
+
if (function_exists('Patchwork\replace')) {
|
| 11 |
+
return;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
require_once __DIR__ . '/src/Exceptions.php';
|
| 15 |
+
require_once __DIR__ . '/src/CallRerouting.php';
|
| 16 |
+
require_once __DIR__ . '/src/CodeManipulation.php';
|
| 17 |
+
require_once __DIR__ . '/src/Utils.php';
|
| 18 |
+
require_once __DIR__ . '/src/Stack.php';
|
| 19 |
+
require_once __DIR__ . '/src/Config.php';
|
| 20 |
+
|
| 21 |
+
function redefine($subject, callable $content)
|
| 22 |
+
{
|
| 23 |
+
$handle = null;
|
| 24 |
+
foreach (array_slice(func_get_args(), 1) as $content) {
|
| 25 |
+
$handle = CallRerouting\connect($subject, $content, $handle);
|
| 26 |
+
}
|
| 27 |
+
$handle->silence();
|
| 28 |
+
return $handle;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
function relay(array $args = null)
|
| 32 |
+
{
|
| 33 |
+
return CallRerouting\relay($args);
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
function fallBack()
|
| 37 |
+
{
|
| 38 |
+
throw new Exceptions\NoResult;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
function restore(CallRerouting\Handle $handle)
|
| 42 |
+
{
|
| 43 |
+
$handle->expire();
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
function restoreAll()
|
| 47 |
+
{
|
| 48 |
+
CallRerouting\disconnectAll();
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
function silence(CallRerouting\Handle $handle)
|
| 52 |
+
{
|
| 53 |
+
$handle->silence();
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
function assertEventuallyDefined(CallRerouting\Handle $handle)
|
| 57 |
+
{
|
| 58 |
+
$handle->unsilence();
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
function getClass()
|
| 62 |
+
{
|
| 63 |
+
return Stack\top('class');
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
function getCalledClass()
|
| 67 |
+
{
|
| 68 |
+
return Stack\topCalledClass();
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
function getFunction()
|
| 72 |
+
{
|
| 73 |
+
return Stack\top('function');
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
function getMethod()
|
| 77 |
+
{
|
| 78 |
+
return getClass() . '::' . getFunction();
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
function configure()
|
| 82 |
+
{
|
| 83 |
+
Config\locate();
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
function hasMissed($callable)
|
| 87 |
+
{
|
| 88 |
+
return Utils\callableWasMissed($callable);
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
function always($value)
|
| 92 |
+
{
|
| 93 |
+
return function() use ($value) {
|
| 94 |
+
return $value;
|
| 95 |
+
};
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
Utils\alias('Patchwork', [
|
| 99 |
+
'redefine' => ['replace', 'replaceLater'],
|
| 100 |
+
'relay' => 'callOriginal',
|
| 101 |
+
'fallBack' => 'pass',
|
| 102 |
+
'restore' => 'undo',
|
| 103 |
+
'restoreAll' => 'undoAll',
|
| 104 |
+
]);
|
| 105 |
+
|
| 106 |
+
configure();
|
| 107 |
+
|
| 108 |
+
Utils\markMissedCallables();
|
| 109 |
+
|
| 110 |
+
if (Utils\runningOnHHVM()) {
|
| 111 |
+
# no preprocessor needed on HHVM;
|
| 112 |
+
# just let Patchwork become a wrapper for fb_intercept()
|
| 113 |
+
spl_autoload_register('Patchwork\CallRerouting\deployQueue');
|
| 114 |
+
return;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
CodeManipulation\Stream::wrap();
|
| 118 |
+
|
| 119 |
+
CodeManipulation\register([
|
| 120 |
+
CodeManipulation\Actions\CodeManipulation\propagateThroughEval(),
|
| 121 |
+
CodeManipulation\Actions\CallRerouting\injectCallInterceptionCode(),
|
| 122 |
+
CodeManipulation\Actions\RedefinitionOfInternals\spliceNamedFunctionCalls(),
|
| 123 |
+
CodeManipulation\Actions\RedefinitionOfInternals\spliceDynamicCalls(),
|
| 124 |
+
CodeManipulation\Actions\RedefinitionOfNew\spliceAllInstantiations,
|
| 125 |
+
CodeManipulation\Actions\RedefinitionOfNew\publicizeConstructors,
|
| 126 |
+
CodeManipulation\Actions\ConflictPrevention\preventImportingOtherCopiesOfPatchwork(),
|
| 127 |
+
]);
|
| 128 |
+
|
| 129 |
+
CodeManipulation\onImport([
|
| 130 |
+
CodeManipulation\Actions\CallRerouting\markPreprocessedFiles(),
|
| 131 |
+
]);
|
| 132 |
+
|
| 133 |
+
Utils\clearOpcodeCaches();
|
| 134 |
+
|
| 135 |
+
register_shutdown_function('Patchwork\Utils\clearOpcodeCaches');
|
| 136 |
+
|
| 137 |
+
CallRerouting\createStubsForInternals();
|
| 138 |
+
CallRerouting\connectDefaultInternals();
|
| 139 |
+
|
| 140 |
+
require __DIR__ . '/src/Redefinitions/LanguageConstructs.php';
|
| 141 |
+
|
| 142 |
+
CodeManipulation\register([
|
| 143 |
+
CodeManipulation\Actions\RedefinitionOfLanguageConstructs\spliceAllConfiguredLanguageConstructs(),
|
| 144 |
+
CodeManipulation\Actions\CallRerouting\injectQueueDeploymentCode(),
|
| 145 |
+
]);
|
| 146 |
+
|
| 147 |
+
if (Utils\wasRunAsConsoleApp()) {
|
| 148 |
+
require __DIR__ . '/src/Console.php';
|
| 149 |
+
}
|
vendor/autoload.php
CHANGED
|
@@ -4,4 +4,4 @@
|
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
-
return
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit7b83804bec66524f8ede823838ffb903::getLoader();
|
vendor/composer/ClassLoader.php
CHANGED
|
@@ -37,8 +37,8 @@ namespace Composer\Autoload;
|
|
| 37 |
*
|
| 38 |
* @author Fabien Potencier <fabien@symfony.com>
|
| 39 |
* @author Jordi Boggiano <j.boggiano@seld.be>
|
| 40 |
-
* @see
|
| 41 |
-
* @see
|
| 42 |
*/
|
| 43 |
class ClassLoader
|
| 44 |
{
|
|
@@ -60,7 +60,7 @@ class ClassLoader
|
|
| 60 |
public function getPrefixes()
|
| 61 |
{
|
| 62 |
if (!empty($this->prefixesPsr0)) {
|
| 63 |
-
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
| 64 |
}
|
| 65 |
|
| 66 |
return array();
|
| 37 |
*
|
| 38 |
* @author Fabien Potencier <fabien@symfony.com>
|
| 39 |
* @author Jordi Boggiano <j.boggiano@seld.be>
|
| 40 |
+
* @see https://www.php-fig.org/psr/psr-0/
|
| 41 |
+
* @see https://www.php-fig.org/psr/psr-4/
|
| 42 |
*/
|
| 43 |
class ClassLoader
|
| 44 |
{
|
| 60 |
public function getPrefixes()
|
| 61 |
{
|
| 62 |
if (!empty($this->prefixesPsr0)) {
|
| 63 |
+
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
|
| 64 |
}
|
| 65 |
|
| 66 |
return array();
|
vendor/composer/InstalledVersions.php
ADDED
|
@@ -0,0 +1,819 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
namespace Composer;
|
| 14 |
+
|
| 15 |
+
use Composer\Semver\VersionParser;
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class InstalledVersions
|
| 23 |
+
{
|
| 24 |
+
private static $installed = array (
|
| 25 |
+
'root' =>
|
| 26 |
+
array (
|
| 27 |
+
'pretty_version' => '4.5.1',
|
| 28 |
+
'version' => '4.5.1.0',
|
| 29 |
+
'aliases' =>
|
| 30 |
+
array (
|
| 31 |
+
),
|
| 32 |
+
'reference' => 'dcdc4ea6ae257051707db82563043d9d32bfff65',
|
| 33 |
+
'name' => 'mihdan/cyr2lat',
|
| 34 |
+
),
|
| 35 |
+
'versions' =>
|
| 36 |
+
array (
|
| 37 |
+
'10up/wp_mock' =>
|
| 38 |
+
array (
|
| 39 |
+
'pretty_version' => '0.3.0',
|
| 40 |
+
'version' => '0.3.0.0',
|
| 41 |
+
'aliases' =>
|
| 42 |
+
array (
|
| 43 |
+
),
|
| 44 |
+
'reference' => '64956557e98ee4c8c56cd1e396e822adb4673714',
|
| 45 |
+
),
|
| 46 |
+
'antecedent/patchwork' =>
|
| 47 |
+
array (
|
| 48 |
+
'pretty_version' => '2.1.12',
|
| 49 |
+
'version' => '2.1.12.0',
|
| 50 |
+
'aliases' =>
|
| 51 |
+
array (
|
| 52 |
+
),
|
| 53 |
+
'reference' => 'b98e046dd4c0acc34a0846604f06f6111654d9ea',
|
| 54 |
+
),
|
| 55 |
+
'composer/installers' =>
|
| 56 |
+
array (
|
| 57 |
+
'pretty_version' => 'v1.9.0',
|
| 58 |
+
'version' => '1.9.0.0',
|
| 59 |
+
'aliases' =>
|
| 60 |
+
array (
|
| 61 |
+
),
|
| 62 |
+
'reference' => 'b93bcf0fa1fccb0b7d176b0967d969691cd74cca',
|
| 63 |
+
),
|
| 64 |
+
'cordoval/hamcrest-php' =>
|
| 65 |
+
array (
|
| 66 |
+
'replaced' =>
|
| 67 |
+
array (
|
| 68 |
+
0 => '*',
|
| 69 |
+
),
|
| 70 |
+
),
|
| 71 |
+
'davedevelopment/hamcrest-php' =>
|
| 72 |
+
array (
|
| 73 |
+
'replaced' =>
|
| 74 |
+
array (
|
| 75 |
+
0 => '*',
|
| 76 |
+
),
|
| 77 |
+
),
|
| 78 |
+
'doctrine/instantiator' =>
|
| 79 |
+
array (
|
| 80 |
+
'pretty_version' => '1.0.5',
|
| 81 |
+
'version' => '1.0.5.0',
|
| 82 |
+
'aliases' =>
|
| 83 |
+
array (
|
| 84 |
+
),
|
| 85 |
+
'reference' => '8e884e78f9f0eb1329e445619e04456e64d8051d',
|
| 86 |
+
),
|
| 87 |
+
'guzzlehttp/guzzle' =>
|
| 88 |
+
array (
|
| 89 |
+
'pretty_version' => '6.5.5',
|
| 90 |
+
'version' => '6.5.5.0',
|
| 91 |
+
'aliases' =>
|
| 92 |
+
array (
|
| 93 |
+
),
|
| 94 |
+
'reference' => '9d4290de1cfd701f38099ef7e183b64b4b7b0c5e',
|
| 95 |
+
),
|
| 96 |
+
'guzzlehttp/promises' =>
|
| 97 |
+
array (
|
| 98 |
+
'pretty_version' => '1.4.0',
|
| 99 |
+
'version' => '1.4.0.0',
|
| 100 |
+
'aliases' =>
|
| 101 |
+
array (
|
| 102 |
+
),
|
| 103 |
+
'reference' => '60d379c243457e073cff02bc323a2a86cb355631',
|
| 104 |
+
),
|
| 105 |
+
'guzzlehttp/psr7' =>
|
| 106 |
+
array (
|
| 107 |
+
'pretty_version' => '1.7.0',
|
| 108 |
+
'version' => '1.7.0.0',
|
| 109 |
+
'aliases' =>
|
| 110 |
+
array (
|
| 111 |
+
),
|
| 112 |
+
'reference' => '53330f47520498c0ae1f61f7e2c90f55690c06a3',
|
| 113 |
+
),
|
| 114 |
+
'hamcrest/hamcrest-php' =>
|
| 115 |
+
array (
|
| 116 |
+
'pretty_version' => 'v2.0.1',
|
| 117 |
+
'version' => '2.0.1.0',
|
| 118 |
+
'aliases' =>
|
| 119 |
+
array (
|
| 120 |
+
),
|
| 121 |
+
'reference' => '8c3d0a3f6af734494ad8f6fbbee0ba92422859f3',
|
| 122 |
+
),
|
| 123 |
+
'kodova/hamcrest-php' =>
|
| 124 |
+
array (
|
| 125 |
+
'replaced' =>
|
| 126 |
+
array (
|
| 127 |
+
0 => '*',
|
| 128 |
+
),
|
| 129 |
+
),
|
| 130 |
+
'lucatume/args' =>
|
| 131 |
+
array (
|
| 132 |
+
'pretty_version' => '1.0.1.1',
|
| 133 |
+
'version' => '1.0.1.1',
|
| 134 |
+
'aliases' =>
|
| 135 |
+
array (
|
| 136 |
+
),
|
| 137 |
+
'reference' => '9ab69f5c995813b2dfbb067100ada500ee2893e8',
|
| 138 |
+
),
|
| 139 |
+
'lucatume/function-mocker' =>
|
| 140 |
+
array (
|
| 141 |
+
'pretty_version' => 'dev-test-on-windows',
|
| 142 |
+
'version' => 'dev-test-on-windows',
|
| 143 |
+
'aliases' =>
|
| 144 |
+
array (
|
| 145 |
+
),
|
| 146 |
+
'reference' => '0383729be9af2f1dba5e553b29c899f10aba8932',
|
| 147 |
+
),
|
| 148 |
+
'mihdan/cyr2lat' =>
|
| 149 |
+
array (
|
| 150 |
+
'pretty_version' => '4.5.1',
|
| 151 |
+
'version' => '4.5.1.0',
|
| 152 |
+
'aliases' =>
|
| 153 |
+
array (
|
| 154 |
+
),
|
| 155 |
+
'reference' => 'dcdc4ea6ae257051707db82563043d9d32bfff65',
|
| 156 |
+
),
|
| 157 |
+
'mockery/mockery' =>
|
| 158 |
+
array (
|
| 159 |
+
'pretty_version' => '1.3.3',
|
| 160 |
+
'version' => '1.3.3.0',
|
| 161 |
+
'aliases' =>
|
| 162 |
+
array (
|
| 163 |
+
),
|
| 164 |
+
'reference' => '60fa2f67f6e4d3634bb4a45ff3171fa52215800d',
|
| 165 |
+
),
|
| 166 |
+
'myclabs/deep-copy' =>
|
| 167 |
+
array (
|
| 168 |
+
'pretty_version' => '1.7.0',
|
| 169 |
+
'version' => '1.7.0.0',
|
| 170 |
+
'aliases' =>
|
| 171 |
+
array (
|
| 172 |
+
),
|
| 173 |
+
'reference' => '3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e',
|
| 174 |
+
),
|
| 175 |
+
'paragonie/random_compat' =>
|
| 176 |
+
array (
|
| 177 |
+
'pretty_version' => 'v9.99.100',
|
| 178 |
+
'version' => '9.99.100.0',
|
| 179 |
+
'aliases' =>
|
| 180 |
+
array (
|
| 181 |
+
),
|
| 182 |
+
'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a',
|
| 183 |
+
),
|
| 184 |
+
'phar-io/manifest' =>
|
| 185 |
+
array (
|
| 186 |
+
'pretty_version' => '1.0.1',
|
| 187 |
+
'version' => '1.0.1.0',
|
| 188 |
+
'aliases' =>
|
| 189 |
+
array (
|
| 190 |
+
),
|
| 191 |
+
'reference' => '2df402786ab5368a0169091f61a7c1e0eb6852d0',
|
| 192 |
+
),
|
| 193 |
+
'phar-io/version' =>
|
| 194 |
+
array (
|
| 195 |
+
'pretty_version' => '1.0.1',
|
| 196 |
+
'version' => '1.0.1.0',
|
| 197 |
+
'aliases' =>
|
| 198 |
+
array (
|
| 199 |
+
),
|
| 200 |
+
'reference' => 'a70c0ced4be299a63d32fa96d9281d03e94041df',
|
| 201 |
+
),
|
| 202 |
+
'php-coveralls/php-coveralls' =>
|
| 203 |
+
array (
|
| 204 |
+
'pretty_version' => 'v2.4.2',
|
| 205 |
+
'version' => '2.4.2.0',
|
| 206 |
+
'aliases' =>
|
| 207 |
+
array (
|
| 208 |
+
),
|
| 209 |
+
'reference' => '8a33ae229da63a0bd22dadae1512af663ce5e559',
|
| 210 |
+
),
|
| 211 |
+
'phpcompatibility/php-compatibility' =>
|
| 212 |
+
array (
|
| 213 |
+
'pretty_version' => '9.3.5',
|
| 214 |
+
'version' => '9.3.5.0',
|
| 215 |
+
'aliases' =>
|
| 216 |
+
array (
|
| 217 |
+
),
|
| 218 |
+
'reference' => '9fb324479acf6f39452e0655d2429cc0d3914243',
|
| 219 |
+
),
|
| 220 |
+
'phpcompatibility/phpcompatibility-paragonie' =>
|
| 221 |
+
array (
|
| 222 |
+
'pretty_version' => '1.3.0',
|
| 223 |
+
'version' => '1.3.0.0',
|
| 224 |
+
'aliases' =>
|
| 225 |
+
array (
|
| 226 |
+
),
|
| 227 |
+
'reference' => 'b862bc32f7e860d0b164b199bd995e690b4b191c',
|
| 228 |
+
),
|
| 229 |
+
'phpcompatibility/phpcompatibility-wp' =>
|
| 230 |
+
array (
|
| 231 |
+
'pretty_version' => '2.1.0',
|
| 232 |
+
'version' => '2.1.0.0',
|
| 233 |
+
'aliases' =>
|
| 234 |
+
array (
|
| 235 |
+
),
|
| 236 |
+
'reference' => '41bef18ba688af638b7310666db28e1ea9158b2f',
|
| 237 |
+
),
|
| 238 |
+
'phpdocumentor/reflection-common' =>
|
| 239 |
+
array (
|
| 240 |
+
'pretty_version' => '1.0.1',
|
| 241 |
+
'version' => '1.0.1.0',
|
| 242 |
+
'aliases' =>
|
| 243 |
+
array (
|
| 244 |
+
),
|
| 245 |
+
'reference' => '21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6',
|
| 246 |
+
),
|
| 247 |
+
'phpdocumentor/reflection-docblock' =>
|
| 248 |
+
array (
|
| 249 |
+
'pretty_version' => '4.3.4',
|
| 250 |
+
'version' => '4.3.4.0',
|
| 251 |
+
'aliases' =>
|
| 252 |
+
array (
|
| 253 |
+
),
|
| 254 |
+
'reference' => 'da3fd972d6bafd628114f7e7e036f45944b62e9c',
|
| 255 |
+
),
|
| 256 |
+
'phpdocumentor/type-resolver' =>
|
| 257 |
+
array (
|
| 258 |
+
'pretty_version' => '0.5.1',
|
| 259 |
+
'version' => '0.5.1.0',
|
| 260 |
+
'aliases' =>
|
| 261 |
+
array (
|
| 262 |
+
),
|
| 263 |
+
'reference' => 'cf842904952e64e703800d094cdf34e715a8a3ae',
|
| 264 |
+
),
|
| 265 |
+
'phpspec/prophecy' =>
|
| 266 |
+
array (
|
| 267 |
+
'pretty_version' => 'v1.10.3',
|
| 268 |
+
'version' => '1.10.3.0',
|
| 269 |
+
'aliases' =>
|
| 270 |
+
array (
|
| 271 |
+
),
|
| 272 |
+
'reference' => '451c3cd1418cf640de218914901e51b064abb093',
|
| 273 |
+
),
|
| 274 |
+
'phpunit/php-code-coverage' =>
|
| 275 |
+
array (
|
| 276 |
+
'pretty_version' => '5.3.2',
|
| 277 |
+
'version' => '5.3.2.0',
|
| 278 |
+
'aliases' =>
|
| 279 |
+
array (
|
| 280 |
+
),
|
| 281 |
+
'reference' => 'c89677919c5dd6d3b3852f230a663118762218ac',
|
| 282 |
+
),
|
| 283 |
+
'phpunit/php-file-iterator' =>
|
| 284 |
+
array (
|
| 285 |
+
'pretty_version' => '1.4.5',
|
| 286 |
+
'version' => '1.4.5.0',
|
| 287 |
+
'aliases' =>
|
| 288 |
+
array (
|
| 289 |
+
),
|
| 290 |
+
'reference' => '730b01bc3e867237eaac355e06a36b85dd93a8b4',
|
| 291 |
+
),
|
| 292 |
+
'phpunit/php-text-template' =>
|
| 293 |
+
array (
|
| 294 |
+
'pretty_version' => '1.2.1',
|
| 295 |
+
'version' => '1.2.1.0',
|
| 296 |
+
'aliases' =>
|
| 297 |
+
array (
|
| 298 |
+
),
|
| 299 |
+
'reference' => '31f8b717e51d9a2afca6c9f046f5d69fc27c8686',
|
| 300 |
+
),
|
| 301 |
+
'phpunit/php-timer' =>
|
| 302 |
+
array (
|
| 303 |
+
'pretty_version' => '1.0.9',
|
| 304 |
+
'version' => '1.0.9.0',
|
| 305 |
+
'aliases' =>
|
| 306 |
+
array (
|
| 307 |
+
),
|
| 308 |
+
'reference' => '3dcf38ca72b158baf0bc245e9184d3fdffa9c46f',
|
| 309 |
+
),
|
| 310 |
+
'phpunit/php-token-stream' =>
|
| 311 |
+
array (
|
| 312 |
+
'pretty_version' => '2.0.2',
|
| 313 |
+
'version' => '2.0.2.0',
|
| 314 |
+
'aliases' =>
|
| 315 |
+
array (
|
| 316 |
+
),
|
| 317 |
+
'reference' => '791198a2c6254db10131eecfe8c06670700904db',
|
| 318 |
+
),
|
| 319 |
+
'phpunit/phpunit' =>
|
| 320 |
+
array (
|
| 321 |
+
'pretty_version' => '6.5.14',
|
| 322 |
+
'version' => '6.5.14.0',
|
| 323 |
+
'aliases' =>
|
| 324 |
+
array (
|
| 325 |
+
),
|
| 326 |
+
'reference' => 'bac23fe7ff13dbdb461481f706f0e9fe746334b7',
|
| 327 |
+
),
|
| 328 |
+
'phpunit/phpunit-mock-objects' =>
|
| 329 |
+
array (
|
| 330 |
+
'pretty_version' => '5.0.10',
|
| 331 |
+
'version' => '5.0.10.0',
|
| 332 |
+
'aliases' =>
|
| 333 |
+
array (
|
| 334 |
+
),
|
| 335 |
+
'reference' => 'cd1cf05c553ecfec36b170070573e540b67d3f1f',
|
| 336 |
+
),
|
| 337 |
+
'psr/http-message' =>
|
| 338 |
+
array (
|
| 339 |
+
'pretty_version' => '1.0.1',
|
| 340 |
+
'version' => '1.0.1.0',
|
| 341 |
+
'aliases' =>
|
| 342 |
+
array (
|
| 343 |
+
),
|
| 344 |
+
'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
|
| 345 |
+
),
|
| 346 |
+
'psr/http-message-implementation' =>
|
| 347 |
+
array (
|
| 348 |
+
'provided' =>
|
| 349 |
+
array (
|
| 350 |
+
0 => '1.0',
|
| 351 |
+
),
|
| 352 |
+
),
|
| 353 |
+
'psr/log' =>
|
| 354 |
+
array (
|
| 355 |
+
'pretty_version' => '1.1.3',
|
| 356 |
+
'version' => '1.1.3.0',
|
| 357 |
+
'aliases' =>
|
| 358 |
+
array (
|
| 359 |
+
),
|
| 360 |
+
'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
|
| 361 |
+
),
|
| 362 |
+
'ralouphie/getallheaders' =>
|
| 363 |
+
array (
|
| 364 |
+
'pretty_version' => '3.0.3',
|
| 365 |
+
'version' => '3.0.3.0',
|
| 366 |
+
'aliases' =>
|
| 367 |
+
array (
|
| 368 |
+
),
|
| 369 |
+
'reference' => '120b605dfeb996808c31b6477290a714d356e822',
|
| 370 |
+
),
|
| 371 |
+
'roave/security-advisories' =>
|
| 372 |
+
array (
|
| 373 |
+
'pretty_version' => 'dev-master',
|
| 374 |
+
'version' => 'dev-master',
|
| 375 |
+
'aliases' =>
|
| 376 |
+
array (
|
| 377 |
+
),
|
| 378 |
+
'reference' => '676668eda60bb8a32bd2a4efcb12c96d6e1c4bc6',
|
| 379 |
+
),
|
| 380 |
+
'roundcube/plugin-installer' =>
|
| 381 |
+
array (
|
| 382 |
+
'replaced' =>
|
| 383 |
+
array (
|
| 384 |
+
0 => '*',
|
| 385 |
+
),
|
| 386 |
+
),
|
| 387 |
+
'sebastian/code-unit-reverse-lookup' =>
|
| 388 |
+
array (
|
| 389 |
+
'pretty_version' => '1.0.2',
|
| 390 |
+
'version' => '1.0.2.0',
|
| 391 |
+
'aliases' =>
|
| 392 |
+
array (
|
| 393 |
+
),
|
| 394 |
+
'reference' => '1de8cd5c010cb153fcd68b8d0f64606f523f7619',
|
| 395 |
+
),
|
| 396 |
+
'sebastian/comparator' =>
|
| 397 |
+
array (
|
| 398 |
+
'pretty_version' => '2.1.3',
|
| 399 |
+
'version' => '2.1.3.0',
|
| 400 |
+
'aliases' =>
|
| 401 |
+
array (
|
| 402 |
+
),
|
| 403 |
+
'reference' => '34369daee48eafb2651bea869b4b15d75ccc35f9',
|
| 404 |
+
),
|
| 405 |
+
'sebastian/diff' =>
|
| 406 |
+
array (
|
| 407 |
+
'pretty_version' => '2.0.1',
|
| 408 |
+
'version' => '2.0.1.0',
|
| 409 |
+
'aliases' =>
|
| 410 |
+
array (
|
| 411 |
+
),
|
| 412 |
+
'reference' => '347c1d8b49c5c3ee30c7040ea6fc446790e6bddd',
|
| 413 |
+
),
|
| 414 |
+
'sebastian/environment' =>
|
| 415 |
+
array (
|
| 416 |
+
'pretty_version' => '3.1.0',
|
| 417 |
+
'version' => '3.1.0.0',
|
| 418 |
+
'aliases' =>
|
| 419 |
+
array (
|
| 420 |
+
),
|
| 421 |
+
'reference' => 'cd0871b3975fb7fc44d11314fd1ee20925fce4f5',
|
| 422 |
+
),
|
| 423 |
+
'sebastian/exporter' =>
|
| 424 |
+
array (
|
| 425 |
+
'pretty_version' => '3.1.3',
|
| 426 |
+
'version' => '3.1.3.0',
|
| 427 |
+
'aliases' =>
|
| 428 |
+
array (
|
| 429 |
+
),
|
| 430 |
+
'reference' => '6b853149eab67d4da22291d36f5b0631c0fd856e',
|
| 431 |
+
),
|
| 432 |
+
'sebastian/global-state' =>
|
| 433 |
+
array (
|
| 434 |
+
'pretty_version' => '2.0.0',
|
| 435 |
+
'version' => '2.0.0.0',
|
| 436 |
+
'aliases' =>
|
| 437 |
+
array (
|
| 438 |
+
),
|
| 439 |
+
'reference' => 'e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4',
|
| 440 |
+
),
|
| 441 |
+
'sebastian/object-enumerator' =>
|
| 442 |
+
array (
|
| 443 |
+
'pretty_version' => '3.0.4',
|
| 444 |
+
'version' => '3.0.4.0',
|
| 445 |
+
'aliases' =>
|
| 446 |
+
array (
|
| 447 |
+
),
|
| 448 |
+
'reference' => 'e67f6d32ebd0c749cf9d1dbd9f226c727043cdf2',
|
| 449 |
+
),
|
| 450 |
+
'sebastian/object-reflector' =>
|
| 451 |
+
array (
|
| 452 |
+
'pretty_version' => '1.1.2',
|
| 453 |
+
'version' => '1.1.2.0',
|
| 454 |
+
'aliases' =>
|
| 455 |
+
array (
|
| 456 |
+
),
|
| 457 |
+
'reference' => '9b8772b9cbd456ab45d4a598d2dd1a1bced6363d',
|
| 458 |
+
),
|
| 459 |
+
'sebastian/recursion-context' =>
|
| 460 |
+
array (
|
| 461 |
+
'pretty_version' => '3.0.1',
|
| 462 |
+
'version' => '3.0.1.0',
|
| 463 |
+
'aliases' =>
|
| 464 |
+
array (
|
| 465 |
+
),
|
| 466 |
+
'reference' => '367dcba38d6e1977be014dc4b22f47a484dac7fb',
|
| 467 |
+
),
|
| 468 |
+
'sebastian/resource-operations' =>
|
| 469 |
+
array (
|
| 470 |
+
'pretty_version' => '1.0.0',
|
| 471 |
+
'version' => '1.0.0.0',
|
| 472 |
+
'aliases' =>
|
| 473 |
+
array (
|
| 474 |
+
),
|
| 475 |
+
'reference' => 'ce990bb21759f94aeafd30209e8cfcdfa8bc3f52',
|
| 476 |
+
),
|
| 477 |
+
'sebastian/version' =>
|
| 478 |
+
array (
|
| 479 |
+
'pretty_version' => '2.0.1',
|
| 480 |
+
'version' => '2.0.1.0',
|
| 481 |
+
'aliases' =>
|
| 482 |
+
array (
|
| 483 |
+
),
|
| 484 |
+
'reference' => '99732be0ddb3361e16ad77b68ba41efc8e979019',
|
| 485 |
+
),
|
| 486 |
+
'shama/baton' =>
|
| 487 |
+
array (
|
| 488 |
+
'replaced' =>
|
| 489 |
+
array (
|
| 490 |
+
0 => '*',
|
| 491 |
+
),
|
| 492 |
+
),
|
| 493 |
+
'squizlabs/php_codesniffer' =>
|
| 494 |
+
array (
|
| 495 |
+
'pretty_version' => '3.5.8',
|
| 496 |
+
'version' => '3.5.8.0',
|
| 497 |
+
'aliases' =>
|
| 498 |
+
array (
|
| 499 |
+
),
|
| 500 |
+
'reference' => '9d583721a7157ee997f235f327de038e7ea6dac4',
|
| 501 |
+
),
|
| 502 |
+
'symfony/config' =>
|
| 503 |
+
array (
|
| 504 |
+
'pretty_version' => 'v3.3.6',
|
| 505 |
+
'version' => '3.3.6.0',
|
| 506 |
+
'aliases' =>
|
| 507 |
+
array (
|
| 508 |
+
),
|
| 509 |
+
'reference' => '54ee12b0dd60f294132cabae6f5da9573d2e5297',
|
| 510 |
+
),
|
| 511 |
+
'symfony/console' =>
|
| 512 |
+
array (
|
| 513 |
+
'pretty_version' => 'v3.3.6',
|
| 514 |
+
'version' => '3.3.6.0',
|
| 515 |
+
'aliases' =>
|
| 516 |
+
array (
|
| 517 |
+
),
|
| 518 |
+
'reference' => 'b0878233cb5c4391347e5495089c7af11b8e6201',
|
| 519 |
+
),
|
| 520 |
+
'symfony/debug' =>
|
| 521 |
+
array (
|
| 522 |
+
'pretty_version' => 'v3.3.6',
|
| 523 |
+
'version' => '3.3.6.0',
|
| 524 |
+
'aliases' =>
|
| 525 |
+
array (
|
| 526 |
+
),
|
| 527 |
+
'reference' => '7c13ae8ce1e2adbbd574fc39de7be498e1284e13',
|
| 528 |
+
),
|
| 529 |
+
'symfony/filesystem' =>
|
| 530 |
+
array (
|
| 531 |
+
'pretty_version' => 'v3.3.6',
|
| 532 |
+
'version' => '3.3.6.0',
|
| 533 |
+
'aliases' =>
|
| 534 |
+
array (
|
| 535 |
+
),
|
| 536 |
+
'reference' => '427987eb4eed764c3b6e38d52a0f87989e010676',
|
| 537 |
+
),
|
| 538 |
+
'symfony/polyfill-ctype' =>
|
| 539 |
+
array (
|
| 540 |
+
'pretty_version' => 'v1.19.0',
|
| 541 |
+
'version' => '1.19.0.0',
|
| 542 |
+
'aliases' =>
|
| 543 |
+
array (
|
| 544 |
+
),
|
| 545 |
+
'reference' => 'aed596913b70fae57be53d86faa2e9ef85a2297b',
|
| 546 |
+
),
|
| 547 |
+
'symfony/polyfill-intl-idn' =>
|
| 548 |
+
array (
|
| 549 |
+
'pretty_version' => 'v1.19.0',
|
| 550 |
+
'version' => '1.19.0.0',
|
| 551 |
+
'aliases' =>
|
| 552 |
+
array (
|
| 553 |
+
),
|
| 554 |
+
'reference' => '4ad5115c0f5d5172a9fe8147675ec6de266d8826',
|
| 555 |
+
),
|
| 556 |
+
'symfony/polyfill-intl-normalizer' =>
|
| 557 |
+
array (
|
| 558 |
+
'pretty_version' => 'v1.19.0',
|
| 559 |
+
'version' => '1.19.0.0',
|
| 560 |
+
'aliases' =>
|
| 561 |
+
array (
|
| 562 |
+
),
|
| 563 |
+
'reference' => '8db0ae7936b42feb370840cf24de1a144fb0ef27',
|
| 564 |
+
),
|
| 565 |
+
'symfony/polyfill-mbstring' =>
|
| 566 |
+
array (
|
| 567 |
+
'pretty_version' => 'v1.13.1',
|
| 568 |
+
'version' => '1.13.1.0',
|
| 569 |
+
'aliases' =>
|
| 570 |
+
array (
|
| 571 |
+
),
|
| 572 |
+
'reference' => '7b4aab9743c30be783b73de055d24a39cf4b954f',
|
| 573 |
+
),
|
| 574 |
+
'symfony/polyfill-php70' =>
|
| 575 |
+
array (
|
| 576 |
+
'pretty_version' => 'v1.19.0',
|
| 577 |
+
'version' => '1.19.0.0',
|
| 578 |
+
'aliases' =>
|
| 579 |
+
array (
|
| 580 |
+
),
|
| 581 |
+
'reference' => '3fe414077251a81a1b15b1c709faf5c2fbae3d4e',
|
| 582 |
+
),
|
| 583 |
+
'symfony/polyfill-php72' =>
|
| 584 |
+
array (
|
| 585 |
+
'pretty_version' => 'v1.19.0',
|
| 586 |
+
'version' => '1.19.0.0',
|
| 587 |
+
'aliases' =>
|
| 588 |
+
array (
|
| 589 |
+
),
|
| 590 |
+
'reference' => 'beecef6b463b06954638f02378f52496cb84bacc',
|
| 591 |
+
),
|
| 592 |
+
'symfony/stopwatch' =>
|
| 593 |
+
array (
|
| 594 |
+
'pretty_version' => 'v3.3.6',
|
| 595 |
+
'version' => '3.3.6.0',
|
| 596 |
+
'aliases' =>
|
| 597 |
+
array (
|
| 598 |
+
),
|
| 599 |
+
'reference' => '602a15299dc01556013b07167d4f5d3a60e90d15',
|
| 600 |
+
),
|
| 601 |
+
'symfony/yaml' =>
|
| 602 |
+
array (
|
| 603 |
+
'pretty_version' => 'v3.3.6',
|
| 604 |
+
'version' => '3.3.6.0',
|
| 605 |
+
'aliases' =>
|
| 606 |
+
array (
|
| 607 |
+
),
|
| 608 |
+
'reference' => 'ddc23324e6cfe066f3dd34a37ff494fa80b617ed',
|
| 609 |
+
),
|
| 610 |
+
'theseer/tokenizer' =>
|
| 611 |
+
array (
|
| 612 |
+
'pretty_version' => '1.1.3',
|
| 613 |
+
'version' => '1.1.3.0',
|
| 614 |
+
'aliases' =>
|
| 615 |
+
array (
|
| 616 |
+
),
|
| 617 |
+
'reference' => '11336f6f84e16a720dae9d8e6ed5019efa85a0f9',
|
| 618 |
+
),
|
| 619 |
+
'webmozart/assert' =>
|
| 620 |
+
array (
|
| 621 |
+
'pretty_version' => '1.9.1',
|
| 622 |
+
'version' => '1.9.1.0',
|
| 623 |
+
'aliases' =>
|
| 624 |
+
array (
|
| 625 |
+
),
|
| 626 |
+
'reference' => 'bafc69caeb4d49c39fd0779086c03a3738cbb389',
|
| 627 |
+
),
|
| 628 |
+
'wp-coding-standards/wpcs' =>
|
| 629 |
+
array (
|
| 630 |
+
'pretty_version' => '2.3.0',
|
| 631 |
+
'version' => '2.3.0.0',
|
| 632 |
+
'aliases' =>
|
| 633 |
+
array (
|
| 634 |
+
),
|
| 635 |
+
'reference' => '7da1894633f168fe244afc6de00d141f27517b62',
|
| 636 |
+
),
|
| 637 |
+
'xrstf/composer-php52' =>
|
| 638 |
+
array (
|
| 639 |
+
'pretty_version' => 'v1.0.20',
|
| 640 |
+
'version' => '1.0.20.0',
|
| 641 |
+
'aliases' =>
|
| 642 |
+
array (
|
| 643 |
+
),
|
| 644 |
+
'reference' => 'bd41459d5e27df8d33057842b32377c39e97a5a8',
|
| 645 |
+
),
|
| 646 |
+
),
|
| 647 |
+
);
|
| 648 |
+
|
| 649 |
+
|
| 650 |
+
|
| 651 |
+
|
| 652 |
+
|
| 653 |
+
|
| 654 |
+
|
| 655 |
+
public static function getInstalledPackages()
|
| 656 |
+
{
|
| 657 |
+
return array_keys(self::$installed['versions']);
|
| 658 |
+
}
|
| 659 |
+
|
| 660 |
+
|
| 661 |
+
|
| 662 |
+
|
| 663 |
+
|
| 664 |
+
|
| 665 |
+
|
| 666 |
+
|
| 667 |
+
|
| 668 |
+
public static function isInstalled($packageName)
|
| 669 |
+
{
|
| 670 |
+
return isset(self::$installed['versions'][$packageName]);
|
| 671 |
+
}
|
| 672 |
+
|
| 673 |
+
|
| 674 |
+
|
| 675 |
+
|
| 676 |
+
|
| 677 |
+
|
| 678 |
+
|
| 679 |
+
|
| 680 |
+
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
|
| 684 |
+
|
| 685 |
+
|
| 686 |
+
public static function satisfies(VersionParser $parser, $packageName, $constraint)
|
| 687 |
+
{
|
| 688 |
+
$constraint = $parser->parseConstraints($constraint);
|
| 689 |
+
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
|
| 690 |
+
|
| 691 |
+
return $provided->matches($constraint);
|
| 692 |
+
}
|
| 693 |
+
|
| 694 |
+
|
| 695 |
+
|
| 696 |
+
|
| 697 |
+
|
| 698 |
+
|
| 699 |
+
|
| 700 |
+
|
| 701 |
+
|
| 702 |
+
|
| 703 |
+
public static function getVersionRanges($packageName)
|
| 704 |
+
{
|
| 705 |
+
if (!isset(self::$installed['versions'][$packageName])) {
|
| 706 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
| 707 |
+
}
|
| 708 |
+
|
| 709 |
+
$ranges = array();
|
| 710 |
+
if (isset(self::$installed['versions'][$packageName]['pretty_version'])) {
|
| 711 |
+
$ranges[] = self::$installed['versions'][$packageName]['pretty_version'];
|
| 712 |
+
}
|
| 713 |
+
if (array_key_exists('aliases', self::$installed['versions'][$packageName])) {
|
| 714 |
+
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']);
|
| 715 |
+
}
|
| 716 |
+
if (array_key_exists('replaced', self::$installed['versions'][$packageName])) {
|
| 717 |
+
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']);
|
| 718 |
+
}
|
| 719 |
+
if (array_key_exists('provided', self::$installed['versions'][$packageName])) {
|
| 720 |
+
$ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']);
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
return implode(' || ', $ranges);
|
| 724 |
+
}
|
| 725 |
+
|
| 726 |
+
|
| 727 |
+
|
| 728 |
+
|
| 729 |
+
|
| 730 |
+
public static function getVersion($packageName)
|
| 731 |
+
{
|
| 732 |
+
if (!isset(self::$installed['versions'][$packageName])) {
|
| 733 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
| 734 |
+
}
|
| 735 |
+
|
| 736 |
+
if (!isset(self::$installed['versions'][$packageName]['version'])) {
|
| 737 |
+
return null;
|
| 738 |
+
}
|
| 739 |
+
|
| 740 |
+
return self::$installed['versions'][$packageName]['version'];
|
| 741 |
+
}
|
| 742 |
+
|
| 743 |
+
|
| 744 |
+
|
| 745 |
+
|
| 746 |
+
|
| 747 |
+
public static function getPrettyVersion($packageName)
|
| 748 |
+
{
|
| 749 |
+
if (!isset(self::$installed['versions'][$packageName])) {
|
| 750 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
| 751 |
+
}
|
| 752 |
+
|
| 753 |
+
if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) {
|
| 754 |
+
return null;
|
| 755 |
+
}
|
| 756 |
+
|
| 757 |
+
return self::$installed['versions'][$packageName]['pretty_version'];
|
| 758 |
+
}
|
| 759 |
+
|
| 760 |
+
|
| 761 |
+
|
| 762 |
+
|
| 763 |
+
|
| 764 |
+
public static function getReference($packageName)
|
| 765 |
+
{
|
| 766 |
+
if (!isset(self::$installed['versions'][$packageName])) {
|
| 767 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
| 768 |
+
}
|
| 769 |
+
|
| 770 |
+
if (!isset(self::$installed['versions'][$packageName]['reference'])) {
|
| 771 |
+
return null;
|
| 772 |
+
}
|
| 773 |
+
|
| 774 |
+
return self::$installed['versions'][$packageName]['reference'];
|
| 775 |
+
}
|
| 776 |
+
|
| 777 |
+
|
| 778 |
+
|
| 779 |
+
|
| 780 |
+
|
| 781 |
+
public static function getRootPackage()
|
| 782 |
+
{
|
| 783 |
+
return self::$installed['root'];
|
| 784 |
+
}
|
| 785 |
+
|
| 786 |
+
|
| 787 |
+
|
| 788 |
+
|
| 789 |
+
|
| 790 |
+
|
| 791 |
+
|
| 792 |
+
public static function getRawData()
|
| 793 |
+
{
|
| 794 |
+
return self::$installed;
|
| 795 |
+
}
|
| 796 |
+
|
| 797 |
+
|
| 798 |
+
|
| 799 |
+
|
| 800 |
+
|
| 801 |
+
|
| 802 |
+
|
| 803 |
+
|
| 804 |
+
|
| 805 |
+
|
| 806 |
+
|
| 807 |
+
|
| 808 |
+
|
| 809 |
+
|
| 810 |
+
|
| 811 |
+
|
| 812 |
+
|
| 813 |
+
|
| 814 |
+
|
| 815 |
+
public static function reload($data)
|
| 816 |
+
{
|
| 817 |
+
self::$installed = $data;
|
| 818 |
+
}
|
| 819 |
+
}
|
vendor/composer/autoload_classmap.php
CHANGED
|
@@ -6,11 +6,15 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
|
|
|
|
|
|
|
|
|
| 9 |
'Cyr_To_Lat\\ACF' => $baseDir . '/classes/class-acf.php',
|
| 10 |
'Cyr_To_Lat\\Admin_Notices' => $baseDir . '/classes/class-admin-notices.php',
|
| 11 |
'Cyr_To_Lat\\Conversion_Process' => $baseDir . '/classes/background-processes/class-conversion-process.php',
|
| 12 |
'Cyr_To_Lat\\Conversion_Tables' => $baseDir . '/classes/class-conversion-tables.php',
|
| 13 |
'Cyr_To_Lat\\Converter' => $baseDir . '/classes/class-converter.php',
|
|
|
|
| 14 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Async_Request' => $baseDir . '/lib/wp-background-processing/class-wp-async-request.php',
|
| 15 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Background_Process' => $baseDir . '/lib/wp-background-processing/class-wp-background-process.php',
|
| 16 |
'Cyr_To_Lat\\Main' => $baseDir . '/classes/class-main.php',
|
|
@@ -20,4 +24,624 @@ return array(
|
|
| 20 |
'Cyr_To_Lat\\Symfony\\Polyfill\\Mbstring\\Mbstring' => $baseDir . '/lib/polyfill-mbstring/Mbstring.php',
|
| 21 |
'Cyr_To_Lat\\Term_Conversion_Process' => $baseDir . '/classes/background-processes/class-term-conversion-process.php',
|
| 22 |
'Cyr_To_Lat\\WP_CLI' => $baseDir . '/classes/class-wp-cli.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
);
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
| 9 |
+
'ArithmeticError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php',
|
| 10 |
+
'AssertionError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php',
|
| 11 |
+
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
|
| 12 |
'Cyr_To_Lat\\ACF' => $baseDir . '/classes/class-acf.php',
|
| 13 |
'Cyr_To_Lat\\Admin_Notices' => $baseDir . '/classes/class-admin-notices.php',
|
| 14 |
'Cyr_To_Lat\\Conversion_Process' => $baseDir . '/classes/background-processes/class-conversion-process.php',
|
| 15 |
'Cyr_To_Lat\\Conversion_Tables' => $baseDir . '/classes/class-conversion-tables.php',
|
| 16 |
'Cyr_To_Lat\\Converter' => $baseDir . '/classes/class-converter.php',
|
| 17 |
+
'Cyr_To_Lat\\Cyr_To_Lat_TestCase' => $baseDir . '/tests/phpunit/classes/class-cyr-to-lat-testcase.php',
|
| 18 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Async_Request' => $baseDir . '/lib/wp-background-processing/class-wp-async-request.php',
|
| 19 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Background_Process' => $baseDir . '/lib/wp-background-processing/class-wp-background-process.php',
|
| 20 |
'Cyr_To_Lat\\Main' => $baseDir . '/classes/class-main.php',
|
| 24 |
'Cyr_To_Lat\\Symfony\\Polyfill\\Mbstring\\Mbstring' => $baseDir . '/lib/polyfill-mbstring/Mbstring.php',
|
| 25 |
'Cyr_To_Lat\\Term_Conversion_Process' => $baseDir . '/classes/background-processes/class-term-conversion-process.php',
|
| 26 |
'Cyr_To_Lat\\WP_CLI' => $baseDir . '/classes/class-wp-cli.php',
|
| 27 |
+
'DivisionByZeroError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php',
|
| 28 |
+
'Error' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/Error.php',
|
| 29 |
+
'File_Iterator' => $vendorDir . '/phpunit/php-file-iterator/src/Iterator.php',
|
| 30 |
+
'File_Iterator_Facade' => $vendorDir . '/phpunit/php-file-iterator/src/Facade.php',
|
| 31 |
+
'File_Iterator_Factory' => $vendorDir . '/phpunit/php-file-iterator/src/Factory.php',
|
| 32 |
+
'Hamcrest\\Arrays\\IsArray' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArray.php',
|
| 33 |
+
'Hamcrest\\Arrays\\IsArrayContaining' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContaining.php',
|
| 34 |
+
'Hamcrest\\Arrays\\IsArrayContainingInAnyOrder' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingInAnyOrder.php',
|
| 35 |
+
'Hamcrest\\Arrays\\IsArrayContainingInOrder' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingInOrder.php',
|
| 36 |
+
'Hamcrest\\Arrays\\IsArrayContainingKey' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingKey.php',
|
| 37 |
+
'Hamcrest\\Arrays\\IsArrayContainingKeyValuePair' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingKeyValuePair.php',
|
| 38 |
+
'Hamcrest\\Arrays\\IsArrayWithSize' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayWithSize.php',
|
| 39 |
+
'Hamcrest\\Arrays\\MatchingOnce' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/MatchingOnce.php',
|
| 40 |
+
'Hamcrest\\Arrays\\SeriesMatchingOnce' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/SeriesMatchingOnce.php',
|
| 41 |
+
'Hamcrest\\AssertionError' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/AssertionError.php',
|
| 42 |
+
'Hamcrest\\BaseDescription' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseDescription.php',
|
| 43 |
+
'Hamcrest\\BaseMatcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseMatcher.php',
|
| 44 |
+
'Hamcrest\\Collection\\IsEmptyTraversable' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Collection/IsEmptyTraversable.php',
|
| 45 |
+
'Hamcrest\\Collection\\IsTraversableWithSize' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Collection/IsTraversableWithSize.php',
|
| 46 |
+
'Hamcrest\\Core\\AllOf' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/AllOf.php',
|
| 47 |
+
'Hamcrest\\Core\\AnyOf' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/AnyOf.php',
|
| 48 |
+
'Hamcrest\\Core\\CombinableMatcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/CombinableMatcher.php',
|
| 49 |
+
'Hamcrest\\Core\\DescribedAs' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/DescribedAs.php',
|
| 50 |
+
'Hamcrest\\Core\\Every' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Every.php',
|
| 51 |
+
'Hamcrest\\Core\\HasToString' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/HasToString.php',
|
| 52 |
+
'Hamcrest\\Core\\Is' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Is.php',
|
| 53 |
+
'Hamcrest\\Core\\IsAnything' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsAnything.php',
|
| 54 |
+
'Hamcrest\\Core\\IsCollectionContaining' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsCollectionContaining.php',
|
| 55 |
+
'Hamcrest\\Core\\IsEqual' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsEqual.php',
|
| 56 |
+
'Hamcrest\\Core\\IsIdentical' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsIdentical.php',
|
| 57 |
+
'Hamcrest\\Core\\IsInstanceOf' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsInstanceOf.php',
|
| 58 |
+
'Hamcrest\\Core\\IsNot' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsNot.php',
|
| 59 |
+
'Hamcrest\\Core\\IsNull' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsNull.php',
|
| 60 |
+
'Hamcrest\\Core\\IsSame' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsSame.php',
|
| 61 |
+
'Hamcrest\\Core\\IsTypeOf' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsTypeOf.php',
|
| 62 |
+
'Hamcrest\\Core\\Set' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Set.php',
|
| 63 |
+
'Hamcrest\\Core\\ShortcutCombination' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/ShortcutCombination.php',
|
| 64 |
+
'Hamcrest\\Description' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Description.php',
|
| 65 |
+
'Hamcrest\\DiagnosingMatcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/DiagnosingMatcher.php',
|
| 66 |
+
'Hamcrest\\FeatureMatcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/FeatureMatcher.php',
|
| 67 |
+
'Hamcrest\\Internal\\SelfDescribingValue' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Internal/SelfDescribingValue.php',
|
| 68 |
+
'Hamcrest\\Matcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Matcher.php',
|
| 69 |
+
'Hamcrest\\MatcherAssert' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/MatcherAssert.php',
|
| 70 |
+
'Hamcrest\\Matchers' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Matchers.php',
|
| 71 |
+
'Hamcrest\\NullDescription' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/NullDescription.php',
|
| 72 |
+
'Hamcrest\\Number\\IsCloseTo' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Number/IsCloseTo.php',
|
| 73 |
+
'Hamcrest\\Number\\OrderingComparison' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Number/OrderingComparison.php',
|
| 74 |
+
'Hamcrest\\SelfDescribing' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/SelfDescribing.php',
|
| 75 |
+
'Hamcrest\\StringDescription' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/StringDescription.php',
|
| 76 |
+
'Hamcrest\\Text\\IsEmptyString' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEmptyString.php',
|
| 77 |
+
'Hamcrest\\Text\\IsEqualIgnoringCase' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEqualIgnoringCase.php',
|
| 78 |
+
'Hamcrest\\Text\\IsEqualIgnoringWhiteSpace' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEqualIgnoringWhiteSpace.php',
|
| 79 |
+
'Hamcrest\\Text\\MatchesPattern' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/MatchesPattern.php',
|
| 80 |
+
'Hamcrest\\Text\\StringContains' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContains.php',
|
| 81 |
+
'Hamcrest\\Text\\StringContainsIgnoringCase' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContainsIgnoringCase.php',
|
| 82 |
+
'Hamcrest\\Text\\StringContainsInOrder' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContainsInOrder.php',
|
| 83 |
+
'Hamcrest\\Text\\StringEndsWith' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringEndsWith.php',
|
| 84 |
+
'Hamcrest\\Text\\StringStartsWith' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringStartsWith.php',
|
| 85 |
+
'Hamcrest\\Text\\SubstringMatcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/SubstringMatcher.php',
|
| 86 |
+
'Hamcrest\\TypeSafeDiagnosingMatcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/TypeSafeDiagnosingMatcher.php',
|
| 87 |
+
'Hamcrest\\TypeSafeMatcher' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/TypeSafeMatcher.php',
|
| 88 |
+
'Hamcrest\\Type\\IsArray' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsArray.php',
|
| 89 |
+
'Hamcrest\\Type\\IsBoolean' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsBoolean.php',
|
| 90 |
+
'Hamcrest\\Type\\IsCallable' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsCallable.php',
|
| 91 |
+
'Hamcrest\\Type\\IsDouble' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsDouble.php',
|
| 92 |
+
'Hamcrest\\Type\\IsInteger' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsInteger.php',
|
| 93 |
+
'Hamcrest\\Type\\IsNumeric' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsNumeric.php',
|
| 94 |
+
'Hamcrest\\Type\\IsObject' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsObject.php',
|
| 95 |
+
'Hamcrest\\Type\\IsResource' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsResource.php',
|
| 96 |
+
'Hamcrest\\Type\\IsScalar' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsScalar.php',
|
| 97 |
+
'Hamcrest\\Type\\IsString' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php',
|
| 98 |
+
'Hamcrest\\Util' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php',
|
| 99 |
+
'Hamcrest\\Xml\\HasXPath' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php',
|
| 100 |
+
'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
|
| 101 |
+
'PHPUnit\\Exception' => $vendorDir . '/phpunit/phpunit/src/Exception.php',
|
| 102 |
+
'PHPUnit\\Framework\\Assert' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert.php',
|
| 103 |
+
'PHPUnit\\Framework\\AssertionFailedError' => $vendorDir . '/phpunit/phpunit/src/Framework/AssertionFailedError.php',
|
| 104 |
+
'PHPUnit\\Framework\\BaseTestListener' => $vendorDir . '/phpunit/phpunit/src/Framework/BaseTestListener.php',
|
| 105 |
+
'PHPUnit\\Framework\\CodeCoverageException' => $vendorDir . '/phpunit/phpunit/src/Framework/CodeCoverageException.php',
|
| 106 |
+
'PHPUnit\\Framework\\Constraint\\ArrayHasKey' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php',
|
| 107 |
+
'PHPUnit\\Framework\\Constraint\\ArraySubset' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php',
|
| 108 |
+
'PHPUnit\\Framework\\Constraint\\Attribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Attribute.php',
|
| 109 |
+
'PHPUnit\\Framework\\Constraint\\Callback' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Callback.php',
|
| 110 |
+
'PHPUnit\\Framework\\Constraint\\ClassHasAttribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php',
|
| 111 |
+
'PHPUnit\\Framework\\Constraint\\ClassHasStaticAttribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ClassHasStaticAttribute.php',
|
| 112 |
+
'PHPUnit\\Framework\\Constraint\\Composite' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Composite.php',
|
| 113 |
+
'PHPUnit\\Framework\\Constraint\\Constraint' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Constraint.php',
|
| 114 |
+
'PHPUnit\\Framework\\Constraint\\Count' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Count.php',
|
| 115 |
+
'PHPUnit\\Framework\\Constraint\\DirectoryExists' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/DirectoryExists.php',
|
| 116 |
+
'PHPUnit\\Framework\\Constraint\\Exception' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/Exception.php',
|
| 117 |
+
'PHPUnit\\Framework\\Constraint\\ExceptionCode' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ExceptionCode.php',
|
| 118 |
+
'PHPUnit\\Framework\\Constraint\\ExceptionMessage' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php',
|
| 119 |
+
'PHPUnit\\Framework\\Constraint\\ExceptionMessageRegularExpression' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegularExpression.php',
|
| 120 |
+
'PHPUnit\\Framework\\Constraint\\FileExists' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/FileExists.php',
|
| 121 |
+
'PHPUnit\\Framework\\Constraint\\GreaterThan' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php',
|
| 122 |
+
'PHPUnit\\Framework\\Constraint\\IsAnything' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsAnything.php',
|
| 123 |
+
'PHPUnit\\Framework\\Constraint\\IsEmpty' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php',
|
| 124 |
+
'PHPUnit\\Framework\\Constraint\\IsEqual' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsEqual.php',
|
| 125 |
+
'PHPUnit\\Framework\\Constraint\\IsFalse' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsFalse.php',
|
| 126 |
+
'PHPUnit\\Framework\\Constraint\\IsFinite' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsFinite.php',
|
| 127 |
+
'PHPUnit\\Framework\\Constraint\\IsIdentical' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php',
|
| 128 |
+
'PHPUnit\\Framework\\Constraint\\IsInfinite' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsInfinite.php',
|
| 129 |
+
'PHPUnit\\Framework\\Constraint\\IsInstanceOf' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php',
|
| 130 |
+
'PHPUnit\\Framework\\Constraint\\IsJson' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsJson.php',
|
| 131 |
+
'PHPUnit\\Framework\\Constraint\\IsNan' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsNan.php',
|
| 132 |
+
'PHPUnit\\Framework\\Constraint\\IsNull' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsNull.php',
|
| 133 |
+
'PHPUnit\\Framework\\Constraint\\IsReadable' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsReadable.php',
|
| 134 |
+
'PHPUnit\\Framework\\Constraint\\IsTrue' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsTrue.php',
|
| 135 |
+
'PHPUnit\\Framework\\Constraint\\IsType' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsType.php',
|
| 136 |
+
'PHPUnit\\Framework\\Constraint\\IsWritable' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/IsWritable.php',
|
| 137 |
+
'PHPUnit\\Framework\\Constraint\\JsonMatches' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php',
|
| 138 |
+
'PHPUnit\\Framework\\Constraint\\JsonMatchesErrorMessageProvider' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/JsonMatchesErrorMessageProvider.php',
|
| 139 |
+
'PHPUnit\\Framework\\Constraint\\LessThan' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LessThan.php',
|
| 140 |
+
'PHPUnit\\Framework\\Constraint\\LogicalAnd' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalAnd.php',
|
| 141 |
+
'PHPUnit\\Framework\\Constraint\\LogicalNot' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalNot.php',
|
| 142 |
+
'PHPUnit\\Framework\\Constraint\\LogicalOr' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalOr.php',
|
| 143 |
+
'PHPUnit\\Framework\\Constraint\\LogicalXor' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/LogicalXor.php',
|
| 144 |
+
'PHPUnit\\Framework\\Constraint\\ObjectHasAttribute' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/ObjectHasAttribute.php',
|
| 145 |
+
'PHPUnit\\Framework\\Constraint\\RegularExpression' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/RegularExpression.php',
|
| 146 |
+
'PHPUnit\\Framework\\Constraint\\SameSize' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/SameSize.php',
|
| 147 |
+
'PHPUnit\\Framework\\Constraint\\StringContains' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringContains.php',
|
| 148 |
+
'PHPUnit\\Framework\\Constraint\\StringEndsWith' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringEndsWith.php',
|
| 149 |
+
'PHPUnit\\Framework\\Constraint\\StringMatchesFormatDescription' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringMatchesFormatDescription.php',
|
| 150 |
+
'PHPUnit\\Framework\\Constraint\\StringStartsWith' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/StringStartsWith.php',
|
| 151 |
+
'PHPUnit\\Framework\\Constraint\\TraversableContains' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/TraversableContains.php',
|
| 152 |
+
'PHPUnit\\Framework\\Constraint\\TraversableContainsOnly' => $vendorDir . '/phpunit/phpunit/src/Framework/Constraint/TraversableContainsOnly.php',
|
| 153 |
+
'PHPUnit\\Framework\\CoveredCodeNotExecutedException' => $vendorDir . '/phpunit/phpunit/src/Framework/CoveredCodeNotExecutedException.php',
|
| 154 |
+
'PHPUnit\\Framework\\DataProviderTestSuite' => $vendorDir . '/phpunit/phpunit/src/Framework/DataProviderTestSuite.php',
|
| 155 |
+
'PHPUnit\\Framework\\Error\\Deprecated' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Deprecated.php',
|
| 156 |
+
'PHPUnit\\Framework\\Error\\Error' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Error.php',
|
| 157 |
+
'PHPUnit\\Framework\\Error\\Notice' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Notice.php',
|
| 158 |
+
'PHPUnit\\Framework\\Error\\Warning' => $vendorDir . '/phpunit/phpunit/src/Framework/Error/Warning.php',
|
| 159 |
+
'PHPUnit\\Framework\\Exception' => $vendorDir . '/phpunit/phpunit/src/Framework/Exception.php',
|
| 160 |
+
'PHPUnit\\Framework\\ExceptionWrapper' => $vendorDir . '/phpunit/phpunit/src/Framework/ExceptionWrapper.php',
|
| 161 |
+
'PHPUnit\\Framework\\ExpectationFailedException' => $vendorDir . '/phpunit/phpunit/src/Framework/ExpectationFailedException.php',
|
| 162 |
+
'PHPUnit\\Framework\\IncompleteTest' => $vendorDir . '/phpunit/phpunit/src/Framework/IncompleteTest.php',
|
| 163 |
+
'PHPUnit\\Framework\\IncompleteTestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/IncompleteTestCase.php',
|
| 164 |
+
'PHPUnit\\Framework\\IncompleteTestError' => $vendorDir . '/phpunit/phpunit/src/Framework/IncompleteTestError.php',
|
| 165 |
+
'PHPUnit\\Framework\\InvalidCoversTargetException' => $vendorDir . '/phpunit/phpunit/src/Framework/InvalidCoversTargetException.php',
|
| 166 |
+
'PHPUnit\\Framework\\MissingCoversAnnotationException' => $vendorDir . '/phpunit/phpunit/src/Framework/MissingCoversAnnotationException.php',
|
| 167 |
+
'PHPUnit\\Framework\\MockObject\\BadMethodCallException' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Exception/BadMethodCallException.php',
|
| 168 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\Identity' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/Identity.php',
|
| 169 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\InvocationMocker' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/InvocationMocker.php',
|
| 170 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\Match' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/Match.php',
|
| 171 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\MethodNameMatch' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/MethodNameMatch.php',
|
| 172 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\NamespaceMatch' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/NamespaceMatch.php',
|
| 173 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\ParametersMatch' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/ParametersMatch.php',
|
| 174 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\Stub' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Builder/Stub.php',
|
| 175 |
+
'PHPUnit\\Framework\\MockObject\\Exception' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Exception/Exception.php',
|
| 176 |
+
'PHPUnit\\Framework\\MockObject\\Generator' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Generator.php',
|
| 177 |
+
'PHPUnit\\Framework\\MockObject\\Invocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invocation/Invocation.php',
|
| 178 |
+
'PHPUnit\\Framework\\MockObject\\InvocationMocker' => $vendorDir . '/phpunit/phpunit-mock-objects/src/InvocationMocker.php',
|
| 179 |
+
'PHPUnit\\Framework\\MockObject\\Invocation\\ObjectInvocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invocation/ObjectInvocation.php',
|
| 180 |
+
'PHPUnit\\Framework\\MockObject\\Invocation\\StaticInvocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invocation/StaticInvocation.php',
|
| 181 |
+
'PHPUnit\\Framework\\MockObject\\Invokable' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Invokable.php',
|
| 182 |
+
'PHPUnit\\Framework\\MockObject\\Matcher' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher.php',
|
| 183 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\AnyInvokedCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/AnyInvokedCount.php',
|
| 184 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\AnyParameters' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/AnyParameters.php',
|
| 185 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\ConsecutiveParameters' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/ConsecutiveParameters.php',
|
| 186 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\Invocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/Invocation.php',
|
| 187 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtIndex' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtIndex.php',
|
| 188 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtLeastCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtLeastCount.php',
|
| 189 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtLeastOnce' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtLeastOnce.php',
|
| 190 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtMostCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtMostCount.php',
|
| 191 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedCount' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedCount.php',
|
| 192 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedRecorder' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedRecorder.php',
|
| 193 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\MethodName' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/MethodName.php',
|
| 194 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\Parameters' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/Parameters.php',
|
| 195 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\StatelessInvocation' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Matcher/StatelessInvocation.php',
|
| 196 |
+
'PHPUnit\\Framework\\MockObject\\MockBuilder' => $vendorDir . '/phpunit/phpunit-mock-objects/src/MockBuilder.php',
|
| 197 |
+
'PHPUnit\\Framework\\MockObject\\MockObject' => $vendorDir . '/phpunit/phpunit-mock-objects/src/ForwardCompatibility/MockObject.php',
|
| 198 |
+
'PHPUnit\\Framework\\MockObject\\RuntimeException' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Exception/RuntimeException.php',
|
| 199 |
+
'PHPUnit\\Framework\\MockObject\\Stub' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub.php',
|
| 200 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ConsecutiveCalls' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ConsecutiveCalls.php',
|
| 201 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\Exception' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/Exception.php',
|
| 202 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\MatcherCollection' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/MatcherCollection.php',
|
| 203 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnArgument' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnArgument.php',
|
| 204 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnCallback' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnCallback.php',
|
| 205 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnReference' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnReference.php',
|
| 206 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnSelf' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnSelf.php',
|
| 207 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnStub' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnStub.php',
|
| 208 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnValueMap' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Stub/ReturnValueMap.php',
|
| 209 |
+
'PHPUnit\\Framework\\MockObject\\Verifiable' => $vendorDir . '/phpunit/phpunit-mock-objects/src/Verifiable.php',
|
| 210 |
+
'PHPUnit\\Framework\\OutputError' => $vendorDir . '/phpunit/phpunit/src/Framework/OutputError.php',
|
| 211 |
+
'PHPUnit\\Framework\\RiskyTest' => $vendorDir . '/phpunit/phpunit/src/Framework/RiskyTest.php',
|
| 212 |
+
'PHPUnit\\Framework\\RiskyTestError' => $vendorDir . '/phpunit/phpunit/src/Framework/RiskyTestError.php',
|
| 213 |
+
'PHPUnit\\Framework\\SelfDescribing' => $vendorDir . '/phpunit/phpunit/src/Framework/SelfDescribing.php',
|
| 214 |
+
'PHPUnit\\Framework\\SkippedTest' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTest.php',
|
| 215 |
+
'PHPUnit\\Framework\\SkippedTestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTestCase.php',
|
| 216 |
+
'PHPUnit\\Framework\\SkippedTestError' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTestError.php',
|
| 217 |
+
'PHPUnit\\Framework\\SkippedTestSuiteError' => $vendorDir . '/phpunit/phpunit/src/Framework/SkippedTestSuiteError.php',
|
| 218 |
+
'PHPUnit\\Framework\\SyntheticError' => $vendorDir . '/phpunit/phpunit/src/Framework/SyntheticError.php',
|
| 219 |
+
'PHPUnit\\Framework\\Test' => $vendorDir . '/phpunit/phpunit/src/Framework/Test.php',
|
| 220 |
+
'PHPUnit\\Framework\\TestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/TestCase.php',
|
| 221 |
+
'PHPUnit\\Framework\\TestFailure' => $vendorDir . '/phpunit/phpunit/src/Framework/TestFailure.php',
|
| 222 |
+
'PHPUnit\\Framework\\TestListener' => $vendorDir . '/phpunit/phpunit/src/Framework/TestListener.php',
|
| 223 |
+
'PHPUnit\\Framework\\TestListenerDefaultImplementation' => $vendorDir . '/phpunit/phpunit/src/Framework/TestListenerDefaultImplementation.php',
|
| 224 |
+
'PHPUnit\\Framework\\TestResult' => $vendorDir . '/phpunit/phpunit/src/Framework/TestResult.php',
|
| 225 |
+
'PHPUnit\\Framework\\TestSuite' => $vendorDir . '/phpunit/phpunit/src/Framework/TestSuite.php',
|
| 226 |
+
'PHPUnit\\Framework\\TestSuiteIterator' => $vendorDir . '/phpunit/phpunit/src/Framework/TestSuiteIterator.php',
|
| 227 |
+
'PHPUnit\\Framework\\UnintentionallyCoveredCodeError' => $vendorDir . '/phpunit/phpunit/src/Framework/UnintentionallyCoveredCodeError.php',
|
| 228 |
+
'PHPUnit\\Framework\\Warning' => $vendorDir . '/phpunit/phpunit/src/Framework/Warning.php',
|
| 229 |
+
'PHPUnit\\Framework\\WarningTestCase' => $vendorDir . '/phpunit/phpunit/src/Framework/WarningTestCase.php',
|
| 230 |
+
'PHPUnit\\Runner\\BaseTestRunner' => $vendorDir . '/phpunit/phpunit/src/Runner/BaseTestRunner.php',
|
| 231 |
+
'PHPUnit\\Runner\\Exception' => $vendorDir . '/phpunit/phpunit/src/Runner/Exception.php',
|
| 232 |
+
'PHPUnit\\Runner\\Filter\\ExcludeGroupFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/ExcludeGroupFilterIterator.php',
|
| 233 |
+
'PHPUnit\\Runner\\Filter\\Factory' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/Factory.php',
|
| 234 |
+
'PHPUnit\\Runner\\Filter\\GroupFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/GroupFilterIterator.php',
|
| 235 |
+
'PHPUnit\\Runner\\Filter\\IncludeGroupFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/IncludeGroupFilterIterator.php',
|
| 236 |
+
'PHPUnit\\Runner\\Filter\\NameFilterIterator' => $vendorDir . '/phpunit/phpunit/src/Runner/Filter/NameFilterIterator.php',
|
| 237 |
+
'PHPUnit\\Runner\\PhptTestCase' => $vendorDir . '/phpunit/phpunit/src/Runner/PhptTestCase.php',
|
| 238 |
+
'PHPUnit\\Runner\\StandardTestSuiteLoader' => $vendorDir . '/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php',
|
| 239 |
+
'PHPUnit\\Runner\\TestSuiteLoader' => $vendorDir . '/phpunit/phpunit/src/Runner/TestSuiteLoader.php',
|
| 240 |
+
'PHPUnit\\Runner\\Version' => $vendorDir . '/phpunit/phpunit/src/Runner/Version.php',
|
| 241 |
+
'PHPUnit\\TextUI\\Command' => $vendorDir . '/phpunit/phpunit/src/TextUI/Command.php',
|
| 242 |
+
'PHPUnit\\TextUI\\ResultPrinter' => $vendorDir . '/phpunit/phpunit/src/TextUI/ResultPrinter.php',
|
| 243 |
+
'PHPUnit\\TextUI\\TestRunner' => $vendorDir . '/phpunit/phpunit/src/TextUI/TestRunner.php',
|
| 244 |
+
'PHPUnit\\Util\\Blacklist' => $vendorDir . '/phpunit/phpunit/src/Util/Blacklist.php',
|
| 245 |
+
'PHPUnit\\Util\\Configuration' => $vendorDir . '/phpunit/phpunit/src/Util/Configuration.php',
|
| 246 |
+
'PHPUnit\\Util\\ConfigurationGenerator' => $vendorDir . '/phpunit/phpunit/src/Util/ConfigurationGenerator.php',
|
| 247 |
+
'PHPUnit\\Util\\ErrorHandler' => $vendorDir . '/phpunit/phpunit/src/Util/ErrorHandler.php',
|
| 248 |
+
'PHPUnit\\Util\\Fileloader' => $vendorDir . '/phpunit/phpunit/src/Util/Fileloader.php',
|
| 249 |
+
'PHPUnit\\Util\\Filesystem' => $vendorDir . '/phpunit/phpunit/src/Util/Filesystem.php',
|
| 250 |
+
'PHPUnit\\Util\\Filter' => $vendorDir . '/phpunit/phpunit/src/Util/Filter.php',
|
| 251 |
+
'PHPUnit\\Util\\Getopt' => $vendorDir . '/phpunit/phpunit/src/Util/Getopt.php',
|
| 252 |
+
'PHPUnit\\Util\\GlobalState' => $vendorDir . '/phpunit/phpunit/src/Util/GlobalState.php',
|
| 253 |
+
'PHPUnit\\Util\\InvalidArgumentHelper' => $vendorDir . '/phpunit/phpunit/src/Util/InvalidArgumentHelper.php',
|
| 254 |
+
'PHPUnit\\Util\\Json' => $vendorDir . '/phpunit/phpunit/src/Util/Json.php',
|
| 255 |
+
'PHPUnit\\Util\\Log\\JUnit' => $vendorDir . '/phpunit/phpunit/src/Util/Log/JUnit.php',
|
| 256 |
+
'PHPUnit\\Util\\Log\\TeamCity' => $vendorDir . '/phpunit/phpunit/src/Util/Log/TeamCity.php',
|
| 257 |
+
'PHPUnit\\Util\\PHP\\AbstractPhpProcess' => $vendorDir . '/phpunit/phpunit/src/Util/PHP/AbstractPhpProcess.php',
|
| 258 |
+
'PHPUnit\\Util\\PHP\\DefaultPhpProcess' => $vendorDir . '/phpunit/phpunit/src/Util/PHP/DefaultPhpProcess.php',
|
| 259 |
+
'PHPUnit\\Util\\PHP\\WindowsPhpProcess' => $vendorDir . '/phpunit/phpunit/src/Util/PHP/WindowsPhpProcess.php',
|
| 260 |
+
'PHPUnit\\Util\\Printer' => $vendorDir . '/phpunit/phpunit/src/Util/Printer.php',
|
| 261 |
+
'PHPUnit\\Util\\RegularExpression' => $vendorDir . '/phpunit/phpunit/src/Util/RegularExpression.php',
|
| 262 |
+
'PHPUnit\\Util\\Test' => $vendorDir . '/phpunit/phpunit/src/Util/Test.php',
|
| 263 |
+
'PHPUnit\\Util\\TestDox\\HtmlResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/HtmlResultPrinter.php',
|
| 264 |
+
'PHPUnit\\Util\\TestDox\\NamePrettifier' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/NamePrettifier.php',
|
| 265 |
+
'PHPUnit\\Util\\TestDox\\ResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php',
|
| 266 |
+
'PHPUnit\\Util\\TestDox\\TextResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/TextResultPrinter.php',
|
| 267 |
+
'PHPUnit\\Util\\TestDox\\XmlResultPrinter' => $vendorDir . '/phpunit/phpunit/src/Util/TestDox/XmlResultPrinter.php',
|
| 268 |
+
'PHPUnit\\Util\\TextTestListRenderer' => $vendorDir . '/phpunit/phpunit/src/Util/TextTestListRenderer.php',
|
| 269 |
+
'PHPUnit\\Util\\Type' => $vendorDir . '/phpunit/phpunit/src/Util/Type.php',
|
| 270 |
+
'PHPUnit\\Util\\Xml' => $vendorDir . '/phpunit/phpunit/src/Util/Xml.php',
|
| 271 |
+
'PHPUnit\\Util\\XmlTestListRenderer' => $vendorDir . '/phpunit/phpunit/src/Util/XmlTestListRenderer.php',
|
| 272 |
+
'PHPUnit_Framework_MockObject_MockObject' => $vendorDir . '/phpunit/phpunit-mock-objects/src/MockObject.php',
|
| 273 |
+
'PHP_Timer' => $vendorDir . '/phpunit/php-timer/src/Timer.php',
|
| 274 |
+
'PHP_Token' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 275 |
+
'PHP_TokenWithScope' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 276 |
+
'PHP_TokenWithScopeAndVisibility' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 277 |
+
'PHP_Token_ABSTRACT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 278 |
+
'PHP_Token_AMPERSAND' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 279 |
+
'PHP_Token_AND_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 280 |
+
'PHP_Token_ARRAY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 281 |
+
'PHP_Token_ARRAY_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 282 |
+
'PHP_Token_AS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 283 |
+
'PHP_Token_ASYNC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 284 |
+
'PHP_Token_AT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 285 |
+
'PHP_Token_AWAIT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 286 |
+
'PHP_Token_BACKTICK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 287 |
+
'PHP_Token_BAD_CHARACTER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 288 |
+
'PHP_Token_BOOLEAN_AND' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 289 |
+
'PHP_Token_BOOLEAN_OR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 290 |
+
'PHP_Token_BOOL_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 291 |
+
'PHP_Token_BREAK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 292 |
+
'PHP_Token_CALLABLE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 293 |
+
'PHP_Token_CARET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 294 |
+
'PHP_Token_CASE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 295 |
+
'PHP_Token_CATCH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 296 |
+
'PHP_Token_CHARACTER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 297 |
+
'PHP_Token_CLASS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 298 |
+
'PHP_Token_CLASS_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 299 |
+
'PHP_Token_CLASS_NAME_CONSTANT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 300 |
+
'PHP_Token_CLONE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 301 |
+
'PHP_Token_CLOSE_BRACKET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 302 |
+
'PHP_Token_CLOSE_CURLY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 303 |
+
'PHP_Token_CLOSE_SQUARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 304 |
+
'PHP_Token_CLOSE_TAG' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 305 |
+
'PHP_Token_COALESCE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 306 |
+
'PHP_Token_COLON' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 307 |
+
'PHP_Token_COMMA' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 308 |
+
'PHP_Token_COMMENT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 309 |
+
'PHP_Token_COMPILER_HALT_OFFSET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 310 |
+
'PHP_Token_CONCAT_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 311 |
+
'PHP_Token_CONST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 312 |
+
'PHP_Token_CONSTANT_ENCAPSED_STRING' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 313 |
+
'PHP_Token_CONTINUE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 314 |
+
'PHP_Token_CURLY_OPEN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 315 |
+
'PHP_Token_DEC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 316 |
+
'PHP_Token_DECLARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 317 |
+
'PHP_Token_DEFAULT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 318 |
+
'PHP_Token_DIR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 319 |
+
'PHP_Token_DIV' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 320 |
+
'PHP_Token_DIV_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 321 |
+
'PHP_Token_DNUMBER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 322 |
+
'PHP_Token_DO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 323 |
+
'PHP_Token_DOC_COMMENT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 324 |
+
'PHP_Token_DOLLAR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 325 |
+
'PHP_Token_DOLLAR_OPEN_CURLY_BRACES' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 326 |
+
'PHP_Token_DOT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 327 |
+
'PHP_Token_DOUBLE_ARROW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 328 |
+
'PHP_Token_DOUBLE_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 329 |
+
'PHP_Token_DOUBLE_COLON' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 330 |
+
'PHP_Token_DOUBLE_QUOTES' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 331 |
+
'PHP_Token_ECHO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 332 |
+
'PHP_Token_ELLIPSIS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 333 |
+
'PHP_Token_ELSE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 334 |
+
'PHP_Token_ELSEIF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 335 |
+
'PHP_Token_EMPTY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 336 |
+
'PHP_Token_ENCAPSED_AND_WHITESPACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 337 |
+
'PHP_Token_ENDDECLARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 338 |
+
'PHP_Token_ENDFOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 339 |
+
'PHP_Token_ENDFOREACH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 340 |
+
'PHP_Token_ENDIF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 341 |
+
'PHP_Token_ENDSWITCH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 342 |
+
'PHP_Token_ENDWHILE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 343 |
+
'PHP_Token_END_HEREDOC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 344 |
+
'PHP_Token_ENUM' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 345 |
+
'PHP_Token_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 346 |
+
'PHP_Token_EQUALS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 347 |
+
'PHP_Token_EVAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 348 |
+
'PHP_Token_EXCLAMATION_MARK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 349 |
+
'PHP_Token_EXIT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 350 |
+
'PHP_Token_EXTENDS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 351 |
+
'PHP_Token_FILE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 352 |
+
'PHP_Token_FINAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 353 |
+
'PHP_Token_FINALLY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 354 |
+
'PHP_Token_FOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 355 |
+
'PHP_Token_FOREACH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 356 |
+
'PHP_Token_FUNCTION' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 357 |
+
'PHP_Token_FUNC_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 358 |
+
'PHP_Token_GLOBAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 359 |
+
'PHP_Token_GOTO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 360 |
+
'PHP_Token_GT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 361 |
+
'PHP_Token_HALT_COMPILER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 362 |
+
'PHP_Token_IF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 363 |
+
'PHP_Token_IMPLEMENTS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 364 |
+
'PHP_Token_IN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 365 |
+
'PHP_Token_INC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 366 |
+
'PHP_Token_INCLUDE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 367 |
+
'PHP_Token_INCLUDE_ONCE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 368 |
+
'PHP_Token_INLINE_HTML' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 369 |
+
'PHP_Token_INSTANCEOF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 370 |
+
'PHP_Token_INSTEADOF' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 371 |
+
'PHP_Token_INTERFACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 372 |
+
'PHP_Token_INT_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 373 |
+
'PHP_Token_ISSET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 374 |
+
'PHP_Token_IS_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 375 |
+
'PHP_Token_IS_GREATER_OR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 376 |
+
'PHP_Token_IS_IDENTICAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 377 |
+
'PHP_Token_IS_NOT_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 378 |
+
'PHP_Token_IS_NOT_IDENTICAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 379 |
+
'PHP_Token_IS_SMALLER_OR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 380 |
+
'PHP_Token_Includes' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 381 |
+
'PHP_Token_JOIN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 382 |
+
'PHP_Token_LAMBDA_ARROW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 383 |
+
'PHP_Token_LAMBDA_CP' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 384 |
+
'PHP_Token_LAMBDA_OP' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 385 |
+
'PHP_Token_LINE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 386 |
+
'PHP_Token_LIST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 387 |
+
'PHP_Token_LNUMBER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 388 |
+
'PHP_Token_LOGICAL_AND' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 389 |
+
'PHP_Token_LOGICAL_OR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 390 |
+
'PHP_Token_LOGICAL_XOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 391 |
+
'PHP_Token_LT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 392 |
+
'PHP_Token_METHOD_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 393 |
+
'PHP_Token_MINUS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 394 |
+
'PHP_Token_MINUS_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 395 |
+
'PHP_Token_MOD_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 396 |
+
'PHP_Token_MULT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 397 |
+
'PHP_Token_MUL_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 398 |
+
'PHP_Token_NAMESPACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 399 |
+
'PHP_Token_NEW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 400 |
+
'PHP_Token_NS_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 401 |
+
'PHP_Token_NS_SEPARATOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 402 |
+
'PHP_Token_NULLSAFE_OBJECT_OPERATOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 403 |
+
'PHP_Token_NUM_STRING' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 404 |
+
'PHP_Token_OBJECT_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 405 |
+
'PHP_Token_OBJECT_OPERATOR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 406 |
+
'PHP_Token_ONUMBER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 407 |
+
'PHP_Token_OPEN_BRACKET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 408 |
+
'PHP_Token_OPEN_CURLY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 409 |
+
'PHP_Token_OPEN_SQUARE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 410 |
+
'PHP_Token_OPEN_TAG' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 411 |
+
'PHP_Token_OPEN_TAG_WITH_ECHO' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 412 |
+
'PHP_Token_OR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 413 |
+
'PHP_Token_PAAMAYIM_NEKUDOTAYIM' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 414 |
+
'PHP_Token_PERCENT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 415 |
+
'PHP_Token_PIPE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 416 |
+
'PHP_Token_PLUS' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 417 |
+
'PHP_Token_PLUS_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 418 |
+
'PHP_Token_POW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 419 |
+
'PHP_Token_POW_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 420 |
+
'PHP_Token_PRINT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 421 |
+
'PHP_Token_PRIVATE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 422 |
+
'PHP_Token_PROTECTED' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 423 |
+
'PHP_Token_PUBLIC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 424 |
+
'PHP_Token_QUESTION_MARK' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 425 |
+
'PHP_Token_REQUIRE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 426 |
+
'PHP_Token_REQUIRE_ONCE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 427 |
+
'PHP_Token_RETURN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 428 |
+
'PHP_Token_SEMICOLON' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 429 |
+
'PHP_Token_SHAPE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 430 |
+
'PHP_Token_SL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 431 |
+
'PHP_Token_SL_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 432 |
+
'PHP_Token_SPACESHIP' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 433 |
+
'PHP_Token_SR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 434 |
+
'PHP_Token_SR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 435 |
+
'PHP_Token_START_HEREDOC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 436 |
+
'PHP_Token_STATIC' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 437 |
+
'PHP_Token_STRING' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 438 |
+
'PHP_Token_STRING_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 439 |
+
'PHP_Token_STRING_VARNAME' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 440 |
+
'PHP_Token_SUPER' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 441 |
+
'PHP_Token_SWITCH' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 442 |
+
'PHP_Token_Stream' => $vendorDir . '/phpunit/php-token-stream/src/Token/Stream.php',
|
| 443 |
+
'PHP_Token_Stream_CachingFactory' => $vendorDir . '/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php',
|
| 444 |
+
'PHP_Token_THROW' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 445 |
+
'PHP_Token_TILDE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 446 |
+
'PHP_Token_TRAIT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 447 |
+
'PHP_Token_TRAIT_C' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 448 |
+
'PHP_Token_TRY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 449 |
+
'PHP_Token_TYPE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 450 |
+
'PHP_Token_TYPELIST_GT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 451 |
+
'PHP_Token_TYPELIST_LT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 452 |
+
'PHP_Token_UNSET' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 453 |
+
'PHP_Token_UNSET_CAST' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 454 |
+
'PHP_Token_USE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 455 |
+
'PHP_Token_USE_FUNCTION' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 456 |
+
'PHP_Token_VAR' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 457 |
+
'PHP_Token_VARIABLE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 458 |
+
'PHP_Token_WHERE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 459 |
+
'PHP_Token_WHILE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 460 |
+
'PHP_Token_WHITESPACE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 461 |
+
'PHP_Token_XHP_ATTRIBUTE' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 462 |
+
'PHP_Token_XHP_CATEGORY' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 463 |
+
'PHP_Token_XHP_CATEGORY_LABEL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 464 |
+
'PHP_Token_XHP_CHILDREN' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 465 |
+
'PHP_Token_XHP_LABEL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 466 |
+
'PHP_Token_XHP_REQUIRED' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 467 |
+
'PHP_Token_XHP_TAG_GT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 468 |
+
'PHP_Token_XHP_TAG_LT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 469 |
+
'PHP_Token_XHP_TEXT' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 470 |
+
'PHP_Token_XOR_EQUAL' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 471 |
+
'PHP_Token_YIELD' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 472 |
+
'PHP_Token_YIELD_FROM' => $vendorDir . '/phpunit/php-token-stream/src/Token.php',
|
| 473 |
+
'ParseError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
|
| 474 |
+
'PharIo\\Manifest\\Application' => $vendorDir . '/phar-io/manifest/src/values/Application.php',
|
| 475 |
+
'PharIo\\Manifest\\ApplicationName' => $vendorDir . '/phar-io/manifest/src/values/ApplicationName.php',
|
| 476 |
+
'PharIo\\Manifest\\Author' => $vendorDir . '/phar-io/manifest/src/values/Author.php',
|
| 477 |
+
'PharIo\\Manifest\\AuthorCollection' => $vendorDir . '/phar-io/manifest/src/values/AuthorCollection.php',
|
| 478 |
+
'PharIo\\Manifest\\AuthorCollectionIterator' => $vendorDir . '/phar-io/manifest/src/values/AuthorCollectionIterator.php',
|
| 479 |
+
'PharIo\\Manifest\\AuthorElement' => $vendorDir . '/phar-io/manifest/src/xml/AuthorElement.php',
|
| 480 |
+
'PharIo\\Manifest\\AuthorElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/AuthorElementCollection.php',
|
| 481 |
+
'PharIo\\Manifest\\BundledComponent' => $vendorDir . '/phar-io/manifest/src/values/BundledComponent.php',
|
| 482 |
+
'PharIo\\Manifest\\BundledComponentCollection' => $vendorDir . '/phar-io/manifest/src/values/BundledComponentCollection.php',
|
| 483 |
+
'PharIo\\Manifest\\BundledComponentCollectionIterator' => $vendorDir . '/phar-io/manifest/src/values/BundledComponentCollectionIterator.php',
|
| 484 |
+
'PharIo\\Manifest\\BundlesElement' => $vendorDir . '/phar-io/manifest/src/xml/BundlesElement.php',
|
| 485 |
+
'PharIo\\Manifest\\ComponentElement' => $vendorDir . '/phar-io/manifest/src/xml/ComponentElement.php',
|
| 486 |
+
'PharIo\\Manifest\\ComponentElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/ComponentElementCollection.php',
|
| 487 |
+
'PharIo\\Manifest\\ContainsElement' => $vendorDir . '/phar-io/manifest/src/xml/ContainsElement.php',
|
| 488 |
+
'PharIo\\Manifest\\CopyrightElement' => $vendorDir . '/phar-io/manifest/src/xml/CopyrightElement.php',
|
| 489 |
+
'PharIo\\Manifest\\CopyrightInformation' => $vendorDir . '/phar-io/manifest/src/values/CopyrightInformation.php',
|
| 490 |
+
'PharIo\\Manifest\\ElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/ElementCollection.php',
|
| 491 |
+
'PharIo\\Manifest\\Email' => $vendorDir . '/phar-io/manifest/src/values/Email.php',
|
| 492 |
+
'PharIo\\Manifest\\Exception' => $vendorDir . '/phar-io/manifest/src/exceptions/Exception.php',
|
| 493 |
+
'PharIo\\Manifest\\ExtElement' => $vendorDir . '/phar-io/manifest/src/xml/ExtElement.php',
|
| 494 |
+
'PharIo\\Manifest\\ExtElementCollection' => $vendorDir . '/phar-io/manifest/src/xml/ExtElementCollection.php',
|
| 495 |
+
'PharIo\\Manifest\\Extension' => $vendorDir . '/phar-io/manifest/src/values/Extension.php',
|
| 496 |
+
'PharIo\\Manifest\\ExtensionElement' => $vendorDir . '/phar-io/manifest/src/xml/ExtensionElement.php',
|
| 497 |
+
'PharIo\\Manifest\\InvalidApplicationNameException' => $vendorDir . '/phar-io/manifest/src/exceptions/InvalidApplicationNameException.php',
|
| 498 |
+
'PharIo\\Manifest\\InvalidEmailException' => $vendorDir . '/phar-io/manifest/src/exceptions/InvalidEmailException.php',
|
| 499 |
+
'PharIo\\Manifest\\InvalidUrlException' => $vendorDir . '/phar-io/manifest/src/exceptions/InvalidUrlException.php',
|
| 500 |
+
'PharIo\\Manifest\\Library' => $vendorDir . '/phar-io/manifest/src/values/Library.php',
|
| 501 |
+
'PharIo\\Manifest\\License' => $vendorDir . '/phar-io/manifest/src/values/License.php',
|
| 502 |
+
'PharIo\\Manifest\\LicenseElement' => $vendorDir . '/phar-io/manifest/src/xml/LicenseElement.php',
|
| 503 |
+
'PharIo\\Manifest\\Manifest' => $vendorDir . '/phar-io/manifest/src/values/Manifest.php',
|
| 504 |
+
'PharIo\\Manifest\\ManifestDocument' => $vendorDir . '/phar-io/manifest/src/xml/ManifestDocument.php',
|
| 505 |
+
'PharIo\\Manifest\\ManifestDocumentException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestDocumentException.php',
|
| 506 |
+
'PharIo\\Manifest\\ManifestDocumentLoadingException' => $vendorDir . '/phar-io/manifest/src/xml/ManifestDocumentLoadingException.php',
|
| 507 |
+
'PharIo\\Manifest\\ManifestDocumentMapper' => $vendorDir . '/phar-io/manifest/src/ManifestDocumentMapper.php',
|
| 508 |
+
'PharIo\\Manifest\\ManifestDocumentMapperException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestDocumentMapperException.php',
|
| 509 |
+
'PharIo\\Manifest\\ManifestElement' => $vendorDir . '/phar-io/manifest/src/xml/ManifestElement.php',
|
| 510 |
+
'PharIo\\Manifest\\ManifestElementException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestElementException.php',
|
| 511 |
+
'PharIo\\Manifest\\ManifestLoader' => $vendorDir . '/phar-io/manifest/src/ManifestLoader.php',
|
| 512 |
+
'PharIo\\Manifest\\ManifestLoaderException' => $vendorDir . '/phar-io/manifest/src/exceptions/ManifestLoaderException.php',
|
| 513 |
+
'PharIo\\Manifest\\ManifestSerializer' => $vendorDir . '/phar-io/manifest/src/ManifestSerializer.php',
|
| 514 |
+
'PharIo\\Manifest\\PhpElement' => $vendorDir . '/phar-io/manifest/src/xml/PhpElement.php',
|
| 515 |
+
'PharIo\\Manifest\\PhpExtensionRequirement' => $vendorDir . '/phar-io/manifest/src/values/PhpExtensionRequirement.php',
|
| 516 |
+
'PharIo\\Manifest\\PhpVersionRequirement' => $vendorDir . '/phar-io/manifest/src/values/PhpVersionRequirement.php',
|
| 517 |
+
'PharIo\\Manifest\\Requirement' => $vendorDir . '/phar-io/manifest/src/values/Requirement.php',
|
| 518 |
+
'PharIo\\Manifest\\RequirementCollection' => $vendorDir . '/phar-io/manifest/src/values/RequirementCollection.php',
|
| 519 |
+
'PharIo\\Manifest\\RequirementCollectionIterator' => $vendorDir . '/phar-io/manifest/src/values/RequirementCollectionIterator.php',
|
| 520 |
+
'PharIo\\Manifest\\RequiresElement' => $vendorDir . '/phar-io/manifest/src/xml/RequiresElement.php',
|
| 521 |
+
'PharIo\\Manifest\\Type' => $vendorDir . '/phar-io/manifest/src/values/Type.php',
|
| 522 |
+
'PharIo\\Manifest\\Url' => $vendorDir . '/phar-io/manifest/src/values/Url.php',
|
| 523 |
+
'PharIo\\Version\\AbstractVersionConstraint' => $vendorDir . '/phar-io/version/src/AbstractVersionConstraint.php',
|
| 524 |
+
'PharIo\\Version\\AndVersionConstraintGroup' => $vendorDir . '/phar-io/version/src/AndVersionConstraintGroup.php',
|
| 525 |
+
'PharIo\\Version\\AnyVersionConstraint' => $vendorDir . '/phar-io/version/src/AnyVersionConstraint.php',
|
| 526 |
+
'PharIo\\Version\\ExactVersionConstraint' => $vendorDir . '/phar-io/version/src/ExactVersionConstraint.php',
|
| 527 |
+
'PharIo\\Version\\Exception' => $vendorDir . '/phar-io/version/src/Exception.php',
|
| 528 |
+
'PharIo\\Version\\GreaterThanOrEqualToVersionConstraint' => $vendorDir . '/phar-io/version/src/GreaterThanOrEqualToVersionConstraint.php',
|
| 529 |
+
'PharIo\\Version\\InvalidVersionException' => $vendorDir . '/phar-io/version/src/InvalidVersionException.php',
|
| 530 |
+
'PharIo\\Version\\OrVersionConstraintGroup' => $vendorDir . '/phar-io/version/src/OrVersionConstraintGroup.php',
|
| 531 |
+
'PharIo\\Version\\PreReleaseSuffix' => $vendorDir . '/phar-io/version/src/PreReleaseSuffix.php',
|
| 532 |
+
'PharIo\\Version\\SpecificMajorAndMinorVersionConstraint' => $vendorDir . '/phar-io/version/src/SpecificMajorAndMinorVersionConstraint.php',
|
| 533 |
+
'PharIo\\Version\\SpecificMajorVersionConstraint' => $vendorDir . '/phar-io/version/src/SpecificMajorVersionConstraint.php',
|
| 534 |
+
'PharIo\\Version\\UnsupportedVersionConstraintException' => $vendorDir . '/phar-io/version/src/UnsupportedVersionConstraintException.php',
|
| 535 |
+
'PharIo\\Version\\Version' => $vendorDir . '/phar-io/version/src/Version.php',
|
| 536 |
+
'PharIo\\Version\\VersionConstraint' => $vendorDir . '/phar-io/version/src/VersionConstraint.php',
|
| 537 |
+
'PharIo\\Version\\VersionConstraintParser' => $vendorDir . '/phar-io/version/src/VersionConstraintParser.php',
|
| 538 |
+
'PharIo\\Version\\VersionConstraintValue' => $vendorDir . '/phar-io/version/src/VersionConstraintValue.php',
|
| 539 |
+
'PharIo\\Version\\VersionNumber' => $vendorDir . '/phar-io/version/src/VersionNumber.php',
|
| 540 |
+
'SebastianBergmann\\CodeCoverage\\CodeCoverage' => $vendorDir . '/phpunit/php-code-coverage/src/CodeCoverage.php',
|
| 541 |
+
'SebastianBergmann\\CodeCoverage\\CoveredCodeNotExecutedException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/CoveredCodeNotExecutedException.php',
|
| 542 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\Driver' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/Driver.php',
|
| 543 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\HHVM' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/HHVM.php',
|
| 544 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\PHPDBG' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/PHPDBG.php',
|
| 545 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\Xdebug' => $vendorDir . '/phpunit/php-code-coverage/src/Driver/Xdebug.php',
|
| 546 |
+
'SebastianBergmann\\CodeCoverage\\Exception' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/Exception.php',
|
| 547 |
+
'SebastianBergmann\\CodeCoverage\\Filter' => $vendorDir . '/phpunit/php-code-coverage/src/Filter.php',
|
| 548 |
+
'SebastianBergmann\\CodeCoverage\\InvalidArgumentException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php',
|
| 549 |
+
'SebastianBergmann\\CodeCoverage\\MissingCoversAnnotationException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/MissingCoversAnnotationException.php',
|
| 550 |
+
'SebastianBergmann\\CodeCoverage\\Node\\AbstractNode' => $vendorDir . '/phpunit/php-code-coverage/src/Node/AbstractNode.php',
|
| 551 |
+
'SebastianBergmann\\CodeCoverage\\Node\\Builder' => $vendorDir . '/phpunit/php-code-coverage/src/Node/Builder.php',
|
| 552 |
+
'SebastianBergmann\\CodeCoverage\\Node\\Directory' => $vendorDir . '/phpunit/php-code-coverage/src/Node/Directory.php',
|
| 553 |
+
'SebastianBergmann\\CodeCoverage\\Node\\File' => $vendorDir . '/phpunit/php-code-coverage/src/Node/File.php',
|
| 554 |
+
'SebastianBergmann\\CodeCoverage\\Node\\Iterator' => $vendorDir . '/phpunit/php-code-coverage/src/Node/Iterator.php',
|
| 555 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Clover' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Clover.php',
|
| 556 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Crap4j' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Crap4j.php',
|
| 557 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Dashboard' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer/Dashboard.php',
|
| 558 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Directory' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer/Directory.php',
|
| 559 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Facade' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Facade.php',
|
| 560 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\File' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php',
|
| 561 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Renderer' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Html/Renderer.php',
|
| 562 |
+
'SebastianBergmann\\CodeCoverage\\Report\\PHP' => $vendorDir . '/phpunit/php-code-coverage/src/Report/PHP.php',
|
| 563 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Text' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Text.php',
|
| 564 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\BuildInformation' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/BuildInformation.php',
|
| 565 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Coverage' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Coverage.php',
|
| 566 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Directory' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Directory.php',
|
| 567 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Facade' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Facade.php',
|
| 568 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\File' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/File.php',
|
| 569 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Method' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Method.php',
|
| 570 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Node' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Node.php',
|
| 571 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Project' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Project.php',
|
| 572 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Report' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Report.php',
|
| 573 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Source' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Source.php',
|
| 574 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Tests' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Tests.php',
|
| 575 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Totals' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Totals.php',
|
| 576 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Unit' => $vendorDir . '/phpunit/php-code-coverage/src/Report/Xml/Unit.php',
|
| 577 |
+
'SebastianBergmann\\CodeCoverage\\RuntimeException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/RuntimeException.php',
|
| 578 |
+
'SebastianBergmann\\CodeCoverage\\UnintentionallyCoveredCodeException' => $vendorDir . '/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php',
|
| 579 |
+
'SebastianBergmann\\CodeCoverage\\Util' => $vendorDir . '/phpunit/php-code-coverage/src/Util.php',
|
| 580 |
+
'SebastianBergmann\\CodeCoverage\\Version' => $vendorDir . '/phpunit/php-code-coverage/src/Version.php',
|
| 581 |
+
'SebastianBergmann\\CodeUnitReverseLookup\\Wizard' => $vendorDir . '/sebastian/code-unit-reverse-lookup/src/Wizard.php',
|
| 582 |
+
'SebastianBergmann\\Comparator\\ArrayComparator' => $vendorDir . '/sebastian/comparator/src/ArrayComparator.php',
|
| 583 |
+
'SebastianBergmann\\Comparator\\Comparator' => $vendorDir . '/sebastian/comparator/src/Comparator.php',
|
| 584 |
+
'SebastianBergmann\\Comparator\\ComparisonFailure' => $vendorDir . '/sebastian/comparator/src/ComparisonFailure.php',
|
| 585 |
+
'SebastianBergmann\\Comparator\\DOMNodeComparator' => $vendorDir . '/sebastian/comparator/src/DOMNodeComparator.php',
|
| 586 |
+
'SebastianBergmann\\Comparator\\DateTimeComparator' => $vendorDir . '/sebastian/comparator/src/DateTimeComparator.php',
|
| 587 |
+
'SebastianBergmann\\Comparator\\DoubleComparator' => $vendorDir . '/sebastian/comparator/src/DoubleComparator.php',
|
| 588 |
+
'SebastianBergmann\\Comparator\\ExceptionComparator' => $vendorDir . '/sebastian/comparator/src/ExceptionComparator.php',
|
| 589 |
+
'SebastianBergmann\\Comparator\\Factory' => $vendorDir . '/sebastian/comparator/src/Factory.php',
|
| 590 |
+
'SebastianBergmann\\Comparator\\MockObjectComparator' => $vendorDir . '/sebastian/comparator/src/MockObjectComparator.php',
|
| 591 |
+
'SebastianBergmann\\Comparator\\NumericComparator' => $vendorDir . '/sebastian/comparator/src/NumericComparator.php',
|
| 592 |
+
'SebastianBergmann\\Comparator\\ObjectComparator' => $vendorDir . '/sebastian/comparator/src/ObjectComparator.php',
|
| 593 |
+
'SebastianBergmann\\Comparator\\ResourceComparator' => $vendorDir . '/sebastian/comparator/src/ResourceComparator.php',
|
| 594 |
+
'SebastianBergmann\\Comparator\\ScalarComparator' => $vendorDir . '/sebastian/comparator/src/ScalarComparator.php',
|
| 595 |
+
'SebastianBergmann\\Comparator\\SplObjectStorageComparator' => $vendorDir . '/sebastian/comparator/src/SplObjectStorageComparator.php',
|
| 596 |
+
'SebastianBergmann\\Comparator\\TypeComparator' => $vendorDir . '/sebastian/comparator/src/TypeComparator.php',
|
| 597 |
+
'SebastianBergmann\\Diff\\Chunk' => $vendorDir . '/sebastian/diff/src/Chunk.php',
|
| 598 |
+
'SebastianBergmann\\Diff\\Diff' => $vendorDir . '/sebastian/diff/src/Diff.php',
|
| 599 |
+
'SebastianBergmann\\Diff\\Differ' => $vendorDir . '/sebastian/diff/src/Differ.php',
|
| 600 |
+
'SebastianBergmann\\Diff\\Exception' => $vendorDir . '/sebastian/diff/src/Exception/Exception.php',
|
| 601 |
+
'SebastianBergmann\\Diff\\InvalidArgumentException' => $vendorDir . '/sebastian/diff/src/Exception/InvalidArgumentException.php',
|
| 602 |
+
'SebastianBergmann\\Diff\\Line' => $vendorDir . '/sebastian/diff/src/Line.php',
|
| 603 |
+
'SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php',
|
| 604 |
+
'SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php',
|
| 605 |
+
'SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php',
|
| 606 |
+
'SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php',
|
| 607 |
+
'SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => $vendorDir . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php',
|
| 608 |
+
'SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php',
|
| 609 |
+
'SebastianBergmann\\Diff\\Parser' => $vendorDir . '/sebastian/diff/src/Parser.php',
|
| 610 |
+
'SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php',
|
| 611 |
+
'SebastianBergmann\\Environment\\Console' => $vendorDir . '/sebastian/environment/src/Console.php',
|
| 612 |
+
'SebastianBergmann\\Environment\\OperatingSystem' => $vendorDir . '/sebastian/environment/src/OperatingSystem.php',
|
| 613 |
+
'SebastianBergmann\\Environment\\Runtime' => $vendorDir . '/sebastian/environment/src/Runtime.php',
|
| 614 |
+
'SebastianBergmann\\Exporter\\Exporter' => $vendorDir . '/sebastian/exporter/src/Exporter.php',
|
| 615 |
+
'SebastianBergmann\\GlobalState\\Blacklist' => $vendorDir . '/sebastian/global-state/src/Blacklist.php',
|
| 616 |
+
'SebastianBergmann\\GlobalState\\CodeExporter' => $vendorDir . '/sebastian/global-state/src/CodeExporter.php',
|
| 617 |
+
'SebastianBergmann\\GlobalState\\Exception' => $vendorDir . '/sebastian/global-state/src/exceptions/Exception.php',
|
| 618 |
+
'SebastianBergmann\\GlobalState\\Restorer' => $vendorDir . '/sebastian/global-state/src/Restorer.php',
|
| 619 |
+
'SebastianBergmann\\GlobalState\\RuntimeException' => $vendorDir . '/sebastian/global-state/src/exceptions/RuntimeException.php',
|
| 620 |
+
'SebastianBergmann\\GlobalState\\Snapshot' => $vendorDir . '/sebastian/global-state/src/Snapshot.php',
|
| 621 |
+
'SebastianBergmann\\ObjectEnumerator\\Enumerator' => $vendorDir . '/sebastian/object-enumerator/src/Enumerator.php',
|
| 622 |
+
'SebastianBergmann\\ObjectEnumerator\\Exception' => $vendorDir . '/sebastian/object-enumerator/src/Exception.php',
|
| 623 |
+
'SebastianBergmann\\ObjectEnumerator\\InvalidArgumentException' => $vendorDir . '/sebastian/object-enumerator/src/InvalidArgumentException.php',
|
| 624 |
+
'SebastianBergmann\\ObjectReflector\\Exception' => $vendorDir . '/sebastian/object-reflector/src/Exception.php',
|
| 625 |
+
'SebastianBergmann\\ObjectReflector\\InvalidArgumentException' => $vendorDir . '/sebastian/object-reflector/src/InvalidArgumentException.php',
|
| 626 |
+
'SebastianBergmann\\ObjectReflector\\ObjectReflector' => $vendorDir . '/sebastian/object-reflector/src/ObjectReflector.php',
|
| 627 |
+
'SebastianBergmann\\RecursionContext\\Context' => $vendorDir . '/sebastian/recursion-context/src/Context.php',
|
| 628 |
+
'SebastianBergmann\\RecursionContext\\Exception' => $vendorDir . '/sebastian/recursion-context/src/Exception.php',
|
| 629 |
+
'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => $vendorDir . '/sebastian/recursion-context/src/InvalidArgumentException.php',
|
| 630 |
+
'SebastianBergmann\\ResourceOperations\\ResourceOperations' => $vendorDir . '/sebastian/resource-operations/src/ResourceOperations.php',
|
| 631 |
+
'SebastianBergmann\\Version' => $vendorDir . '/sebastian/version/src/Version.php',
|
| 632 |
+
'SessionUpdateTimestampHandlerInterface' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
|
| 633 |
+
'Text_Template' => $vendorDir . '/phpunit/php-text-template/src/Template.php',
|
| 634 |
+
'TheSeer\\Tokenizer\\Exception' => $vendorDir . '/theseer/tokenizer/src/Exception.php',
|
| 635 |
+
'TheSeer\\Tokenizer\\NamespaceUri' => $vendorDir . '/theseer/tokenizer/src/NamespaceUri.php',
|
| 636 |
+
'TheSeer\\Tokenizer\\NamespaceUriException' => $vendorDir . '/theseer/tokenizer/src/NamespaceUriException.php',
|
| 637 |
+
'TheSeer\\Tokenizer\\Token' => $vendorDir . '/theseer/tokenizer/src/Token.php',
|
| 638 |
+
'TheSeer\\Tokenizer\\TokenCollection' => $vendorDir . '/theseer/tokenizer/src/TokenCollection.php',
|
| 639 |
+
'TheSeer\\Tokenizer\\TokenCollectionException' => $vendorDir . '/theseer/tokenizer/src/TokenCollectionException.php',
|
| 640 |
+
'TheSeer\\Tokenizer\\Tokenizer' => $vendorDir . '/theseer/tokenizer/src/Tokenizer.php',
|
| 641 |
+
'TheSeer\\Tokenizer\\XMLSerializer' => $vendorDir . '/theseer/tokenizer/src/XMLSerializer.php',
|
| 642 |
+
'TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
|
| 643 |
+
'WP_CLI' => $baseDir . '/tests/phpunit/stubs/class-wp-cli.php',
|
| 644 |
+
'WP_CLI_Command' => $baseDir . '/tests/phpunit/stubs/class-wp-cli-command.php',
|
| 645 |
+
'WP_Mock' => $vendorDir . '/10up/wp_mock/php/WP_Mock.php',
|
| 646 |
+
'cli\\progress\\Bar' => $baseDir . '/tests/phpunit/stubs/class-bar.php',
|
| 647 |
);
|
vendor/composer/autoload_files.php
CHANGED
|
@@ -6,5 +6,18 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
'344a0f93a05b8ca362c22e39586db500' => $baseDir . '/lib/polyfill-mbstring/bootstrap.php',
|
| 10 |
);
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
| 9 |
+
'320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
|
| 10 |
+
'7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php',
|
| 11 |
+
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
|
| 12 |
+
'25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
|
| 13 |
+
'023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php',
|
| 14 |
+
'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
|
| 15 |
+
'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
|
| 16 |
+
'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
|
| 17 |
+
'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php',
|
| 18 |
+
'37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
|
| 19 |
+
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
| 20 |
+
'c9c849c9bb3823996cf7bfc9113fa087' => $vendorDir . '/lucatume/function-mocker/src/shims.php',
|
| 21 |
+
'c9175f6b4293b67ed66f5797215938f2' => $vendorDir . '/lucatume/function-mocker/src/functions.php',
|
| 22 |
'344a0f93a05b8ca362c22e39586db500' => $baseDir . '/lib/polyfill-mbstring/bootstrap.php',
|
| 23 |
);
|
vendor/composer/autoload_namespaces.php
CHANGED
|
@@ -6,4 +6,9 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
);
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
| 9 |
+
'xrstf\\Composer52' => array($vendorDir . '/xrstf/composer-php52/lib'),
|
| 10 |
+
'tad_' => array($vendorDir . '/lucatume/args/src'),
|
| 11 |
+
'tad\\FunctionMocker' => array($vendorDir . '/lucatume/function-mocker/src'),
|
| 12 |
+
'Mockery' => array($vendorDir . '/mockery/mockery/library'),
|
| 13 |
+
'Arg' => array($vendorDir . '/lucatume/args/src'),
|
| 14 |
);
|
vendor/composer/autoload_psr4.php
CHANGED
|
@@ -6,5 +6,29 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
|
| 10 |
);
|
| 6 |
$baseDir = dirname($vendorDir);
|
| 7 |
|
| 8 |
return array(
|
| 9 |
+
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/phpdocumentor/type-resolver/src', $vendorDir . '/phpdocumentor/reflection-docblock/src'),
|
| 10 |
+
'Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'),
|
| 11 |
+
'WP_Mock\\' => array($vendorDir . '/10up/wp_mock/php/WP_Mock'),
|
| 12 |
+
'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'),
|
| 13 |
+
'Symfony\\Polyfill\\Php70\\' => array($vendorDir . '/symfony/polyfill-php70'),
|
| 14 |
+
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
|
| 15 |
+
'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
|
| 16 |
+
'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
|
| 17 |
+
'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'),
|
| 18 |
+
'Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'),
|
| 19 |
+
'Symfony\\Component\\Stopwatch\\' => array($vendorDir . '/symfony/stopwatch'),
|
| 20 |
+
'Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'),
|
| 21 |
+
'Symfony\\Component\\Debug\\' => array($vendorDir . '/symfony/debug'),
|
| 22 |
+
'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'),
|
| 23 |
+
'Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'),
|
| 24 |
+
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
|
| 25 |
+
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
|
| 26 |
+
'Prophecy\\' => array($vendorDir . '/phpspec/prophecy/src/Prophecy'),
|
| 27 |
+
'PhpCoveralls\\' => array($vendorDir . '/php-coveralls/php-coveralls/src'),
|
| 28 |
+
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
|
| 29 |
+
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
|
| 30 |
+
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
|
| 31 |
+
'Doctrine\\Instantiator\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),
|
| 32 |
+
'DeepCopy\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),
|
| 33 |
'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
|
| 34 |
);
|
vendor/composer/autoload_real.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
-
class
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218
|
|
| 22 |
return self::$loader;
|
| 23 |
}
|
| 24 |
|
| 25 |
-
spl_autoload_register(array('
|
| 26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 27 |
-
spl_autoload_unregister(array('
|
| 28 |
|
| 29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 30 |
if ($useStaticLoader) {
|
| 31 |
-
|
| 32 |
|
| 33 |
-
call_user_func(\Composer\Autoload\
|
| 34 |
} else {
|
| 35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 36 |
foreach ($map as $namespace => $path) {
|
|
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218
|
|
| 51 |
$loader->register(true);
|
| 52 |
|
| 53 |
if ($useStaticLoader) {
|
| 54 |
-
$includeFiles = Composer\Autoload\
|
| 55 |
} else {
|
| 56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
| 57 |
}
|
| 58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 59 |
-
|
| 60 |
}
|
| 61 |
|
| 62 |
return $loader;
|
| 63 |
}
|
| 64 |
}
|
| 65 |
|
| 66 |
-
function
|
| 67 |
{
|
| 68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 69 |
require $file;
|
| 2 |
|
| 3 |
// autoload_real.php @generated by Composer
|
| 4 |
|
| 5 |
+
class ComposerAutoloaderInit7b83804bec66524f8ede823838ffb903
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 22 |
return self::$loader;
|
| 23 |
}
|
| 24 |
|
| 25 |
+
spl_autoload_register(array('ComposerAutoloaderInit7b83804bec66524f8ede823838ffb903', 'loadClassLoader'), true, true);
|
| 26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit7b83804bec66524f8ede823838ffb903', 'loadClassLoader'));
|
| 28 |
|
| 29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
| 30 |
if ($useStaticLoader) {
|
| 31 |
+
require __DIR__ . '/autoload_static.php';
|
| 32 |
|
| 33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit7b83804bec66524f8ede823838ffb903::getInitializer($loader));
|
| 34 |
} else {
|
| 35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
| 36 |
foreach ($map as $namespace => $path) {
|
| 51 |
$loader->register(true);
|
| 52 |
|
| 53 |
if ($useStaticLoader) {
|
| 54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit7b83804bec66524f8ede823838ffb903::$files;
|
| 55 |
} else {
|
| 56 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
| 57 |
}
|
| 58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
| 59 |
+
composerRequire7b83804bec66524f8ede823838ffb903($fileIdentifier, $file);
|
| 60 |
}
|
| 61 |
|
| 62 |
return $loader;
|
| 63 |
}
|
| 64 |
}
|
| 65 |
|
| 66 |
+
function composerRequire7b83804bec66524f8ede823838ffb903($fileIdentifier, $file)
|
| 67 |
{
|
| 68 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
| 69 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
|
@@ -4,13 +4,68 @@
|
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
-
class
|
| 8 |
{
|
| 9 |
public static $files = array (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
'344a0f93a05b8ca362c22e39586db500' => __DIR__ . '/../..' . '/lib/polyfill-mbstring/bootstrap.php',
|
| 11 |
);
|
| 12 |
|
| 13 |
public static $prefixLengthsPsr4 = array (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
'C' =>
|
| 15 |
array (
|
| 16 |
'Composer\\Installers\\' => 20,
|
|
@@ -18,18 +73,155 @@ class ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218
|
|
| 18 |
);
|
| 19 |
|
| 20 |
public static $prefixDirsPsr4 = array (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
'Composer\\Installers\\' =>
|
| 22 |
array (
|
| 23 |
0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
|
| 24 |
),
|
| 25 |
);
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
public static $classMap = array (
|
|
|
|
|
|
|
|
|
|
| 28 |
'Cyr_To_Lat\\ACF' => __DIR__ . '/../..' . '/classes/class-acf.php',
|
| 29 |
'Cyr_To_Lat\\Admin_Notices' => __DIR__ . '/../..' . '/classes/class-admin-notices.php',
|
| 30 |
'Cyr_To_Lat\\Conversion_Process' => __DIR__ . '/../..' . '/classes/background-processes/class-conversion-process.php',
|
| 31 |
'Cyr_To_Lat\\Conversion_Tables' => __DIR__ . '/../..' . '/classes/class-conversion-tables.php',
|
| 32 |
'Cyr_To_Lat\\Converter' => __DIR__ . '/../..' . '/classes/class-converter.php',
|
|
|
|
| 33 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Async_Request' => __DIR__ . '/../..' . '/lib/wp-background-processing/class-wp-async-request.php',
|
| 34 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Background_Process' => __DIR__ . '/../..' . '/lib/wp-background-processing/class-wp-background-process.php',
|
| 35 |
'Cyr_To_Lat\\Main' => __DIR__ . '/../..' . '/classes/class-main.php',
|
|
@@ -39,14 +231,635 @@ class ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218
|
|
| 39 |
'Cyr_To_Lat\\Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/../..' . '/lib/polyfill-mbstring/Mbstring.php',
|
| 40 |
'Cyr_To_Lat\\Term_Conversion_Process' => __DIR__ . '/../..' . '/classes/background-processes/class-term-conversion-process.php',
|
| 41 |
'Cyr_To_Lat\\WP_CLI' => __DIR__ . '/../..' . '/classes/class-wp-cli.php',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
);
|
| 43 |
|
| 44 |
public static function getInitializer(ClassLoader $loader)
|
| 45 |
{
|
| 46 |
return \Closure::bind(function () use ($loader) {
|
| 47 |
-
$loader->prefixLengthsPsr4 =
|
| 48 |
-
$loader->prefixDirsPsr4 =
|
| 49 |
-
$loader->
|
|
|
|
| 50 |
|
| 51 |
}, null, ClassLoader::class);
|
| 52 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit7b83804bec66524f8ede823838ffb903
|
| 8 |
{
|
| 9 |
public static $files = array (
|
| 10 |
+
'320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
|
| 11 |
+
'7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
|
| 12 |
+
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
| 13 |
+
'25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
|
| 14 |
+
'023d27dca8066ef29e6739335ea73bad' => __DIR__ . '/..' . '/symfony/polyfill-php70/bootstrap.php',
|
| 15 |
+
'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
|
| 16 |
+
'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
|
| 17 |
+
'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
|
| 18 |
+
'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php',
|
| 19 |
+
'37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
|
| 20 |
+
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
| 21 |
+
'c9c849c9bb3823996cf7bfc9113fa087' => __DIR__ . '/..' . '/lucatume/function-mocker/src/shims.php',
|
| 22 |
+
'c9175f6b4293b67ed66f5797215938f2' => __DIR__ . '/..' . '/lucatume/function-mocker/src/functions.php',
|
| 23 |
'344a0f93a05b8ca362c22e39586db500' => __DIR__ . '/../..' . '/lib/polyfill-mbstring/bootstrap.php',
|
| 24 |
);
|
| 25 |
|
| 26 |
public static $prefixLengthsPsr4 = array (
|
| 27 |
+
'p' =>
|
| 28 |
+
array (
|
| 29 |
+
'phpDocumentor\\Reflection\\' => 25,
|
| 30 |
+
),
|
| 31 |
+
'W' =>
|
| 32 |
+
array (
|
| 33 |
+
'Webmozart\\Assert\\' => 17,
|
| 34 |
+
'WP_Mock\\' => 8,
|
| 35 |
+
),
|
| 36 |
+
'S' =>
|
| 37 |
+
array (
|
| 38 |
+
'Symfony\\Polyfill\\Php72\\' => 23,
|
| 39 |
+
'Symfony\\Polyfill\\Php70\\' => 23,
|
| 40 |
+
'Symfony\\Polyfill\\Mbstring\\' => 26,
|
| 41 |
+
'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33,
|
| 42 |
+
'Symfony\\Polyfill\\Intl\\Idn\\' => 26,
|
| 43 |
+
'Symfony\\Polyfill\\Ctype\\' => 23,
|
| 44 |
+
'Symfony\\Component\\Yaml\\' => 23,
|
| 45 |
+
'Symfony\\Component\\Stopwatch\\' => 28,
|
| 46 |
+
'Symfony\\Component\\Filesystem\\' => 29,
|
| 47 |
+
'Symfony\\Component\\Debug\\' => 24,
|
| 48 |
+
'Symfony\\Component\\Console\\' => 26,
|
| 49 |
+
'Symfony\\Component\\Config\\' => 25,
|
| 50 |
+
),
|
| 51 |
+
'P' =>
|
| 52 |
+
array (
|
| 53 |
+
'Psr\\Log\\' => 8,
|
| 54 |
+
'Psr\\Http\\Message\\' => 17,
|
| 55 |
+
'Prophecy\\' => 9,
|
| 56 |
+
'PhpCoveralls\\' => 13,
|
| 57 |
+
),
|
| 58 |
+
'G' =>
|
| 59 |
+
array (
|
| 60 |
+
'GuzzleHttp\\Psr7\\' => 16,
|
| 61 |
+
'GuzzleHttp\\Promise\\' => 19,
|
| 62 |
+
'GuzzleHttp\\' => 11,
|
| 63 |
+
),
|
| 64 |
+
'D' =>
|
| 65 |
+
array (
|
| 66 |
+
'Doctrine\\Instantiator\\' => 22,
|
| 67 |
+
'DeepCopy\\' => 9,
|
| 68 |
+
),
|
| 69 |
'C' =>
|
| 70 |
array (
|
| 71 |
'Composer\\Installers\\' => 20,
|
| 73 |
);
|
| 74 |
|
| 75 |
public static $prefixDirsPsr4 = array (
|
| 76 |
+
'phpDocumentor\\Reflection\\' =>
|
| 77 |
+
array (
|
| 78 |
+
0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src',
|
| 79 |
+
1 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src',
|
| 80 |
+
2 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src',
|
| 81 |
+
),
|
| 82 |
+
'Webmozart\\Assert\\' =>
|
| 83 |
+
array (
|
| 84 |
+
0 => __DIR__ . '/..' . '/webmozart/assert/src',
|
| 85 |
+
),
|
| 86 |
+
'WP_Mock\\' =>
|
| 87 |
+
array (
|
| 88 |
+
0 => __DIR__ . '/..' . '/10up/wp_mock/php/WP_Mock',
|
| 89 |
+
),
|
| 90 |
+
'Symfony\\Polyfill\\Php72\\' =>
|
| 91 |
+
array (
|
| 92 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-php72',
|
| 93 |
+
),
|
| 94 |
+
'Symfony\\Polyfill\\Php70\\' =>
|
| 95 |
+
array (
|
| 96 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-php70',
|
| 97 |
+
),
|
| 98 |
+
'Symfony\\Polyfill\\Mbstring\\' =>
|
| 99 |
+
array (
|
| 100 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
|
| 101 |
+
),
|
| 102 |
+
'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
|
| 103 |
+
array (
|
| 104 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer',
|
| 105 |
+
),
|
| 106 |
+
'Symfony\\Polyfill\\Intl\\Idn\\' =>
|
| 107 |
+
array (
|
| 108 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-idn',
|
| 109 |
+
),
|
| 110 |
+
'Symfony\\Polyfill\\Ctype\\' =>
|
| 111 |
+
array (
|
| 112 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
|
| 113 |
+
),
|
| 114 |
+
'Symfony\\Component\\Yaml\\' =>
|
| 115 |
+
array (
|
| 116 |
+
0 => __DIR__ . '/..' . '/symfony/yaml',
|
| 117 |
+
),
|
| 118 |
+
'Symfony\\Component\\Stopwatch\\' =>
|
| 119 |
+
array (
|
| 120 |
+
0 => __DIR__ . '/..' . '/symfony/stopwatch',
|
| 121 |
+
),
|
| 122 |
+
'Symfony\\Component\\Filesystem\\' =>
|
| 123 |
+
array (
|
| 124 |
+
0 => __DIR__ . '/..' . '/symfony/filesystem',
|
| 125 |
+
),
|
| 126 |
+
'Symfony\\Component\\Debug\\' =>
|
| 127 |
+
array (
|
| 128 |
+
0 => __DIR__ . '/..' . '/symfony/debug',
|
| 129 |
+
),
|
| 130 |
+
'Symfony\\Component\\Console\\' =>
|
| 131 |
+
array (
|
| 132 |
+
0 => __DIR__ . '/..' . '/symfony/console',
|
| 133 |
+
),
|
| 134 |
+
'Symfony\\Component\\Config\\' =>
|
| 135 |
+
array (
|
| 136 |
+
0 => __DIR__ . '/..' . '/symfony/config',
|
| 137 |
+
),
|
| 138 |
+
'Psr\\Log\\' =>
|
| 139 |
+
array (
|
| 140 |
+
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
|
| 141 |
+
),
|
| 142 |
+
'Psr\\Http\\Message\\' =>
|
| 143 |
+
array (
|
| 144 |
+
0 => __DIR__ . '/..' . '/psr/http-message/src',
|
| 145 |
+
),
|
| 146 |
+
'Prophecy\\' =>
|
| 147 |
+
array (
|
| 148 |
+
0 => __DIR__ . '/..' . '/phpspec/prophecy/src/Prophecy',
|
| 149 |
+
),
|
| 150 |
+
'PhpCoveralls\\' =>
|
| 151 |
+
array (
|
| 152 |
+
0 => __DIR__ . '/..' . '/php-coveralls/php-coveralls/src',
|
| 153 |
+
),
|
| 154 |
+
'GuzzleHttp\\Psr7\\' =>
|
| 155 |
+
array (
|
| 156 |
+
0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
|
| 157 |
+
),
|
| 158 |
+
'GuzzleHttp\\Promise\\' =>
|
| 159 |
+
array (
|
| 160 |
+
0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
|
| 161 |
+
),
|
| 162 |
+
'GuzzleHttp\\' =>
|
| 163 |
+
array (
|
| 164 |
+
0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
|
| 165 |
+
),
|
| 166 |
+
'Doctrine\\Instantiator\\' =>
|
| 167 |
+
array (
|
| 168 |
+
0 => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator',
|
| 169 |
+
),
|
| 170 |
+
'DeepCopy\\' =>
|
| 171 |
+
array (
|
| 172 |
+
0 => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy',
|
| 173 |
+
),
|
| 174 |
'Composer\\Installers\\' =>
|
| 175 |
array (
|
| 176 |
0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
|
| 177 |
),
|
| 178 |
);
|
| 179 |
|
| 180 |
+
public static $prefixesPsr0 = array (
|
| 181 |
+
'x' =>
|
| 182 |
+
array (
|
| 183 |
+
'xrstf\\Composer52' =>
|
| 184 |
+
array (
|
| 185 |
+
0 => __DIR__ . '/..' . '/xrstf/composer-php52/lib',
|
| 186 |
+
),
|
| 187 |
+
),
|
| 188 |
+
't' =>
|
| 189 |
+
array (
|
| 190 |
+
'tad_' =>
|
| 191 |
+
array (
|
| 192 |
+
0 => __DIR__ . '/..' . '/lucatume/args/src',
|
| 193 |
+
),
|
| 194 |
+
'tad\\FunctionMocker' =>
|
| 195 |
+
array (
|
| 196 |
+
0 => __DIR__ . '/..' . '/lucatume/function-mocker/src',
|
| 197 |
+
),
|
| 198 |
+
),
|
| 199 |
+
'M' =>
|
| 200 |
+
array (
|
| 201 |
+
'Mockery' =>
|
| 202 |
+
array (
|
| 203 |
+
0 => __DIR__ . '/..' . '/mockery/mockery/library',
|
| 204 |
+
),
|
| 205 |
+
),
|
| 206 |
+
'A' =>
|
| 207 |
+
array (
|
| 208 |
+
'Arg' =>
|
| 209 |
+
array (
|
| 210 |
+
0 => __DIR__ . '/..' . '/lucatume/args/src',
|
| 211 |
+
),
|
| 212 |
+
),
|
| 213 |
+
);
|
| 214 |
+
|
| 215 |
public static $classMap = array (
|
| 216 |
+
'ArithmeticError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php',
|
| 217 |
+
'AssertionError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php',
|
| 218 |
+
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
| 219 |
'Cyr_To_Lat\\ACF' => __DIR__ . '/../..' . '/classes/class-acf.php',
|
| 220 |
'Cyr_To_Lat\\Admin_Notices' => __DIR__ . '/../..' . '/classes/class-admin-notices.php',
|
| 221 |
'Cyr_To_Lat\\Conversion_Process' => __DIR__ . '/../..' . '/classes/background-processes/class-conversion-process.php',
|
| 222 |
'Cyr_To_Lat\\Conversion_Tables' => __DIR__ . '/../..' . '/classes/class-conversion-tables.php',
|
| 223 |
'Cyr_To_Lat\\Converter' => __DIR__ . '/../..' . '/classes/class-converter.php',
|
| 224 |
+
'Cyr_To_Lat\\Cyr_To_Lat_TestCase' => __DIR__ . '/../..' . '/tests/phpunit/classes/class-cyr-to-lat-testcase.php',
|
| 225 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Async_Request' => __DIR__ . '/../..' . '/lib/wp-background-processing/class-wp-async-request.php',
|
| 226 |
'Cyr_To_Lat\\KAGG\\WP_Background_Processing\\WP_Background_Process' => __DIR__ . '/../..' . '/lib/wp-background-processing/class-wp-background-process.php',
|
| 227 |
'Cyr_To_Lat\\Main' => __DIR__ . '/../..' . '/classes/class-main.php',
|
| 231 |
'Cyr_To_Lat\\Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/../..' . '/lib/polyfill-mbstring/Mbstring.php',
|
| 232 |
'Cyr_To_Lat\\Term_Conversion_Process' => __DIR__ . '/../..' . '/classes/background-processes/class-term-conversion-process.php',
|
| 233 |
'Cyr_To_Lat\\WP_CLI' => __DIR__ . '/../..' . '/classes/class-wp-cli.php',
|
| 234 |
+
'DivisionByZeroError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php',
|
| 235 |
+
'Error' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/Error.php',
|
| 236 |
+
'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php',
|
| 237 |
+
'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php',
|
| 238 |
+
'File_Iterator_Factory' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Factory.php',
|
| 239 |
+
'Hamcrest\\Arrays\\IsArray' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArray.php',
|
| 240 |
+
'Hamcrest\\Arrays\\IsArrayContaining' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContaining.php',
|
| 241 |
+
'Hamcrest\\Arrays\\IsArrayContainingInAnyOrder' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingInAnyOrder.php',
|
| 242 |
+
'Hamcrest\\Arrays\\IsArrayContainingInOrder' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingInOrder.php',
|
| 243 |
+
'Hamcrest\\Arrays\\IsArrayContainingKey' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingKey.php',
|
| 244 |
+
'Hamcrest\\Arrays\\IsArrayContainingKeyValuePair' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayContainingKeyValuePair.php',
|
| 245 |
+
'Hamcrest\\Arrays\\IsArrayWithSize' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/IsArrayWithSize.php',
|
| 246 |
+
'Hamcrest\\Arrays\\MatchingOnce' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/MatchingOnce.php',
|
| 247 |
+
'Hamcrest\\Arrays\\SeriesMatchingOnce' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Arrays/SeriesMatchingOnce.php',
|
| 248 |
+
'Hamcrest\\AssertionError' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/AssertionError.php',
|
| 249 |
+
'Hamcrest\\BaseDescription' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseDescription.php',
|
| 250 |
+
'Hamcrest\\BaseMatcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/BaseMatcher.php',
|
| 251 |
+
'Hamcrest\\Collection\\IsEmptyTraversable' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Collection/IsEmptyTraversable.php',
|
| 252 |
+
'Hamcrest\\Collection\\IsTraversableWithSize' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Collection/IsTraversableWithSize.php',
|
| 253 |
+
'Hamcrest\\Core\\AllOf' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/AllOf.php',
|
| 254 |
+
'Hamcrest\\Core\\AnyOf' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/AnyOf.php',
|
| 255 |
+
'Hamcrest\\Core\\CombinableMatcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/CombinableMatcher.php',
|
| 256 |
+
'Hamcrest\\Core\\DescribedAs' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/DescribedAs.php',
|
| 257 |
+
'Hamcrest\\Core\\Every' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Every.php',
|
| 258 |
+
'Hamcrest\\Core\\HasToString' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/HasToString.php',
|
| 259 |
+
'Hamcrest\\Core\\Is' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Is.php',
|
| 260 |
+
'Hamcrest\\Core\\IsAnything' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsAnything.php',
|
| 261 |
+
'Hamcrest\\Core\\IsCollectionContaining' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsCollectionContaining.php',
|
| 262 |
+
'Hamcrest\\Core\\IsEqual' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsEqual.php',
|
| 263 |
+
'Hamcrest\\Core\\IsIdentical' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsIdentical.php',
|
| 264 |
+
'Hamcrest\\Core\\IsInstanceOf' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsInstanceOf.php',
|
| 265 |
+
'Hamcrest\\Core\\IsNot' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsNot.php',
|
| 266 |
+
'Hamcrest\\Core\\IsNull' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsNull.php',
|
| 267 |
+
'Hamcrest\\Core\\IsSame' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsSame.php',
|
| 268 |
+
'Hamcrest\\Core\\IsTypeOf' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/IsTypeOf.php',
|
| 269 |
+
'Hamcrest\\Core\\Set' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/Set.php',
|
| 270 |
+
'Hamcrest\\Core\\ShortcutCombination' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Core/ShortcutCombination.php',
|
| 271 |
+
'Hamcrest\\Description' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Description.php',
|
| 272 |
+
'Hamcrest\\DiagnosingMatcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/DiagnosingMatcher.php',
|
| 273 |
+
'Hamcrest\\FeatureMatcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/FeatureMatcher.php',
|
| 274 |
+
'Hamcrest\\Internal\\SelfDescribingValue' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Internal/SelfDescribingValue.php',
|
| 275 |
+
'Hamcrest\\Matcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Matcher.php',
|
| 276 |
+
'Hamcrest\\MatcherAssert' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/MatcherAssert.php',
|
| 277 |
+
'Hamcrest\\Matchers' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Matchers.php',
|
| 278 |
+
'Hamcrest\\NullDescription' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/NullDescription.php',
|
| 279 |
+
'Hamcrest\\Number\\IsCloseTo' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Number/IsCloseTo.php',
|
| 280 |
+
'Hamcrest\\Number\\OrderingComparison' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Number/OrderingComparison.php',
|
| 281 |
+
'Hamcrest\\SelfDescribing' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/SelfDescribing.php',
|
| 282 |
+
'Hamcrest\\StringDescription' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/StringDescription.php',
|
| 283 |
+
'Hamcrest\\Text\\IsEmptyString' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEmptyString.php',
|
| 284 |
+
'Hamcrest\\Text\\IsEqualIgnoringCase' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEqualIgnoringCase.php',
|
| 285 |
+
'Hamcrest\\Text\\IsEqualIgnoringWhiteSpace' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/IsEqualIgnoringWhiteSpace.php',
|
| 286 |
+
'Hamcrest\\Text\\MatchesPattern' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/MatchesPattern.php',
|
| 287 |
+
'Hamcrest\\Text\\StringContains' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContains.php',
|
| 288 |
+
'Hamcrest\\Text\\StringContainsIgnoringCase' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContainsIgnoringCase.php',
|
| 289 |
+
'Hamcrest\\Text\\StringContainsInOrder' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringContainsInOrder.php',
|
| 290 |
+
'Hamcrest\\Text\\StringEndsWith' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringEndsWith.php',
|
| 291 |
+
'Hamcrest\\Text\\StringStartsWith' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/StringStartsWith.php',
|
| 292 |
+
'Hamcrest\\Text\\SubstringMatcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Text/SubstringMatcher.php',
|
| 293 |
+
'Hamcrest\\TypeSafeDiagnosingMatcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/TypeSafeDiagnosingMatcher.php',
|
| 294 |
+
'Hamcrest\\TypeSafeMatcher' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/TypeSafeMatcher.php',
|
| 295 |
+
'Hamcrest\\Type\\IsArray' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsArray.php',
|
| 296 |
+
'Hamcrest\\Type\\IsBoolean' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsBoolean.php',
|
| 297 |
+
'Hamcrest\\Type\\IsCallable' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsCallable.php',
|
| 298 |
+
'Hamcrest\\Type\\IsDouble' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsDouble.php',
|
| 299 |
+
'Hamcrest\\Type\\IsInteger' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsInteger.php',
|
| 300 |
+
'Hamcrest\\Type\\IsNumeric' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsNumeric.php',
|
| 301 |
+
'Hamcrest\\Type\\IsObject' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsObject.php',
|
| 302 |
+
'Hamcrest\\Type\\IsResource' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsResource.php',
|
| 303 |
+
'Hamcrest\\Type\\IsScalar' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsScalar.php',
|
| 304 |
+
'Hamcrest\\Type\\IsString' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php',
|
| 305 |
+
'Hamcrest\\Util' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php',
|
| 306 |
+
'Hamcrest\\Xml\\HasXPath' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php',
|
| 307 |
+
'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
|
| 308 |
+
'PHPUnit\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Exception.php',
|
| 309 |
+
'PHPUnit\\Framework\\Assert' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert.php',
|
| 310 |
+
'PHPUnit\\Framework\\AssertionFailedError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/AssertionFailedError.php',
|
| 311 |
+
'PHPUnit\\Framework\\BaseTestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/BaseTestListener.php',
|
| 312 |
+
'PHPUnit\\Framework\\CodeCoverageException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/CodeCoverageException.php',
|
| 313 |
+
'PHPUnit\\Framework\\Constraint\\ArrayHasKey' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArrayHasKey.php',
|
| 314 |
+
'PHPUnit\\Framework\\Constraint\\ArraySubset' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ArraySubset.php',
|
| 315 |
+
'PHPUnit\\Framework\\Constraint\\Attribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Attribute.php',
|
| 316 |
+
'PHPUnit\\Framework\\Constraint\\Callback' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Callback.php',
|
| 317 |
+
'PHPUnit\\Framework\\Constraint\\ClassHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasAttribute.php',
|
| 318 |
+
'PHPUnit\\Framework\\Constraint\\ClassHasStaticAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ClassHasStaticAttribute.php',
|
| 319 |
+
'PHPUnit\\Framework\\Constraint\\Composite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Composite.php',
|
| 320 |
+
'PHPUnit\\Framework\\Constraint\\Constraint' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Constraint.php',
|
| 321 |
+
'PHPUnit\\Framework\\Constraint\\Count' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Count.php',
|
| 322 |
+
'PHPUnit\\Framework\\Constraint\\DirectoryExists' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/DirectoryExists.php',
|
| 323 |
+
'PHPUnit\\Framework\\Constraint\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/Exception.php',
|
| 324 |
+
'PHPUnit\\Framework\\Constraint\\ExceptionCode' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionCode.php',
|
| 325 |
+
'PHPUnit\\Framework\\Constraint\\ExceptionMessage' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessage.php',
|
| 326 |
+
'PHPUnit\\Framework\\Constraint\\ExceptionMessageRegularExpression' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ExceptionMessageRegularExpression.php',
|
| 327 |
+
'PHPUnit\\Framework\\Constraint\\FileExists' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/FileExists.php',
|
| 328 |
+
'PHPUnit\\Framework\\Constraint\\GreaterThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php',
|
| 329 |
+
'PHPUnit\\Framework\\Constraint\\IsAnything' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsAnything.php',
|
| 330 |
+
'PHPUnit\\Framework\\Constraint\\IsEmpty' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php',
|
| 331 |
+
'PHPUnit\\Framework\\Constraint\\IsEqual' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsEqual.php',
|
| 332 |
+
'PHPUnit\\Framework\\Constraint\\IsFalse' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsFalse.php',
|
| 333 |
+
'PHPUnit\\Framework\\Constraint\\IsFinite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsFinite.php',
|
| 334 |
+
'PHPUnit\\Framework\\Constraint\\IsIdentical' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php',
|
| 335 |
+
'PHPUnit\\Framework\\Constraint\\IsInfinite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsInfinite.php',
|
| 336 |
+
'PHPUnit\\Framework\\Constraint\\IsInstanceOf' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php',
|
| 337 |
+
'PHPUnit\\Framework\\Constraint\\IsJson' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsJson.php',
|
| 338 |
+
'PHPUnit\\Framework\\Constraint\\IsNan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsNan.php',
|
| 339 |
+
'PHPUnit\\Framework\\Constraint\\IsNull' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsNull.php',
|
| 340 |
+
'PHPUnit\\Framework\\Constraint\\IsReadable' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsReadable.php',
|
| 341 |
+
'PHPUnit\\Framework\\Constraint\\IsTrue' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsTrue.php',
|
| 342 |
+
'PHPUnit\\Framework\\Constraint\\IsType' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsType.php',
|
| 343 |
+
'PHPUnit\\Framework\\Constraint\\IsWritable' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/IsWritable.php',
|
| 344 |
+
'PHPUnit\\Framework\\Constraint\\JsonMatches' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatches.php',
|
| 345 |
+
'PHPUnit\\Framework\\Constraint\\JsonMatchesErrorMessageProvider' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/JsonMatchesErrorMessageProvider.php',
|
| 346 |
+
'PHPUnit\\Framework\\Constraint\\LessThan' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LessThan.php',
|
| 347 |
+
'PHPUnit\\Framework\\Constraint\\LogicalAnd' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LogicalAnd.php',
|
| 348 |
+
'PHPUnit\\Framework\\Constraint\\LogicalNot' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LogicalNot.php',
|
| 349 |
+
'PHPUnit\\Framework\\Constraint\\LogicalOr' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LogicalOr.php',
|
| 350 |
+
'PHPUnit\\Framework\\Constraint\\LogicalXor' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/LogicalXor.php',
|
| 351 |
+
'PHPUnit\\Framework\\Constraint\\ObjectHasAttribute' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/ObjectHasAttribute.php',
|
| 352 |
+
'PHPUnit\\Framework\\Constraint\\RegularExpression' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/RegularExpression.php',
|
| 353 |
+
'PHPUnit\\Framework\\Constraint\\SameSize' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/SameSize.php',
|
| 354 |
+
'PHPUnit\\Framework\\Constraint\\StringContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringContains.php',
|
| 355 |
+
'PHPUnit\\Framework\\Constraint\\StringEndsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringEndsWith.php',
|
| 356 |
+
'PHPUnit\\Framework\\Constraint\\StringMatchesFormatDescription' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringMatchesFormatDescription.php',
|
| 357 |
+
'PHPUnit\\Framework\\Constraint\\StringStartsWith' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/StringStartsWith.php',
|
| 358 |
+
'PHPUnit\\Framework\\Constraint\\TraversableContains' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContains.php',
|
| 359 |
+
'PHPUnit\\Framework\\Constraint\\TraversableContainsOnly' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Constraint/TraversableContainsOnly.php',
|
| 360 |
+
'PHPUnit\\Framework\\CoveredCodeNotExecutedException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/CoveredCodeNotExecutedException.php',
|
| 361 |
+
'PHPUnit\\Framework\\DataProviderTestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/DataProviderTestSuite.php',
|
| 362 |
+
'PHPUnit\\Framework\\Error\\Deprecated' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Deprecated.php',
|
| 363 |
+
'PHPUnit\\Framework\\Error\\Error' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Error.php',
|
| 364 |
+
'PHPUnit\\Framework\\Error\\Notice' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Notice.php',
|
| 365 |
+
'PHPUnit\\Framework\\Error\\Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Error/Warning.php',
|
| 366 |
+
'PHPUnit\\Framework\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Exception.php',
|
| 367 |
+
'PHPUnit\\Framework\\ExceptionWrapper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExceptionWrapper.php',
|
| 368 |
+
'PHPUnit\\Framework\\ExpectationFailedException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/ExpectationFailedException.php',
|
| 369 |
+
'PHPUnit\\Framework\\IncompleteTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTest.php',
|
| 370 |
+
'PHPUnit\\Framework\\IncompleteTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestCase.php',
|
| 371 |
+
'PHPUnit\\Framework\\IncompleteTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/IncompleteTestError.php',
|
| 372 |
+
'PHPUnit\\Framework\\InvalidCoversTargetException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/InvalidCoversTargetException.php',
|
| 373 |
+
'PHPUnit\\Framework\\MissingCoversAnnotationException' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/MissingCoversAnnotationException.php',
|
| 374 |
+
'PHPUnit\\Framework\\MockObject\\BadMethodCallException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Exception/BadMethodCallException.php',
|
| 375 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\Identity' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Builder/Identity.php',
|
| 376 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Builder/InvocationMocker.php',
|
| 377 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\Match' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Builder/Match.php',
|
| 378 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\MethodNameMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Builder/MethodNameMatch.php',
|
| 379 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\NamespaceMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Builder/NamespaceMatch.php',
|
| 380 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\ParametersMatch' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Builder/ParametersMatch.php',
|
| 381 |
+
'PHPUnit\\Framework\\MockObject\\Builder\\Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Builder/Stub.php',
|
| 382 |
+
'PHPUnit\\Framework\\MockObject\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Exception/Exception.php',
|
| 383 |
+
'PHPUnit\\Framework\\MockObject\\Generator' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Generator.php',
|
| 384 |
+
'PHPUnit\\Framework\\MockObject\\Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Invocation/Invocation.php',
|
| 385 |
+
'PHPUnit\\Framework\\MockObject\\InvocationMocker' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/InvocationMocker.php',
|
| 386 |
+
'PHPUnit\\Framework\\MockObject\\Invocation\\ObjectInvocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Invocation/ObjectInvocation.php',
|
| 387 |
+
'PHPUnit\\Framework\\MockObject\\Invocation\\StaticInvocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Invocation/StaticInvocation.php',
|
| 388 |
+
'PHPUnit\\Framework\\MockObject\\Invokable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Invokable.php',
|
| 389 |
+
'PHPUnit\\Framework\\MockObject\\Matcher' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher.php',
|
| 390 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\AnyInvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/AnyInvokedCount.php',
|
| 391 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\AnyParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/AnyParameters.php',
|
| 392 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\ConsecutiveParameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/ConsecutiveParameters.php',
|
| 393 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\Invocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/Invocation.php',
|
| 394 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtIndex' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtIndex.php',
|
| 395 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtLeastCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtLeastCount.php',
|
| 396 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtLeastOnce' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtLeastOnce.php',
|
| 397 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedAtMostCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedAtMostCount.php',
|
| 398 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedCount' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedCount.php',
|
| 399 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\InvokedRecorder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/InvokedRecorder.php',
|
| 400 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\MethodName' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/MethodName.php',
|
| 401 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\Parameters' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/Parameters.php',
|
| 402 |
+
'PHPUnit\\Framework\\MockObject\\Matcher\\StatelessInvocation' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Matcher/StatelessInvocation.php',
|
| 403 |
+
'PHPUnit\\Framework\\MockObject\\MockBuilder' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/MockBuilder.php',
|
| 404 |
+
'PHPUnit\\Framework\\MockObject\\MockObject' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/ForwardCompatibility/MockObject.php',
|
| 405 |
+
'PHPUnit\\Framework\\MockObject\\RuntimeException' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Exception/RuntimeException.php',
|
| 406 |
+
'PHPUnit\\Framework\\MockObject\\Stub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub.php',
|
| 407 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ConsecutiveCalls' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/ConsecutiveCalls.php',
|
| 408 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/Exception.php',
|
| 409 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\MatcherCollection' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/MatcherCollection.php',
|
| 410 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnArgument' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/ReturnArgument.php',
|
| 411 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnCallback' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/ReturnCallback.php',
|
| 412 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnReference' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/ReturnReference.php',
|
| 413 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnSelf' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/ReturnSelf.php',
|
| 414 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnStub' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/ReturnStub.php',
|
| 415 |
+
'PHPUnit\\Framework\\MockObject\\Stub\\ReturnValueMap' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Stub/ReturnValueMap.php',
|
| 416 |
+
'PHPUnit\\Framework\\MockObject\\Verifiable' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/Verifiable.php',
|
| 417 |
+
'PHPUnit\\Framework\\OutputError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/OutputError.php',
|
| 418 |
+
'PHPUnit\\Framework\\RiskyTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTest.php',
|
| 419 |
+
'PHPUnit\\Framework\\RiskyTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/RiskyTestError.php',
|
| 420 |
+
'PHPUnit\\Framework\\SelfDescribing' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SelfDescribing.php',
|
| 421 |
+
'PHPUnit\\Framework\\SkippedTest' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTest.php',
|
| 422 |
+
'PHPUnit\\Framework\\SkippedTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestCase.php',
|
| 423 |
+
'PHPUnit\\Framework\\SkippedTestError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestError.php',
|
| 424 |
+
'PHPUnit\\Framework\\SkippedTestSuiteError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SkippedTestSuiteError.php',
|
| 425 |
+
'PHPUnit\\Framework\\SyntheticError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/SyntheticError.php',
|
| 426 |
+
'PHPUnit\\Framework\\Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Test.php',
|
| 427 |
+
'PHPUnit\\Framework\\TestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestCase.php',
|
| 428 |
+
'PHPUnit\\Framework\\TestFailure' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestFailure.php',
|
| 429 |
+
'PHPUnit\\Framework\\TestListener' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestListener.php',
|
| 430 |
+
'PHPUnit\\Framework\\TestListenerDefaultImplementation' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestListenerDefaultImplementation.php',
|
| 431 |
+
'PHPUnit\\Framework\\TestResult' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestResult.php',
|
| 432 |
+
'PHPUnit\\Framework\\TestSuite' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuite.php',
|
| 433 |
+
'PHPUnit\\Framework\\TestSuiteIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/TestSuiteIterator.php',
|
| 434 |
+
'PHPUnit\\Framework\\UnintentionallyCoveredCodeError' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/UnintentionallyCoveredCodeError.php',
|
| 435 |
+
'PHPUnit\\Framework\\Warning' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Warning.php',
|
| 436 |
+
'PHPUnit\\Framework\\WarningTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/WarningTestCase.php',
|
| 437 |
+
'PHPUnit\\Runner\\BaseTestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/BaseTestRunner.php',
|
| 438 |
+
'PHPUnit\\Runner\\Exception' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Exception.php',
|
| 439 |
+
'PHPUnit\\Runner\\Filter\\ExcludeGroupFilterIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/ExcludeGroupFilterIterator.php',
|
| 440 |
+
'PHPUnit\\Runner\\Filter\\Factory' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/Factory.php',
|
| 441 |
+
'PHPUnit\\Runner\\Filter\\GroupFilterIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/GroupFilterIterator.php',
|
| 442 |
+
'PHPUnit\\Runner\\Filter\\IncludeGroupFilterIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/IncludeGroupFilterIterator.php',
|
| 443 |
+
'PHPUnit\\Runner\\Filter\\NameFilterIterator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Filter/NameFilterIterator.php',
|
| 444 |
+
'PHPUnit\\Runner\\PhptTestCase' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/PhptTestCase.php',
|
| 445 |
+
'PHPUnit\\Runner\\StandardTestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php',
|
| 446 |
+
'PHPUnit\\Runner\\TestSuiteLoader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/TestSuiteLoader.php',
|
| 447 |
+
'PHPUnit\\Runner\\Version' => __DIR__ . '/..' . '/phpunit/phpunit/src/Runner/Version.php',
|
| 448 |
+
'PHPUnit\\TextUI\\Command' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/Command.php',
|
| 449 |
+
'PHPUnit\\TextUI\\ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/ResultPrinter.php',
|
| 450 |
+
'PHPUnit\\TextUI\\TestRunner' => __DIR__ . '/..' . '/phpunit/phpunit/src/TextUI/TestRunner.php',
|
| 451 |
+
'PHPUnit\\Util\\Blacklist' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Blacklist.php',
|
| 452 |
+
'PHPUnit\\Util\\Configuration' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Configuration.php',
|
| 453 |
+
'PHPUnit\\Util\\ConfigurationGenerator' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/ConfigurationGenerator.php',
|
| 454 |
+
'PHPUnit\\Util\\ErrorHandler' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/ErrorHandler.php',
|
| 455 |
+
'PHPUnit\\Util\\Fileloader' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Fileloader.php',
|
| 456 |
+
'PHPUnit\\Util\\Filesystem' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filesystem.php',
|
| 457 |
+
'PHPUnit\\Util\\Filter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Filter.php',
|
| 458 |
+
'PHPUnit\\Util\\Getopt' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Getopt.php',
|
| 459 |
+
'PHPUnit\\Util\\GlobalState' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/GlobalState.php',
|
| 460 |
+
'PHPUnit\\Util\\InvalidArgumentHelper' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/InvalidArgumentHelper.php',
|
| 461 |
+
'PHPUnit\\Util\\Json' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Json.php',
|
| 462 |
+
'PHPUnit\\Util\\Log\\JUnit' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/JUnit.php',
|
| 463 |
+
'PHPUnit\\Util\\Log\\TeamCity' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Log/TeamCity.php',
|
| 464 |
+
'PHPUnit\\Util\\PHP\\AbstractPhpProcess' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/AbstractPhpProcess.php',
|
| 465 |
+
'PHPUnit\\Util\\PHP\\DefaultPhpProcess' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/DefaultPhpProcess.php',
|
| 466 |
+
'PHPUnit\\Util\\PHP\\WindowsPhpProcess' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/PHP/WindowsPhpProcess.php',
|
| 467 |
+
'PHPUnit\\Util\\Printer' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Printer.php',
|
| 468 |
+
'PHPUnit\\Util\\RegularExpression' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/RegularExpression.php',
|
| 469 |
+
'PHPUnit\\Util\\Test' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Test.php',
|
| 470 |
+
'PHPUnit\\Util\\TestDox\\HtmlResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/HtmlResultPrinter.php',
|
| 471 |
+
'PHPUnit\\Util\\TestDox\\NamePrettifier' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/NamePrettifier.php',
|
| 472 |
+
'PHPUnit\\Util\\TestDox\\ResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php',
|
| 473 |
+
'PHPUnit\\Util\\TestDox\\TextResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/TextResultPrinter.php',
|
| 474 |
+
'PHPUnit\\Util\\TestDox\\XmlResultPrinter' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TestDox/XmlResultPrinter.php',
|
| 475 |
+
'PHPUnit\\Util\\TextTestListRenderer' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/TextTestListRenderer.php',
|
| 476 |
+
'PHPUnit\\Util\\Type' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Type.php',
|
| 477 |
+
'PHPUnit\\Util\\Xml' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/Xml.php',
|
| 478 |
+
'PHPUnit\\Util\\XmlTestListRenderer' => __DIR__ . '/..' . '/phpunit/phpunit/src/Util/XmlTestListRenderer.php',
|
| 479 |
+
'PHPUnit_Framework_MockObject_MockObject' => __DIR__ . '/..' . '/phpunit/phpunit-mock-objects/src/MockObject.php',
|
| 480 |
+
'PHP_Timer' => __DIR__ . '/..' . '/phpunit/php-timer/src/Timer.php',
|
| 481 |
+
'PHP_Token' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 482 |
+
'PHP_TokenWithScope' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 483 |
+
'PHP_TokenWithScopeAndVisibility' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 484 |
+
'PHP_Token_ABSTRACT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 485 |
+
'PHP_Token_AMPERSAND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 486 |
+
'PHP_Token_AND_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 487 |
+
'PHP_Token_ARRAY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 488 |
+
'PHP_Token_ARRAY_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 489 |
+
'PHP_Token_AS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 490 |
+
'PHP_Token_ASYNC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 491 |
+
'PHP_Token_AT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 492 |
+
'PHP_Token_AWAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 493 |
+
'PHP_Token_BACKTICK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 494 |
+
'PHP_Token_BAD_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 495 |
+
'PHP_Token_BOOLEAN_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 496 |
+
'PHP_Token_BOOLEAN_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 497 |
+
'PHP_Token_BOOL_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 498 |
+
'PHP_Token_BREAK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 499 |
+
'PHP_Token_CALLABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 500 |
+
'PHP_Token_CARET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 501 |
+
'PHP_Token_CASE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 502 |
+
'PHP_Token_CATCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 503 |
+
'PHP_Token_CHARACTER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 504 |
+
'PHP_Token_CLASS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 505 |
+
'PHP_Token_CLASS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 506 |
+
'PHP_Token_CLASS_NAME_CONSTANT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 507 |
+
'PHP_Token_CLONE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 508 |
+
'PHP_Token_CLOSE_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 509 |
+
'PHP_Token_CLOSE_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 510 |
+
'PHP_Token_CLOSE_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 511 |
+
'PHP_Token_CLOSE_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 512 |
+
'PHP_Token_COALESCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 513 |
+
'PHP_Token_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 514 |
+
'PHP_Token_COMMA' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 515 |
+
'PHP_Token_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 516 |
+
'PHP_Token_COMPILER_HALT_OFFSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 517 |
+
'PHP_Token_CONCAT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 518 |
+
'PHP_Token_CONST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 519 |
+
'PHP_Token_CONSTANT_ENCAPSED_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 520 |
+
'PHP_Token_CONTINUE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 521 |
+
'PHP_Token_CURLY_OPEN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 522 |
+
'PHP_Token_DEC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 523 |
+
'PHP_Token_DECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 524 |
+
'PHP_Token_DEFAULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 525 |
+
'PHP_Token_DIR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 526 |
+
'PHP_Token_DIV' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 527 |
+
'PHP_Token_DIV_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 528 |
+
'PHP_Token_DNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 529 |
+
'PHP_Token_DO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 530 |
+
'PHP_Token_DOC_COMMENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 531 |
+
'PHP_Token_DOLLAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 532 |
+
'PHP_Token_DOLLAR_OPEN_CURLY_BRACES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 533 |
+
'PHP_Token_DOT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 534 |
+
'PHP_Token_DOUBLE_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 535 |
+
'PHP_Token_DOUBLE_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 536 |
+
'PHP_Token_DOUBLE_COLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 537 |
+
'PHP_Token_DOUBLE_QUOTES' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 538 |
+
'PHP_Token_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 539 |
+
'PHP_Token_ELLIPSIS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 540 |
+
'PHP_Token_ELSE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 541 |
+
'PHP_Token_ELSEIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 542 |
+
'PHP_Token_EMPTY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 543 |
+
'PHP_Token_ENCAPSED_AND_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 544 |
+
'PHP_Token_ENDDECLARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 545 |
+
'PHP_Token_ENDFOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 546 |
+
'PHP_Token_ENDFOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 547 |
+
'PHP_Token_ENDIF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 548 |
+
'PHP_Token_ENDSWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 549 |
+
'PHP_Token_ENDWHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 550 |
+
'PHP_Token_END_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 551 |
+
'PHP_Token_ENUM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 552 |
+
'PHP_Token_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 553 |
+
'PHP_Token_EQUALS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 554 |
+
'PHP_Token_EVAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 555 |
+
'PHP_Token_EXCLAMATION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 556 |
+
'PHP_Token_EXIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 557 |
+
'PHP_Token_EXTENDS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 558 |
+
'PHP_Token_FILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 559 |
+
'PHP_Token_FINAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 560 |
+
'PHP_Token_FINALLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 561 |
+
'PHP_Token_FOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 562 |
+
'PHP_Token_FOREACH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 563 |
+
'PHP_Token_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 564 |
+
'PHP_Token_FUNC_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 565 |
+
'PHP_Token_GLOBAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 566 |
+
'PHP_Token_GOTO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 567 |
+
'PHP_Token_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 568 |
+
'PHP_Token_HALT_COMPILER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 569 |
+
'PHP_Token_IF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 570 |
+
'PHP_Token_IMPLEMENTS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 571 |
+
'PHP_Token_IN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 572 |
+
'PHP_Token_INC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 573 |
+
'PHP_Token_INCLUDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 574 |
+
'PHP_Token_INCLUDE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 575 |
+
'PHP_Token_INLINE_HTML' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 576 |
+
'PHP_Token_INSTANCEOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 577 |
+
'PHP_Token_INSTEADOF' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 578 |
+
'PHP_Token_INTERFACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 579 |
+
'PHP_Token_INT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 580 |
+
'PHP_Token_ISSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 581 |
+
'PHP_Token_IS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 582 |
+
'PHP_Token_IS_GREATER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 583 |
+
'PHP_Token_IS_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 584 |
+
'PHP_Token_IS_NOT_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 585 |
+
'PHP_Token_IS_NOT_IDENTICAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 586 |
+
'PHP_Token_IS_SMALLER_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 587 |
+
'PHP_Token_Includes' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 588 |
+
'PHP_Token_JOIN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 589 |
+
'PHP_Token_LAMBDA_ARROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 590 |
+
'PHP_Token_LAMBDA_CP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 591 |
+
'PHP_Token_LAMBDA_OP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 592 |
+
'PHP_Token_LINE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 593 |
+
'PHP_Token_LIST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 594 |
+
'PHP_Token_LNUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 595 |
+
'PHP_Token_LOGICAL_AND' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 596 |
+
'PHP_Token_LOGICAL_OR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 597 |
+
'PHP_Token_LOGICAL_XOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 598 |
+
'PHP_Token_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 599 |
+
'PHP_Token_METHOD_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 600 |
+
'PHP_Token_MINUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 601 |
+
'PHP_Token_MINUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 602 |
+
'PHP_Token_MOD_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 603 |
+
'PHP_Token_MULT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 604 |
+
'PHP_Token_MUL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 605 |
+
'PHP_Token_NAMESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 606 |
+
'PHP_Token_NEW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 607 |
+
'PHP_Token_NS_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 608 |
+
'PHP_Token_NS_SEPARATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 609 |
+
'PHP_Token_NULLSAFE_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 610 |
+
'PHP_Token_NUM_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 611 |
+
'PHP_Token_OBJECT_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 612 |
+
'PHP_Token_OBJECT_OPERATOR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 613 |
+
'PHP_Token_ONUMBER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 614 |
+
'PHP_Token_OPEN_BRACKET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 615 |
+
'PHP_Token_OPEN_CURLY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 616 |
+
'PHP_Token_OPEN_SQUARE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 617 |
+
'PHP_Token_OPEN_TAG' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 618 |
+
'PHP_Token_OPEN_TAG_WITH_ECHO' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 619 |
+
'PHP_Token_OR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 620 |
+
'PHP_Token_PAAMAYIM_NEKUDOTAYIM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 621 |
+
'PHP_Token_PERCENT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 622 |
+
'PHP_Token_PIPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 623 |
+
'PHP_Token_PLUS' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 624 |
+
'PHP_Token_PLUS_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 625 |
+
'PHP_Token_POW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 626 |
+
'PHP_Token_POW_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 627 |
+
'PHP_Token_PRINT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 628 |
+
'PHP_Token_PRIVATE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 629 |
+
'PHP_Token_PROTECTED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 630 |
+
'PHP_Token_PUBLIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 631 |
+
'PHP_Token_QUESTION_MARK' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 632 |
+
'PHP_Token_REQUIRE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 633 |
+
'PHP_Token_REQUIRE_ONCE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 634 |
+
'PHP_Token_RETURN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 635 |
+
'PHP_Token_SEMICOLON' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 636 |
+
'PHP_Token_SHAPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 637 |
+
'PHP_Token_SL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 638 |
+
'PHP_Token_SL_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 639 |
+
'PHP_Token_SPACESHIP' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 640 |
+
'PHP_Token_SR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 641 |
+
'PHP_Token_SR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 642 |
+
'PHP_Token_START_HEREDOC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 643 |
+
'PHP_Token_STATIC' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 644 |
+
'PHP_Token_STRING' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 645 |
+
'PHP_Token_STRING_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 646 |
+
'PHP_Token_STRING_VARNAME' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 647 |
+
'PHP_Token_SUPER' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 648 |
+
'PHP_Token_SWITCH' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 649 |
+
'PHP_Token_Stream' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream.php',
|
| 650 |
+
'PHP_Token_Stream_CachingFactory' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token/Stream/CachingFactory.php',
|
| 651 |
+
'PHP_Token_THROW' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 652 |
+
'PHP_Token_TILDE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 653 |
+
'PHP_Token_TRAIT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 654 |
+
'PHP_Token_TRAIT_C' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 655 |
+
'PHP_Token_TRY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 656 |
+
'PHP_Token_TYPE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 657 |
+
'PHP_Token_TYPELIST_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 658 |
+
'PHP_Token_TYPELIST_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 659 |
+
'PHP_Token_UNSET' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 660 |
+
'PHP_Token_UNSET_CAST' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 661 |
+
'PHP_Token_USE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 662 |
+
'PHP_Token_USE_FUNCTION' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 663 |
+
'PHP_Token_VAR' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 664 |
+
'PHP_Token_VARIABLE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 665 |
+
'PHP_Token_WHERE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 666 |
+
'PHP_Token_WHILE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 667 |
+
'PHP_Token_WHITESPACE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 668 |
+
'PHP_Token_XHP_ATTRIBUTE' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 669 |
+
'PHP_Token_XHP_CATEGORY' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 670 |
+
'PHP_Token_XHP_CATEGORY_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 671 |
+
'PHP_Token_XHP_CHILDREN' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 672 |
+
'PHP_Token_XHP_LABEL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 673 |
+
'PHP_Token_XHP_REQUIRED' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 674 |
+
'PHP_Token_XHP_TAG_GT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 675 |
+
'PHP_Token_XHP_TAG_LT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 676 |
+
'PHP_Token_XHP_TEXT' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 677 |
+
'PHP_Token_XOR_EQUAL' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 678 |
+
'PHP_Token_YIELD' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 679 |
+
'PHP_Token_YIELD_FROM' => __DIR__ . '/..' . '/phpunit/php-token-stream/src/Token.php',
|
| 680 |
+
'ParseError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
|
| 681 |
+
'PharIo\\Manifest\\Application' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Application.php',
|
| 682 |
+
'PharIo\\Manifest\\ApplicationName' => __DIR__ . '/..' . '/phar-io/manifest/src/values/ApplicationName.php',
|
| 683 |
+
'PharIo\\Manifest\\Author' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Author.php',
|
| 684 |
+
'PharIo\\Manifest\\AuthorCollection' => __DIR__ . '/..' . '/phar-io/manifest/src/values/AuthorCollection.php',
|
| 685 |
+
'PharIo\\Manifest\\AuthorCollectionIterator' => __DIR__ . '/..' . '/phar-io/manifest/src/values/AuthorCollectionIterator.php',
|
| 686 |
+
'PharIo\\Manifest\\AuthorElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/AuthorElement.php',
|
| 687 |
+
'PharIo\\Manifest\\AuthorElementCollection' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/AuthorElementCollection.php',
|
| 688 |
+
'PharIo\\Manifest\\BundledComponent' => __DIR__ . '/..' . '/phar-io/manifest/src/values/BundledComponent.php',
|
| 689 |
+
'PharIo\\Manifest\\BundledComponentCollection' => __DIR__ . '/..' . '/phar-io/manifest/src/values/BundledComponentCollection.php',
|
| 690 |
+
'PharIo\\Manifest\\BundledComponentCollectionIterator' => __DIR__ . '/..' . '/phar-io/manifest/src/values/BundledComponentCollectionIterator.php',
|
| 691 |
+
'PharIo\\Manifest\\BundlesElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/BundlesElement.php',
|
| 692 |
+
'PharIo\\Manifest\\ComponentElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ComponentElement.php',
|
| 693 |
+
'PharIo\\Manifest\\ComponentElementCollection' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ComponentElementCollection.php',
|
| 694 |
+
'PharIo\\Manifest\\ContainsElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ContainsElement.php',
|
| 695 |
+
'PharIo\\Manifest\\CopyrightElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/CopyrightElement.php',
|
| 696 |
+
'PharIo\\Manifest\\CopyrightInformation' => __DIR__ . '/..' . '/phar-io/manifest/src/values/CopyrightInformation.php',
|
| 697 |
+
'PharIo\\Manifest\\ElementCollection' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ElementCollection.php',
|
| 698 |
+
'PharIo\\Manifest\\Email' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Email.php',
|
| 699 |
+
'PharIo\\Manifest\\Exception' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/Exception.php',
|
| 700 |
+
'PharIo\\Manifest\\ExtElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ExtElement.php',
|
| 701 |
+
'PharIo\\Manifest\\ExtElementCollection' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ExtElementCollection.php',
|
| 702 |
+
'PharIo\\Manifest\\Extension' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Extension.php',
|
| 703 |
+
'PharIo\\Manifest\\ExtensionElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ExtensionElement.php',
|
| 704 |
+
'PharIo\\Manifest\\InvalidApplicationNameException' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/InvalidApplicationNameException.php',
|
| 705 |
+
'PharIo\\Manifest\\InvalidEmailException' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/InvalidEmailException.php',
|
| 706 |
+
'PharIo\\Manifest\\InvalidUrlException' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/InvalidUrlException.php',
|
| 707 |
+
'PharIo\\Manifest\\Library' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Library.php',
|
| 708 |
+
'PharIo\\Manifest\\License' => __DIR__ . '/..' . '/phar-io/manifest/src/values/License.php',
|
| 709 |
+
'PharIo\\Manifest\\LicenseElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/LicenseElement.php',
|
| 710 |
+
'PharIo\\Manifest\\Manifest' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Manifest.php',
|
| 711 |
+
'PharIo\\Manifest\\ManifestDocument' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ManifestDocument.php',
|
| 712 |
+
'PharIo\\Manifest\\ManifestDocumentException' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/ManifestDocumentException.php',
|
| 713 |
+
'PharIo\\Manifest\\ManifestDocumentLoadingException' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ManifestDocumentLoadingException.php',
|
| 714 |
+
'PharIo\\Manifest\\ManifestDocumentMapper' => __DIR__ . '/..' . '/phar-io/manifest/src/ManifestDocumentMapper.php',
|
| 715 |
+
'PharIo\\Manifest\\ManifestDocumentMapperException' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/ManifestDocumentMapperException.php',
|
| 716 |
+
'PharIo\\Manifest\\ManifestElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/ManifestElement.php',
|
| 717 |
+
'PharIo\\Manifest\\ManifestElementException' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/ManifestElementException.php',
|
| 718 |
+
'PharIo\\Manifest\\ManifestLoader' => __DIR__ . '/..' . '/phar-io/manifest/src/ManifestLoader.php',
|
| 719 |
+
'PharIo\\Manifest\\ManifestLoaderException' => __DIR__ . '/..' . '/phar-io/manifest/src/exceptions/ManifestLoaderException.php',
|
| 720 |
+
'PharIo\\Manifest\\ManifestSerializer' => __DIR__ . '/..' . '/phar-io/manifest/src/ManifestSerializer.php',
|
| 721 |
+
'PharIo\\Manifest\\PhpElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/PhpElement.php',
|
| 722 |
+
'PharIo\\Manifest\\PhpExtensionRequirement' => __DIR__ . '/..' . '/phar-io/manifest/src/values/PhpExtensionRequirement.php',
|
| 723 |
+
'PharIo\\Manifest\\PhpVersionRequirement' => __DIR__ . '/..' . '/phar-io/manifest/src/values/PhpVersionRequirement.php',
|
| 724 |
+
'PharIo\\Manifest\\Requirement' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Requirement.php',
|
| 725 |
+
'PharIo\\Manifest\\RequirementCollection' => __DIR__ . '/..' . '/phar-io/manifest/src/values/RequirementCollection.php',
|
| 726 |
+
'PharIo\\Manifest\\RequirementCollectionIterator' => __DIR__ . '/..' . '/phar-io/manifest/src/values/RequirementCollectionIterator.php',
|
| 727 |
+
'PharIo\\Manifest\\RequiresElement' => __DIR__ . '/..' . '/phar-io/manifest/src/xml/RequiresElement.php',
|
| 728 |
+
'PharIo\\Manifest\\Type' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Type.php',
|
| 729 |
+
'PharIo\\Manifest\\Url' => __DIR__ . '/..' . '/phar-io/manifest/src/values/Url.php',
|
| 730 |
+
'PharIo\\Version\\AbstractVersionConstraint' => __DIR__ . '/..' . '/phar-io/version/src/AbstractVersionConstraint.php',
|
| 731 |
+
'PharIo\\Version\\AndVersionConstraintGroup' => __DIR__ . '/..' . '/phar-io/version/src/AndVersionConstraintGroup.php',
|
| 732 |
+
'PharIo\\Version\\AnyVersionConstraint' => __DIR__ . '/..' . '/phar-io/version/src/AnyVersionConstraint.php',
|
| 733 |
+
'PharIo\\Version\\ExactVersionConstraint' => __DIR__ . '/..' . '/phar-io/version/src/ExactVersionConstraint.php',
|
| 734 |
+
'PharIo\\Version\\Exception' => __DIR__ . '/..' . '/phar-io/version/src/Exception.php',
|
| 735 |
+
'PharIo\\Version\\GreaterThanOrEqualToVersionConstraint' => __DIR__ . '/..' . '/phar-io/version/src/GreaterThanOrEqualToVersionConstraint.php',
|
| 736 |
+
'PharIo\\Version\\InvalidVersionException' => __DIR__ . '/..' . '/phar-io/version/src/InvalidVersionException.php',
|
| 737 |
+
'PharIo\\Version\\OrVersionConstraintGroup' => __DIR__ . '/..' . '/phar-io/version/src/OrVersionConstraintGroup.php',
|
| 738 |
+
'PharIo\\Version\\PreReleaseSuffix' => __DIR__ . '/..' . '/phar-io/version/src/PreReleaseSuffix.php',
|
| 739 |
+
'PharIo\\Version\\SpecificMajorAndMinorVersionConstraint' => __DIR__ . '/..' . '/phar-io/version/src/SpecificMajorAndMinorVersionConstraint.php',
|
| 740 |
+
'PharIo\\Version\\SpecificMajorVersionConstraint' => __DIR__ . '/..' . '/phar-io/version/src/SpecificMajorVersionConstraint.php',
|
| 741 |
+
'PharIo\\Version\\UnsupportedVersionConstraintException' => __DIR__ . '/..' . '/phar-io/version/src/UnsupportedVersionConstraintException.php',
|
| 742 |
+
'PharIo\\Version\\Version' => __DIR__ . '/..' . '/phar-io/version/src/Version.php',
|
| 743 |
+
'PharIo\\Version\\VersionConstraint' => __DIR__ . '/..' . '/phar-io/version/src/VersionConstraint.php',
|
| 744 |
+
'PharIo\\Version\\VersionConstraintParser' => __DIR__ . '/..' . '/phar-io/version/src/VersionConstraintParser.php',
|
| 745 |
+
'PharIo\\Version\\VersionConstraintValue' => __DIR__ . '/..' . '/phar-io/version/src/VersionConstraintValue.php',
|
| 746 |
+
'PharIo\\Version\\VersionNumber' => __DIR__ . '/..' . '/phar-io/version/src/VersionNumber.php',
|
| 747 |
+
'SebastianBergmann\\CodeCoverage\\CodeCoverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/CodeCoverage.php',
|
| 748 |
+
'SebastianBergmann\\CodeCoverage\\CoveredCodeNotExecutedException' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Exception/CoveredCodeNotExecutedException.php',
|
| 749 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\Driver' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Driver/Driver.php',
|
| 750 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\HHVM' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Driver/HHVM.php',
|
| 751 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\PHPDBG' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Driver/PHPDBG.php',
|
| 752 |
+
'SebastianBergmann\\CodeCoverage\\Driver\\Xdebug' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Driver/Xdebug.php',
|
| 753 |
+
'SebastianBergmann\\CodeCoverage\\Exception' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Exception/Exception.php',
|
| 754 |
+
'SebastianBergmann\\CodeCoverage\\Filter' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Filter.php',
|
| 755 |
+
'SebastianBergmann\\CodeCoverage\\InvalidArgumentException' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Exception/InvalidArgumentException.php',
|
| 756 |
+
'SebastianBergmann\\CodeCoverage\\MissingCoversAnnotationException' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Exception/MissingCoversAnnotationException.php',
|
| 757 |
+
'SebastianBergmann\\CodeCoverage\\Node\\AbstractNode' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Node/AbstractNode.php',
|
| 758 |
+
'SebastianBergmann\\CodeCoverage\\Node\\Builder' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Node/Builder.php',
|
| 759 |
+
'SebastianBergmann\\CodeCoverage\\Node\\Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Node/Directory.php',
|
| 760 |
+
'SebastianBergmann\\CodeCoverage\\Node\\File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Node/File.php',
|
| 761 |
+
'SebastianBergmann\\CodeCoverage\\Node\\Iterator' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Node/Iterator.php',
|
| 762 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Clover' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Clover.php',
|
| 763 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Crap4j' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Crap4j.php',
|
| 764 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Dashboard' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Html/Renderer/Dashboard.php',
|
| 765 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Html/Renderer/Directory.php',
|
| 766 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Facade' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Html/Facade.php',
|
| 767 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php',
|
| 768 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Html\\Renderer' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Html/Renderer.php',
|
| 769 |
+
'SebastianBergmann\\CodeCoverage\\Report\\PHP' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/PHP.php',
|
| 770 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Text' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Text.php',
|
| 771 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\BuildInformation' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/BuildInformation.php',
|
| 772 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Coverage' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Coverage.php',
|
| 773 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Directory' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Directory.php',
|
| 774 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Facade' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Facade.php',
|
| 775 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\File' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/File.php',
|
| 776 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Method' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Method.php',
|
| 777 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Node' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Node.php',
|
| 778 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Project' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Project.php',
|
| 779 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Report' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Report.php',
|
| 780 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Source' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Source.php',
|
| 781 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Tests' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Tests.php',
|
| 782 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Totals' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Totals.php',
|
| 783 |
+
'SebastianBergmann\\CodeCoverage\\Report\\Xml\\Unit' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Report/Xml/Unit.php',
|
| 784 |
+
'SebastianBergmann\\CodeCoverage\\RuntimeException' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Exception/RuntimeException.php',
|
| 785 |
+
'SebastianBergmann\\CodeCoverage\\UnintentionallyCoveredCodeException' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Exception/UnintentionallyCoveredCodeException.php',
|
| 786 |
+
'SebastianBergmann\\CodeCoverage\\Util' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Util.php',
|
| 787 |
+
'SebastianBergmann\\CodeCoverage\\Version' => __DIR__ . '/..' . '/phpunit/php-code-coverage/src/Version.php',
|
| 788 |
+
'SebastianBergmann\\CodeUnitReverseLookup\\Wizard' => __DIR__ . '/..' . '/sebastian/code-unit-reverse-lookup/src/Wizard.php',
|
| 789 |
+
'SebastianBergmann\\Comparator\\ArrayComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ArrayComparator.php',
|
| 790 |
+
'SebastianBergmann\\Comparator\\Comparator' => __DIR__ . '/..' . '/sebastian/comparator/src/Comparator.php',
|
| 791 |
+
'SebastianBergmann\\Comparator\\ComparisonFailure' => __DIR__ . '/..' . '/sebastian/comparator/src/ComparisonFailure.php',
|
| 792 |
+
'SebastianBergmann\\Comparator\\DOMNodeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DOMNodeComparator.php',
|
| 793 |
+
'SebastianBergmann\\Comparator\\DateTimeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DateTimeComparator.php',
|
| 794 |
+
'SebastianBergmann\\Comparator\\DoubleComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/DoubleComparator.php',
|
| 795 |
+
'SebastianBergmann\\Comparator\\ExceptionComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ExceptionComparator.php',
|
| 796 |
+
'SebastianBergmann\\Comparator\\Factory' => __DIR__ . '/..' . '/sebastian/comparator/src/Factory.php',
|
| 797 |
+
'SebastianBergmann\\Comparator\\MockObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/MockObjectComparator.php',
|
| 798 |
+
'SebastianBergmann\\Comparator\\NumericComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/NumericComparator.php',
|
| 799 |
+
'SebastianBergmann\\Comparator\\ObjectComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ObjectComparator.php',
|
| 800 |
+
'SebastianBergmann\\Comparator\\ResourceComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ResourceComparator.php',
|
| 801 |
+
'SebastianBergmann\\Comparator\\ScalarComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/ScalarComparator.php',
|
| 802 |
+
'SebastianBergmann\\Comparator\\SplObjectStorageComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/SplObjectStorageComparator.php',
|
| 803 |
+
'SebastianBergmann\\Comparator\\TypeComparator' => __DIR__ . '/..' . '/sebastian/comparator/src/TypeComparator.php',
|
| 804 |
+
'SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php',
|
| 805 |
+
'SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php',
|
| 806 |
+
'SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php',
|
| 807 |
+
'SebastianBergmann\\Diff\\Exception' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/Exception.php',
|
| 808 |
+
'SebastianBergmann\\Diff\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/InvalidArgumentException.php',
|
| 809 |
+
'SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php',
|
| 810 |
+
'SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php',
|
| 811 |
+
'SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php',
|
| 812 |
+
'SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php',
|
| 813 |
+
'SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php',
|
| 814 |
+
'SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php',
|
| 815 |
+
'SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php',
|
| 816 |
+
'SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php',
|
| 817 |
+
'SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php',
|
| 818 |
+
'SebastianBergmann\\Environment\\Console' => __DIR__ . '/..' . '/sebastian/environment/src/Console.php',
|
| 819 |
+
'SebastianBergmann\\Environment\\OperatingSystem' => __DIR__ . '/..' . '/sebastian/environment/src/OperatingSystem.php',
|
| 820 |
+
'SebastianBergmann\\Environment\\Runtime' => __DIR__ . '/..' . '/sebastian/environment/src/Runtime.php',
|
| 821 |
+
'SebastianBergmann\\Exporter\\Exporter' => __DIR__ . '/..' . '/sebastian/exporter/src/Exporter.php',
|
| 822 |
+
'SebastianBergmann\\GlobalState\\Blacklist' => __DIR__ . '/..' . '/sebastian/global-state/src/Blacklist.php',
|
| 823 |
+
'SebastianBergmann\\GlobalState\\CodeExporter' => __DIR__ . '/..' . '/sebastian/global-state/src/CodeExporter.php',
|
| 824 |
+
'SebastianBergmann\\GlobalState\\Exception' => __DIR__ . '/..' . '/sebastian/global-state/src/exceptions/Exception.php',
|
| 825 |
+
'SebastianBergmann\\GlobalState\\Restorer' => __DIR__ . '/..' . '/sebastian/global-state/src/Restorer.php',
|
| 826 |
+
'SebastianBergmann\\GlobalState\\RuntimeException' => __DIR__ . '/..' . '/sebastian/global-state/src/exceptions/RuntimeException.php',
|
| 827 |
+
'SebastianBergmann\\GlobalState\\Snapshot' => __DIR__ . '/..' . '/sebastian/global-state/src/Snapshot.php',
|
| 828 |
+
'SebastianBergmann\\ObjectEnumerator\\Enumerator' => __DIR__ . '/..' . '/sebastian/object-enumerator/src/Enumerator.php',
|
| 829 |
+
'SebastianBergmann\\ObjectEnumerator\\Exception' => __DIR__ . '/..' . '/sebastian/object-enumerator/src/Exception.php',
|
| 830 |
+
'SebastianBergmann\\ObjectEnumerator\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/object-enumerator/src/InvalidArgumentException.php',
|
| 831 |
+
'SebastianBergmann\\ObjectReflector\\Exception' => __DIR__ . '/..' . '/sebastian/object-reflector/src/Exception.php',
|
| 832 |
+
'SebastianBergmann\\ObjectReflector\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/object-reflector/src/InvalidArgumentException.php',
|
| 833 |
+
'SebastianBergmann\\ObjectReflector\\ObjectReflector' => __DIR__ . '/..' . '/sebastian/object-reflector/src/ObjectReflector.php',
|
| 834 |
+
'SebastianBergmann\\RecursionContext\\Context' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Context.php',
|
| 835 |
+
'SebastianBergmann\\RecursionContext\\Exception' => __DIR__ . '/..' . '/sebastian/recursion-context/src/Exception.php',
|
| 836 |
+
'SebastianBergmann\\RecursionContext\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/recursion-context/src/InvalidArgumentException.php',
|
| 837 |
+
'SebastianBergmann\\ResourceOperations\\ResourceOperations' => __DIR__ . '/..' . '/sebastian/resource-operations/src/ResourceOperations.php',
|
| 838 |
+
'SebastianBergmann\\Version' => __DIR__ . '/..' . '/sebastian/version/src/Version.php',
|
| 839 |
+
'SessionUpdateTimestampHandlerInterface' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
|
| 840 |
+
'Text_Template' => __DIR__ . '/..' . '/phpunit/php-text-template/src/Template.php',
|
| 841 |
+
'TheSeer\\Tokenizer\\Exception' => __DIR__ . '/..' . '/theseer/tokenizer/src/Exception.php',
|
| 842 |
+
'TheSeer\\Tokenizer\\NamespaceUri' => __DIR__ . '/..' . '/theseer/tokenizer/src/NamespaceUri.php',
|
| 843 |
+
'TheSeer\\Tokenizer\\NamespaceUriException' => __DIR__ . '/..' . '/theseer/tokenizer/src/NamespaceUriException.php',
|
| 844 |
+
'TheSeer\\Tokenizer\\Token' => __DIR__ . '/..' . '/theseer/tokenizer/src/Token.php',
|
| 845 |
+
'TheSeer\\Tokenizer\\TokenCollection' => __DIR__ . '/..' . '/theseer/tokenizer/src/TokenCollection.php',
|
| 846 |
+
'TheSeer\\Tokenizer\\TokenCollectionException' => __DIR__ . '/..' . '/theseer/tokenizer/src/TokenCollectionException.php',
|
| 847 |
+
'TheSeer\\Tokenizer\\Tokenizer' => __DIR__ . '/..' . '/theseer/tokenizer/src/Tokenizer.php',
|
| 848 |
+
'TheSeer\\Tokenizer\\XMLSerializer' => __DIR__ . '/..' . '/theseer/tokenizer/src/XMLSerializer.php',
|
| 849 |
+
'TypeError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
|
| 850 |
+
'WP_CLI' => __DIR__ . '/../..' . '/tests/phpunit/stubs/class-wp-cli.php',
|
| 851 |
+
'WP_CLI_Command' => __DIR__ . '/../..' . '/tests/phpunit/stubs/class-wp-cli-command.php',
|
| 852 |
+
'WP_Mock' => __DIR__ . '/..' . '/10up/wp_mock/php/WP_Mock.php',
|
| 853 |
+
'cli\\progress\\Bar' => __DIR__ . '/../..' . '/tests/phpunit/stubs/class-bar.php',
|
| 854 |
);
|
| 855 |
|
| 856 |
public static function getInitializer(ClassLoader $loader)
|
| 857 |
{
|
| 858 |
return \Closure::bind(function () use ($loader) {
|
| 859 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit7b83804bec66524f8ede823838ffb903::$prefixLengthsPsr4;
|
| 860 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit7b83804bec66524f8ede823838ffb903::$prefixDirsPsr4;
|
| 861 |
+
$loader->prefixesPsr0 = ComposerStaticInit7b83804bec66524f8ede823838ffb903::$prefixesPsr0;
|
| 862 |
+
$loader->classMap = ComposerStaticInit7b83804bec66524f8ede823838ffb903::$classMap;
|
| 863 |
|
| 864 |
}, null, ClassLoader::class);
|
| 865 |
}
|
vendor/composer/installed.json
CHANGED
|
@@ -1,126 +1,4232 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
"
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
"
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
"
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
"
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
"
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
"
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
"
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
"
|
| 73 |
-
"
|
| 74 |
-
"
|
| 75 |
-
"
|
| 76 |
-
"
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
"
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
"
|
| 86 |
-
"
|
| 87 |
-
"
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
"
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
"
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
"
|
| 104 |
-
"
|
| 105 |
-
"
|
| 106 |
-
"
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
"
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
"
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
"
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
