Changeset 2686283
- Timestamp:
- 03/01/2022 02:48:16 AM (4 years ago)
- Location:
- sophi
- Files:
-
- 38 added
- 2 deleted
- 216 edited
- 1 copied
-
tags/1.0.10 (copied) (copied from sophi/trunk)
-
tags/1.0.10/includes/classes/SiteAutomation/Request.php (modified) (5 diffs)
-
tags/1.0.10/readme.txt (modified) (8 diffs)
-
tags/1.0.10/sophi.php (modified) (2 diffs)
-
tags/1.0.10/vendor/autoload.php (modified) (1 diff)
-
tags/1.0.10/vendor/brick/math/random-tests.php (deleted)
-
tags/1.0.10/vendor/brick/math/src/BigDecimal.php (modified) (2 diffs)
-
tags/1.0.10/vendor/brick/math/src/BigInteger.php (modified) (1 diff)
-
tags/1.0.10/vendor/brick/math/src/BigRational.php (modified) (1 diff)
-
tags/1.0.10/vendor/brick/math/src/Internal/Calculator.php (modified) (2 diffs)
-
tags/1.0.10/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php (modified) (1 diff)
-
tags/1.0.10/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
tags/1.0.10/vendor/composer/autoload_files.php (modified) (1 diff)
-
tags/1.0.10/vendor/composer/autoload_psr4.php (modified) (1 diff)
-
tags/1.0.10/vendor/composer/autoload_real.php (modified) (5 diffs)
-
tags/1.0.10/vendor/composer/autoload_static.php (modified) (5 diffs)
-
tags/1.0.10/vendor/composer/installed.json (modified) (18 diffs)
-
tags/1.0.10/vendor/composer/installed.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/collection/LICENSE (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/AbstractArray.php (modified) (6 diffs)
-
tags/1.0.10/vendor/ramsey/collection/src/AbstractCollection.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/collection/src/AbstractSet.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/ArrayInterface.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Collection.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/CollectionInterface.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/DoubleEndedQueue.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/DoubleEndedQueueInterface.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/GenericArray.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Map/AbstractMap.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Map/AbstractTypedMap.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/collection/src/Map/AssociativeArrayMap.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Map/MapInterface.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Map/NamedParameterMap.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Map/TypedMap.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/collection/src/Map/TypedMapInterface.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Queue.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/QueueInterface.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/collection/src/Set.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/LICENSE (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Builder/BuilderCollection.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Builder/DefaultUuidBuilder.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Builder/FallbackBuilder.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Codec/StringCodec.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/DateTimeException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/DceSecurityException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/NameException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/NodeException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/RandomSourceException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/TimeSourceException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php (added)
-
tags/1.0.10/vendor/ramsey/uuid/src/FeatureSet.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Fields/SerializableFieldsTrait.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Generator/CombGenerator.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Generator/DceSecurityGenerator.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Generator/DefaultNameGenerator.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Guid/Fields.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Guid/Guid.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Lazy/LazyUuidFromString.php (modified) (6 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Nonstandard/Uuid.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php (modified) (3 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php (modified) (2 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Rfc4122/Fields.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Rfc4122/VariantTrait.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/Type/Decimal.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Type/Hexadecimal.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Type/Integer.php (modified) (7 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Type/Time.php (modified) (4 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/Uuid.php (modified) (5 diffs)
-
tags/1.0.10/vendor/ramsey/uuid/src/UuidFactory.php (modified) (1 diff)
-
tags/1.0.10/vendor/ramsey/uuid/src/functions.php (modified) (6 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/.github/workflows/cd.yml (modified) (1 diff)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/.github/workflows/ci.yml (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/CHANGELOG (modified) (1 diff)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/Dockerfile (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/LICENSE-2.0.txt (modified) (1 diff)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/Worker.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/script/install-composer.sh (added)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Constants.php (modified) (3 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitter.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/CurlEmitter.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/FileEmitter.php (modified) (4 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/SocketEmitter.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/SyncEmitter.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Payload.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Subject.php (modified) (3 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Tracker.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/EmitterTest.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/PayloadTest.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/SubjectTest.php (modified) (3 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/TrackerTest.php (modified) (4 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/CurlEmitterTest.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/FileEmitterTest.php (modified) (3 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SocketEmitterTest.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SyncEmitterTest.php (modified) (2 diffs)
-
tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/IntegrationTest.php (modified) (2 diffs)
-
tags/1.0.10/vendor/symfony/polyfill-php80 (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/LICENSE (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/Php80.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/Resources (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/Resources/stubs (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php80/bootstrap.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php81 (added)
-
tags/1.0.10/vendor/symfony/polyfill-php81/LICENSE (added)
-
tags/1.0.10/vendor/symfony/polyfill-php81/Php81.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php81/Resources (added)
-
tags/1.0.10/vendor/symfony/polyfill-php81/Resources/stubs (added)
-
tags/1.0.10/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php (added)
-
tags/1.0.10/vendor/symfony/polyfill-php81/bootstrap.php (added)
-
trunk/includes/classes/SiteAutomation/Request.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (8 diffs)
-
trunk/sophi.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/brick/math/random-tests.php (deleted)
-
trunk/vendor/brick/math/src/BigDecimal.php (modified) (2 diffs)
-
trunk/vendor/brick/math/src/BigInteger.php (modified) (1 diff)
-
trunk/vendor/brick/math/src/BigRational.php (modified) (1 diff)
-
trunk/vendor/brick/math/src/Internal/Calculator.php (modified) (2 diffs)
-
trunk/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_files.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_psr4.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (5 diffs)
-
trunk/vendor/composer/installed.json (modified) (18 diffs)
-
trunk/vendor/composer/installed.php (modified) (4 diffs)
-
trunk/vendor/ramsey/collection/LICENSE (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/AbstractArray.php (modified) (6 diffs)
-
trunk/vendor/ramsey/collection/src/AbstractCollection.php (modified) (4 diffs)
-
trunk/vendor/ramsey/collection/src/AbstractSet.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/ArrayInterface.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Collection.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/CollectionInterface.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/DoubleEndedQueue.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/DoubleEndedQueueInterface.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/GenericArray.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Map/AbstractMap.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Map/AbstractTypedMap.php (modified) (2 diffs)
-
trunk/vendor/ramsey/collection/src/Map/AssociativeArrayMap.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Map/MapInterface.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Map/NamedParameterMap.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Map/TypedMap.php (modified) (2 diffs)
-
trunk/vendor/ramsey/collection/src/Map/TypedMapInterface.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Queue.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/QueueInterface.php (modified) (1 diff)
-
trunk/vendor/ramsey/collection/src/Set.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/LICENSE (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Builder/BuilderCollection.php (modified) (4 diffs)
-
trunk/vendor/ramsey/uuid/src/Builder/DefaultUuidBuilder.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Builder/FallbackBuilder.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Codec/StringCodec.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/DateTimeException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/DceSecurityException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/NameException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/NodeException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/RandomSourceException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/TimeSourceException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Exception/UuidExceptionInterface.php (added)
-
trunk/vendor/ramsey/uuid/src/FeatureSet.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Fields/SerializableFieldsTrait.php (modified) (4 diffs)
-
trunk/vendor/ramsey/uuid/src/Generator/CombGenerator.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Generator/DceSecurityGenerator.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Generator/DefaultNameGenerator.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Guid/Fields.php (modified) (4 diffs)
-
trunk/vendor/ramsey/uuid/src/Guid/Guid.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Lazy/LazyUuidFromString.php (modified) (6 diffs)
-
trunk/vendor/ramsey/uuid/src/Nonstandard/Uuid.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php (modified) (3 diffs)
-
trunk/vendor/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php (modified) (4 diffs)
-
trunk/vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php (modified) (2 diffs)
-
trunk/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Rfc4122/Fields.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Rfc4122/VariantTrait.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/Type/Decimal.php (modified) (4 diffs)
-
trunk/vendor/ramsey/uuid/src/Type/Hexadecimal.php (modified) (4 diffs)
-
trunk/vendor/ramsey/uuid/src/Type/Integer.php (modified) (7 diffs)
-
trunk/vendor/ramsey/uuid/src/Type/Time.php (modified) (4 diffs)
-
trunk/vendor/ramsey/uuid/src/Uuid.php (modified) (5 diffs)
-
trunk/vendor/ramsey/uuid/src/UuidFactory.php (modified) (1 diff)
-
trunk/vendor/ramsey/uuid/src/functions.php (modified) (6 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/.github/workflows/cd.yml (modified) (1 diff)
-
trunk/vendor/snowplow/snowplow-tracker/.github/workflows/ci.yml (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/CHANGELOG (modified) (1 diff)
-
trunk/vendor/snowplow/snowplow-tracker/Dockerfile (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/LICENSE-2.0.txt (modified) (1 diff)
-
trunk/vendor/snowplow/snowplow-tracker/Worker.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/script/install-composer.sh (added)
-
trunk/vendor/snowplow/snowplow-tracker/src/Constants.php (modified) (3 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Emitter.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Emitters/CurlEmitter.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Emitters/FileEmitter.php (modified) (4 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Emitters/SocketEmitter.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Emitters/SyncEmitter.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Payload.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Subject.php (modified) (3 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/src/Tracker.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/EmitterTest.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/PayloadTest.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/SubjectTest.php (modified) (3 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/TrackerTest.php (modified) (4 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/CurlEmitterTest.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/FileEmitterTest.php (modified) (3 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SocketEmitterTest.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SyncEmitterTest.php (modified) (2 diffs)
-
trunk/vendor/snowplow/snowplow-tracker/tests/tests/IntegrationTest.php (modified) (2 diffs)
-
trunk/vendor/symfony/polyfill-php80 (added)
-
trunk/vendor/symfony/polyfill-php80/LICENSE (added)
-
trunk/vendor/symfony/polyfill-php80/Php80.php (added)
-
trunk/vendor/symfony/polyfill-php80/Resources (added)
-
trunk/vendor/symfony/polyfill-php80/Resources/stubs (added)
-
trunk/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php (added)
-
trunk/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php (added)
-
trunk/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php (added)
-
trunk/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php (added)
-
trunk/vendor/symfony/polyfill-php80/bootstrap.php (added)
-
trunk/vendor/symfony/polyfill-php81 (added)
-
trunk/vendor/symfony/polyfill-php81/LICENSE (added)
-
trunk/vendor/symfony/polyfill-php81/Php81.php (added)
-
trunk/vendor/symfony/polyfill-php81/Resources (added)
-
trunk/vendor/symfony/polyfill-php81/Resources/stubs (added)
-
trunk/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php (added)
-
trunk/vendor/symfony/polyfill-php81/bootstrap.php (added)
Legend:
- Unmodified
- Added
- Removed
-
sophi/tags/1.0.10/includes/classes/SiteAutomation/Request.php
r2681627 r2686283 71 71 * @param string $page Page name. 72 72 * @param string $widget Widget name. 73 * @param float $timeout The request timeout value. 73 74 * 74 75 * @return array|bool 75 76 */ 76 public function get( $page, $widget ) {77 public function get( $page, $widget, $timeout = 3 ) { 77 78 $this->page = $page; 78 79 $this->widget = $widget; … … 104 105 } 105 106 106 $response = $this->request( );107 $response = $this->request( $timeout ); 107 108 108 109 if ( is_wp_error( $response ) ) { … … 148 149 */ 149 150 public function do_cron( $page, $widget ) { 150 $this->get( $page, $widget );151 $this->get( $page, $widget, 3 ); 151 152 } 152 153 … … 188 189 * Get curated data from Sophi Site Automation API. 189 190 * 190 * return 191 */ 192 private function request() { 191 * @param float $timeout The request timeout value. 192 * 193 * @return mixed WP_Error on failure or body request on success. 194 */ 195 private function request( $timeout ) { 193 196 $access_token = $this->auth->get_access_token(); 194 197 … … 201 204 'Content-Type' => 'application/json', 202 205 'Authorization' => 'Bearer ' . $access_token, 203 ] 206 ], 204 207 ]; 205 208 206 209 if ( function_exists( 'vip_safe_wp_remote_get' ) ) { 207 $request = vip_safe_wp_remote_get( $this->api_url, false, 3, 1, 20, $args );210 $request = vip_safe_wp_remote_get( $this->api_url, '', 3, $timeout, 20, $args ); 208 211 } else { 209 $request = wp_remote_get( $this->api_url, $args ); // phpcs:ignore 212 $args['timeout'] = $timeout; 213 $request = wp_remote_get( $this->api_url, $args ); // phpcs:ignore 210 214 } 211 215 -
sophi/tags/1.0.10/readme.txt
r2681627 r2686283 3 3 Tags: Sophi, Site Automation, Collector, AI, Artifical Intelligence, ML, Machine Learning, Content Curation 4 4 Tested up to: 5.8 5 Stable tag: 1.0. 95 Stable tag: 1.0.10 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 229 229 == Changelog == 230 230 231 = 1.0.9 - 2022-02-18= 231 = 1.0.10 - 2022-02-28 = 232 * **Changed:** Sets the default timeout of the first Sophi request and the cron request to 3 seconds (props [@oscarssanchez](https://github.com/oscarssanchez), [@barryceelen](https://github.com/barryceelen), [@felipeelia](https://github.com/felipeelia), [@tott](https://github.com/tott)). 233 * **Security:** Update dependency `snowplow/snowplow-tracker` from 0.4.0 to 0.5.0 (props [@renovate](https://github.com/apps/renovate)). 234 235 = 1.0.9 - 2022-02-18 = 232 236 * **Added:** `hostname` and `path` fields to schema (props [@Rahmon](https://github.com/Rahmon), [@dinhtungdu](https://github.com/dinhtungdu)). 233 237 * **Fixed:** Return empty post list from Sophi response (props [@oscarssanchez](https://github.com/oscarssanchez), [@barryceelen](https://github.com/barryceelen), [@felipeelia](https://github.com/felipeelia)). … … 239 243 * **Security:** Update dependency `dealerdirect/phpcodesniffer-composer-installer` from 0.7.1 to 0.7.2 (props [@renovate](https://github.com/apps/renovate)). 240 244 241 = 1.0.8 - 2021-12-23 =245 = 1.0.8 - 2021-12-23 = 242 246 * **Changed:** Updated `auth_url` and `audience` parameters to get respective Staging and Development environment access tokens (props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia)). 243 247 * **Fixed:** Issue where multiple Sophi blocks on the same page had duplicated content (props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia), [@jeffpaul](https://github.com/jeffpaul), [@dinhtungdu](https://github.com/dinhtungdu)). … … 245 249 * **Security:** update dependency `prop-types` from 15.7.2 to 15.8.0 (props [@renovate](https://github.com/marketplace/renovate)). 246 250 247 = 1.0.7 - 2021-10-29 =251 = 1.0.7 - 2021-10-29 = 248 252 * **Changed:** Sophi Auth URL value used for Production, Staging, and Development (props [@jeffpaul](https://profiles.wordpress.org/jeffpaul/), [@barryceelen](https://github.com/barryceelen), [@amckie](https://github.com/amckie)). 249 253 * **Changed:** Sophi Site Automation API URL structure (props [@rahmohn](https://profiles.wordpress.org/rahmohn/)). 250 254 * **Changed:** Sophi Audience URL used in authorization (props [@rahmohn](https://profiles.wordpress.org/rahmohn/)). 251 255 252 = 1.0.6 - 2021-10-27 =256 = 1.0.6 - 2021-10-27 = 253 257 Note: this was a hotfix release to fix an issue with deploys to WordPress.org. 254 258 255 = 1.0.5 - 2021-10-27 =259 = 1.0.5 - 2021-10-27 = 256 260 * **Added:** New content fields sent to Sophi `thumbnailImageUri`, `embeddedImagesCount`, and `keywords` (props [@rahmohn](https://profiles.wordpress.org/rahmohn/), [@felipeelia](https://profiles.wordpress.org/felipeelia), [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). 257 261 * **Changed:** Updated name convention for `appId` (props [@rahmohn](https://profiles.wordpress.org/rahmohn/), [@felipeelia](https://profiles.wordpress.org/felipeelia), [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). … … 266 270 * **Security:** Update dependency `automattic/vipwpcs` from 2.3.2 to 2.3.3 (props [@renovate](https://github.com/marketplace/renovate)). 267 271 268 = 1.0.4 - 2021-07-29 =272 = 1.0.4 - 2021-07-29 = 269 273 * **Added:** Support for Yoast canonical URL (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/)). 270 274 * **Added:** Configure WhiteSource Bolt and Renovate integrations (props [@whitesource-bolt](https://github.com/marketplace/whitesource-bolt), [@renovate](https://github.com/marketplace/renovate)). … … 283 287 * **Security:** Update dependency `10up-toolkit` from 1.0.9 to 1.0.10 (props [@renovate](https://github.com/marketplace/renovate)). 284 288 285 = 1.0.3 - 2021-06-15 =289 = 1.0.3 - 2021-06-15 = 286 290 * **Added:** Data attributes to Site Automation widgets/blocks (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/)). 287 291 * **Changed:** Revisions to tracking data collected to improve Site Automation results (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/)). … … 291 295 * **Fixed:** VIP CLI dry-run mode defaults to `false`, corrects sync limiting, adds progress bar (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@jeffpaul](https://profiles.wordpress.org/jeffpaul/), [@barryceelen](https://profiles.wordpress.org/barryceelen/)). 292 296 293 = 1.0.2 - 2021-04-26 =297 = 1.0.2 - 2021-04-26 = 294 298 * **Changed:** Bump `vipwpcs` from 2.2.0 to 2.3.0 and `php_codesniffer` from 3.5.8 to 3.6.0 (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@jeffpaul](https://profiles.wordpress.org/jeffpaul/)). 295 299 * **Fixed:** WP-CLI command now supports both WordPress VIP and non-VIP environments (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/), [@jeffpaul](https://profiles.wordpress.org/jeffpaul/)). 296 300 297 = 1.0.1 - 2021-04-23 =301 = 1.0.1 - 2021-04-23 = 298 302 * **Added:** `noConfigFile` setting (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). 299 303 * **Added:** GitHub Actions to deploy releases and update readme/asset changes for WordPress.org (props [@jeffpaul](https://profiles.wordpress.org/jeffpaul/), [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). … … 301 305 * **Fixed:** Minor fixes from WordPress VIP code scan (props [@dkotter](https://profiles.wordpress.org/dkotter/)). 302 306 303 = 1.0.0 - 2021-04-14 =307 = 1.0.0 - 2021-04-14 = 304 308 * Initial public release! 🎉 -
sophi/tags/1.0.10/sophi.php
r2681627 r2686283 4 4 * Plugin URI: https://github.com/globeandmail/sophi-for-wordpress 5 5 * Description: WordPress VIP-compatible plugin for the Sophi.io Site Automation service. 6 * Version: 1.0. 96 * Version: 1.0.10 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 … … 17 17 18 18 // Useful global constants. 19 define( 'SOPHI_WP_VERSION', '1.0. 9' );19 define( 'SOPHI_WP_VERSION', '1.0.10' ); 20 20 define( 'SOPHI_WP_URL', plugin_dir_url( __FILE__ ) ); 21 21 define( 'SOPHI_WP_PATH', plugin_dir_path( __FILE__ ) ); -
sophi/tags/1.0.10/vendor/autoload.php
r2681627 r2686283 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee189::getLoader();7 return ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe::getLoader(); -
sophi/tags/1.0.10/vendor/brick/math/src/BigDecimal.php
r2521616 r2686283 754 754 755 755 /** 756 * This method is required by interface Serializableand SHOULD NOT be accessed directly.756 * This method is required for serializing the object and SHOULD NOT be accessed directly. 757 757 * 758 758 * @internal 759 759 * 760 * @return string761 */ 762 public function serialize() : string763 { 764 return $this->value . ':' . $this->scale;765 } 766 767 /** 768 * This method is only here to implement interface Serializableand cannot be accessed directly.760 * @return array{value: string, scale: int} 761 */ 762 public function __serialize(): array 763 { 764 return ['value' => $this->value, 'scale' => $this->scale]; 765 } 766 767 /** 768 * This method is only here to allow unserializing the object and cannot be accessed directly. 769 769 * 770 770 * @internal 771 771 * @psalm-suppress RedundantPropertyInitializationCheck 772 772 * 773 * @param array{value: string, scale: int} $data 774 * 775 * @return void 776 * 777 * @throws \LogicException 778 */ 779 public function __unserialize(array $data): void 780 { 781 if (isset($this->value)) { 782 throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); 783 } 784 785 $this->value = $data['value']; 786 $this->scale = $data['scale']; 787 } 788 789 /** 790 * This method is required by interface Serializable and SHOULD NOT be accessed directly. 791 * 792 * @internal 793 * 794 * @return string 795 */ 796 public function serialize() : string 797 { 798 return $this->value . ':' . $this->scale; 799 } 800 801 /** 802 * This method is only here to implement interface Serializable and cannot be accessed directly. 803 * 804 * @internal 805 * @psalm-suppress RedundantPropertyInitializationCheck 806 * 773 807 * @param string $value 774 808 * … … 795 829 * @param BigDecimal $y The second decimal number. 796 830 * 797 * @return array{ 0: string, 1:string} The scaled integer values of $x and $y.831 * @return array{string, string} The scaled integer values of $x and $y. 798 832 */ 799 833 private function scaleValues(BigDecimal $x, BigDecimal $y) : array -
sophi/tags/1.0.10/vendor/brick/math/src/BigInteger.php
r2521616 r2686283 1118 1118 1119 1119 /** 1120 * This method is required by interface Serializableand SHOULD NOT be accessed directly.1120 * This method is required for serializing the object and SHOULD NOT be accessed directly. 1121 1121 * 1122 1122 * @internal 1123 1123 * 1124 * @return string1125 */ 1126 public function serialize() : string1127 { 1128 return $this->value;1129 } 1130 1131 /** 1132 * This method is only here to implement interface Serializableand cannot be accessed directly.1124 * @return array{value: string} 1125 */ 1126 public function __serialize(): array 1127 { 1128 return ['value' => $this->value]; 1129 } 1130 1131 /** 1132 * This method is only here to allow unserializing the object and cannot be accessed directly. 1133 1133 * 1134 1134 * @internal 1135 1135 * @psalm-suppress RedundantPropertyInitializationCheck 1136 1136 * 1137 * @param array{value: string} $data 1138 * 1139 * @return void 1140 * 1141 * @throws \LogicException 1142 */ 1143 public function __unserialize(array $data): void 1144 { 1145 if (isset($this->value)) { 1146 throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); 1147 } 1148 1149 $this->value = $data['value']; 1150 } 1151 1152 /** 1153 * This method is required by interface Serializable and SHOULD NOT be accessed directly. 1154 * 1155 * @internal 1156 * 1157 * @return string 1158 */ 1159 public function serialize() : string 1160 { 1161 return $this->value; 1162 } 1163 1164 /** 1165 * This method is only here to implement interface Serializable and cannot be accessed directly. 1166 * 1167 * @internal 1168 * @psalm-suppress RedundantPropertyInitializationCheck 1169 * 1137 1170 * @param string $value 1138 1171 * -
sophi/tags/1.0.10/vendor/brick/math/src/BigRational.php
r2521616 r2686283 453 453 454 454 /** 455 * This method is required by interface Serializableand SHOULD NOT be accessed directly.455 * This method is required for serializing the object and SHOULD NOT be accessed directly. 456 456 * 457 457 * @internal 458 458 * 459 * @return string460 */ 461 public function serialize() : string462 { 463 return $this->numerator . '/' . $this->denominator;464 } 465 466 /** 467 * This method is only here to implement interface Serializableand cannot be accessed directly.459 * @return array{numerator: BigInteger, denominator: BigInteger} 460 */ 461 public function __serialize(): array 462 { 463 return ['numerator' => $this->numerator, 'denominator' => $this->denominator]; 464 } 465 466 /** 467 * This method is only here to allow unserializing the object and cannot be accessed directly. 468 468 * 469 469 * @internal 470 470 * @psalm-suppress RedundantPropertyInitializationCheck 471 471 * 472 * @param array{numerator: BigInteger, denominator: BigInteger} $data 473 * 474 * @return void 475 * 476 * @throws \LogicException 477 */ 478 public function __unserialize(array $data): void 479 { 480 if (isset($this->numerator)) { 481 throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); 482 } 483 484 $this->numerator = $data['numerator']; 485 $this->denominator = $data['denominator']; 486 } 487 488 /** 489 * This method is required by interface Serializable and SHOULD NOT be accessed directly. 490 * 491 * @internal 492 * 493 * @return string 494 */ 495 public function serialize() : string 496 { 497 return $this->numerator . '/' . $this->denominator; 498 } 499 500 /** 501 * This method is only here to implement interface Serializable and cannot be accessed directly. 502 * 503 * @internal 504 * @psalm-suppress RedundantPropertyInitializationCheck 505 * 472 506 * @param string $value 473 507 * -
sophi/tags/1.0.10/vendor/brick/math/src/Internal/Calculator.php
r2521616 r2686283 100 100 * @param string $b The second operand. 101 101 * 102 * @return array{ 0: bool, 1: bool, 2: string, 3:string} Whether $a and $b are negative, followed by their digits.102 * @return array{bool, bool, string, string} Whether $a and $b are negative, followed by their digits. 103 103 */ 104 104 final protected function init(string $a, string $b) : array … … 678 678 679 679 /** 680 * @psalm-suppress InvalidOperand681 * @see https://github.com/vimeo/psalm/issues/4456682 *683 680 * @param string $number A positive, binary number. 684 681 * -
sophi/tags/1.0.10/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
r2521616 r2686283 611 611 * @param string $b The second operand. 612 612 * 613 * @return array{ 0: string, 1: string, 2:int}613 * @return array{string, string, int} 614 614 */ 615 615 private function pad(string $a, string $b) : array -
sophi/tags/1.0.10/vendor/composer/autoload_classmap.php
r2521616 r2686283 7 7 8 8 return array( 9 'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 9 10 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 11 'ReturnTypeWillChange' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 12 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 13 'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', 14 'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', 10 15 ); -
sophi/tags/1.0.10/vendor/composer/autoload_files.php
r2521616 r2686283 7 7 8 8 return array( 9 '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php', 10 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', 9 11 '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', 10 12 'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php', -
sophi/tags/1.0.10/vendor/composer/autoload_psr4.php
r2521616 r2686283 7 7 8 8 return array( 9 'Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), 10 'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'), 9 11 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), 10 12 'SophiWP\\' => array($baseDir . '/includes/classes'), -
sophi/tags/1.0.10/vendor/composer/autoload_real.php
r2681627 r2686283 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee1895 class ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee189', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee189', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire 6f9a846f452f4d6c6c81ef46712ee189($fileIdentifier, $file);61 composerRequire9524e87fca549422a2f03f9da9bccbfe($fileIdentifier, $file); 62 62 } 63 63 … … 71 71 * @return void 72 72 */ 73 function composerRequire 6f9a846f452f4d6c6c81ef46712ee189($fileIdentifier, $file)73 function composerRequire9524e87fca549422a2f03f9da9bccbfe($fileIdentifier, $file) 74 74 { 75 75 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
sophi/tags/1.0.10/vendor/composer/autoload_static.php
r2681627 r2686283 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee1897 class ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe 8 8 { 9 9 public static $files = array ( 10 '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', 11 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', 10 12 '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', 11 13 'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php', … … 15 17 'S' => 16 18 array ( 19 'Symfony\\Polyfill\\Php81\\' => 23, 20 'Symfony\\Polyfill\\Php80\\' => 23, 17 21 'Symfony\\Polyfill\\Ctype\\' => 23, 18 22 'SophiWP\\' => 8, … … 31 35 32 36 public static $prefixDirsPsr4 = array ( 37 'Symfony\\Polyfill\\Php81\\' => 38 array ( 39 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', 40 ), 41 'Symfony\\Polyfill\\Php80\\' => 42 array ( 43 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', 44 ), 33 45 'Symfony\\Polyfill\\Ctype\\' => 34 46 array ( … … 58 70 59 71 public static $classMap = array ( 72 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 60 73 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 74 'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 75 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 76 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', 77 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', 61 78 ); 62 79 … … 64 81 { 65 82 return \Closure::bind(function () use ($loader) { 66 $loader->prefixLengthsPsr4 = ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$prefixLengthsPsr4;67 $loader->prefixDirsPsr4 = ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$prefixDirsPsr4;68 $loader->classMap = ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$classMap;83 $loader->prefixLengthsPsr4 = ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$prefixLengthsPsr4; 84 $loader->prefixDirsPsr4 = ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$prefixDirsPsr4; 85 $loader->classMap = ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$classMap; 69 86 70 87 }, null, ClassLoader::class); -
sophi/tags/1.0.10/vendor/composer/installed.json
r2681627 r2686283 3 3 { 4 4 "name": "brick/math", 5 "version": "0.9. 2",6 "version_normalized": "0.9. 2.0",5 "version": "0.9.3", 6 "version_normalized": "0.9.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/brick/math.git", 10 "reference": " dff976c2f3487d42c1db75a3b180e2b9f0e72ce0"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/brick/math/zipball/ dff976c2f3487d42c1db75a3b180e2b9f0e72ce0",15 "reference": " dff976c2f3487d42c1db75a3b180e2b9f0e72ce0",10 "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", 15 "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", 16 16 "shasum": "" 17 17 }, … … 23 23 "php-coveralls/php-coveralls": "^2.2", 24 24 "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", 25 "vimeo/psalm": "4. 3.2"26 }, 27 "time": "2021-0 1-20T22:51:39+00:00",25 "vimeo/psalm": "4.9.2" 26 }, 27 "time": "2021-08-15T20:50:18+00:00", 28 28 "type": "library", 29 29 "installation-source": "dist", … … 50 50 "support": { 51 51 "issues": "https://github.com/brick/math/issues", 52 "source": "https://github.com/brick/math/tree/0.9. 2"52 "source": "https://github.com/brick/math/tree/0.9.3" 53 53 }, 54 54 "funding": [ 55 { 56 "url": "https://github.com/BenMorel", 57 "type": "github" 58 }, 55 59 { 56 60 "url": "https://tidelift.com/funding/github/packagist/brick/math", … … 62 66 { 63 67 "name": "ramsey/collection", 64 "version": "1. 1.3",65 "version_normalized": "1. 1.3.0",68 "version": "1.2.2", 69 "version_normalized": "1.2.2.0", 66 70 "source": { 67 71 "type": "git", 68 72 "url": "https://github.com/ramsey/collection.git", 69 "reference": "28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1" 70 }, 71 "dist": { 72 "type": "zip", 73 "url": "https://api.github.com/repos/ramsey/collection/zipball/28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1", 74 "reference": "28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1", 75 "shasum": "" 76 }, 77 "require": { 78 "php": "^7.2 || ^8" 73 "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a" 74 }, 75 "dist": { 76 "type": "zip", 77 "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a", 78 "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a", 79 "shasum": "" 80 }, 81 "require": { 82 "php": "^7.3 || ^8", 83 "symfony/polyfill-php81": "^1.23" 79 84 }, 80 85 "require-dev": { … … 86 91 "jangregor/phpstan-prophecy": "^0.8", 87 92 "mockery/mockery": "^1.3", 93 "phpspec/prophecy-phpunit": "^2.0", 88 94 "phpstan/extension-installer": "^1", 89 95 "phpstan/phpstan": "^0.12.32", … … 96 102 "vimeo/psalm": "^4.4" 97 103 }, 98 "time": "2021- 01-21T17:40:04+00:00",104 "time": "2021-10-10T03:01:02+00:00", 99 105 "type": "library", 100 106 "installation-source": "dist", … … 115 121 } 116 122 ], 117 "description": "A PHP 7.2+library for representing and manipulating collections.",123 "description": "A PHP library for representing and manipulating collections.", 118 124 "keywords": [ 119 125 "array", … … 126 132 "support": { 127 133 "issues": "https://github.com/ramsey/collection/issues", 128 "source": "https://github.com/ramsey/collection/tree/1. 1.3"134 "source": "https://github.com/ramsey/collection/tree/1.2.2" 129 135 }, 130 136 "funding": [ … … 142 148 { 143 149 "name": "ramsey/uuid", 144 "version": "4. 1.1",145 "version_normalized": "4. 1.1.0",150 "version": "4.2.3", 151 "version_normalized": "4.2.3.0", 146 152 "source": { 147 153 "type": "git", 148 154 "url": "https://github.com/ramsey/uuid.git", 149 "reference": " cd4032040a750077205918c86049aa0f43d22947"150 }, 151 "dist": { 152 "type": "zip", 153 "url": "https://api.github.com/repos/ramsey/uuid/zipball/ cd4032040a750077205918c86049aa0f43d22947",154 "reference": " cd4032040a750077205918c86049aa0f43d22947",155 "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" 156 }, 157 "dist": { 158 "type": "zip", 159 "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", 160 "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", 155 161 "shasum": "" 156 162 }, … … 158 164 "brick/math": "^0.8 || ^0.9", 159 165 "ext-json": "*", 160 "php": "^7.2 || ^8 ",166 "php": "^7.2 || ^8.0", 161 167 "ramsey/collection": "^1.0", 162 "symfony/polyfill-ctype": "^1.8" 168 "symfony/polyfill-ctype": "^1.8", 169 "symfony/polyfill-php80": "^1.14" 163 170 }, 164 171 "replace": { … … 166 173 }, 167 174 "require-dev": { 168 "codeception/aspect-mock": "^3", 169 "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7.0", 175 "captainhook/captainhook": "^5.10", 176 "captainhook/plugin-composer": "^5.3", 177 "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", 170 178 "doctrine/annotations": "^1.8", 171 " goaop/framework": "^2",179 "ergebnis/composer-normalize": "^2.15", 172 180 "mockery/mockery": "^1.3", 173 181 "moontoast/math": "^1.1", 174 182 "paragonie/random-lib": "^2", 183 "php-mock/php-mock": "^2.2", 175 184 "php-mock/php-mock-mockery": "^1.3", 176 "php-mock/php-mock-phpunit": "^2.5",177 185 "php-parallel-lint/php-parallel-lint": "^1.1", 178 "phpbench/phpbench": "^ 0.17.1",186 "phpbench/phpbench": "^1.0", 179 187 "phpstan/extension-installer": "^1.0", 180 188 "phpstan/phpstan": "^0.12", 181 189 "phpstan/phpstan-mockery": "^0.12", 182 190 "phpstan/phpstan-phpunit": "^0.12", 183 "phpunit/phpunit": "^8.5", 184 "psy/psysh": "^0.10.0", 185 "slevomat/coding-standard": "^6.0", 191 "phpunit/phpunit": "^8.5 || ^9", 192 "slevomat/coding-standard": "^7.0", 186 193 "squizlabs/php_codesniffer": "^3.5", 187 "vimeo/psalm": " 3.9.4"194 "vimeo/psalm": "^4.9" 188 195 }, 189 196 "suggest": { … … 195 202 "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." 196 203 }, 197 "time": "202 0-08-18T17:17:46+00:00",204 "time": "2021-09-25T23:10:38+00:00", 198 205 "type": "library", 199 206 "extra": { 200 207 "branch-alias": { 201 "dev-master": "4.x-dev" 208 "dev-main": "4.x-dev" 209 }, 210 "captainhook": { 211 "force-install": true 202 212 } 203 213 }, … … 216 226 ], 217 227 "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", 218 "homepage": "https://github.com/ramsey/uuid",219 228 "keywords": [ 220 229 "guid", … … 224 233 "support": { 225 234 "issues": "https://github.com/ramsey/uuid/issues", 226 "rss": "https://github.com/ramsey/uuid/releases.atom", 227 "source": "https://github.com/ramsey/uuid" 235 "source": "https://github.com/ramsey/uuid/tree/4.2.3" 228 236 }, 229 237 "funding": [ … … 231 239 "url": "https://github.com/ramsey", 232 240 "type": "github" 241 }, 242 { 243 "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", 244 "type": "tidelift" 233 245 } 234 246 ], … … 237 249 { 238 250 "name": "snowplow/snowplow-tracker", 239 "version": "0. 4.0",240 "version_normalized": "0. 4.0.0",251 "version": "0.5.0", 252 "version_normalized": "0.5.0.0", 241 253 "source": { 242 254 "type": "git", 243 255 "url": "https://github.com/snowplow/snowplow-php-tracker.git", 244 "reference": " 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6"245 }, 246 "dist": { 247 "type": "zip", 248 "url": "https://api.github.com/repos/snowplow/snowplow-php-tracker/zipball/ 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6",249 "reference": " 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6",250 "shasum": "" 251 }, 252 "require": { 253 "php": ">=7. 2",256 "reference": "32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5" 257 }, 258 "dist": { 259 "type": "zip", 260 "url": "https://api.github.com/repos/snowplow/snowplow-php-tracker/zipball/32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5", 261 "reference": "32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5", 262 "shasum": "" 263 }, 264 "require": { 265 "php": ">=7.4", 254 266 "ramsey/uuid": "^3 || ^4" 255 267 }, 256 268 "require-dev": { 257 "php-coveralls/php-coveralls": "^2. 1.0",258 "phpunit/php-token-stream": "^ 3.1.1",259 "phpunit/phpunit": "^ 8.1.4"260 }, 261 "time": "202 1-03-05T11:12:38+00:00",269 "php-coveralls/php-coveralls": "^2.5.2", 270 "phpunit/php-token-stream": "^4.0.4", 271 "phpunit/phpunit": "^9.5.13" 272 }, 273 "time": "2022-02-07T13:57:01+00:00", 262 274 "type": "library", 263 275 "installation-source": "dist", … … 286 298 "email": "support@snowplowanalytics.com", 287 299 "issues": "https://github.com/snowplow/snowplow-php-tracker/issues", 288 "source": "https://github.com/snowplow/snowplow-php-tracker/tree/0. 4.0"300 "source": "https://github.com/snowplow/snowplow-php-tracker/tree/0.5.0" 289 301 }, 290 302 "install-path": "../snowplow/snowplow-tracker" … … 374 386 ], 375 387 "install-path": "../symfony/polyfill-ctype" 388 }, 389 { 390 "name": "symfony/polyfill-php80", 391 "version": "v1.24.0", 392 "version_normalized": "1.24.0.0", 393 "source": { 394 "type": "git", 395 "url": "https://github.com/symfony/polyfill-php80.git", 396 "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" 397 }, 398 "dist": { 399 "type": "zip", 400 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9", 401 "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", 402 "shasum": "" 403 }, 404 "require": { 405 "php": ">=7.1" 406 }, 407 "time": "2021-09-13T13:58:33+00:00", 408 "type": "library", 409 "extra": { 410 "branch-alias": { 411 "dev-main": "1.23-dev" 412 }, 413 "thanks": { 414 "name": "symfony/polyfill", 415 "url": "https://github.com/symfony/polyfill" 416 } 417 }, 418 "installation-source": "dist", 419 "autoload": { 420 "files": [ 421 "bootstrap.php" 422 ], 423 "psr-4": { 424 "Symfony\\Polyfill\\Php80\\": "" 425 }, 426 "classmap": [ 427 "Resources/stubs" 428 ] 429 }, 430 "notification-url": "https://packagist.org/downloads/", 431 "license": [ 432 "MIT" 433 ], 434 "authors": [ 435 { 436 "name": "Ion Bazan", 437 "email": "ion.bazan@gmail.com" 438 }, 439 { 440 "name": "Nicolas Grekas", 441 "email": "p@tchwork.com" 442 }, 443 { 444 "name": "Symfony Community", 445 "homepage": "https://symfony.com/contributors" 446 } 447 ], 448 "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", 449 "homepage": "https://symfony.com", 450 "keywords": [ 451 "compatibility", 452 "polyfill", 453 "portable", 454 "shim" 455 ], 456 "support": { 457 "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" 458 }, 459 "funding": [ 460 { 461 "url": "https://symfony.com/sponsor", 462 "type": "custom" 463 }, 464 { 465 "url": "https://github.com/fabpot", 466 "type": "github" 467 }, 468 { 469 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 470 "type": "tidelift" 471 } 472 ], 473 "install-path": "../symfony/polyfill-php80" 474 }, 475 { 476 "name": "symfony/polyfill-php81", 477 "version": "v1.24.0", 478 "version_normalized": "1.24.0.0", 479 "source": { 480 "type": "git", 481 "url": "https://github.com/symfony/polyfill-php81.git", 482 "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" 483 }, 484 "dist": { 485 "type": "zip", 486 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", 487 "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", 488 "shasum": "" 489 }, 490 "require": { 491 "php": ">=7.1" 492 }, 493 "time": "2021-09-13T13:58:11+00:00", 494 "type": "library", 495 "extra": { 496 "branch-alias": { 497 "dev-main": "1.23-dev" 498 }, 499 "thanks": { 500 "name": "symfony/polyfill", 501 "url": "https://github.com/symfony/polyfill" 502 } 503 }, 504 "installation-source": "dist", 505 "autoload": { 506 "files": [ 507 "bootstrap.php" 508 ], 509 "psr-4": { 510 "Symfony\\Polyfill\\Php81\\": "" 511 }, 512 "classmap": [ 513 "Resources/stubs" 514 ] 515 }, 516 "notification-url": "https://packagist.org/downloads/", 517 "license": [ 518 "MIT" 519 ], 520 "authors": [ 521 { 522 "name": "Nicolas Grekas", 523 "email": "p@tchwork.com" 524 }, 525 { 526 "name": "Symfony Community", 527 "homepage": "https://symfony.com/contributors" 528 } 529 ], 530 "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", 531 "homepage": "https://symfony.com", 532 "keywords": [ 533 "compatibility", 534 "polyfill", 535 "portable", 536 "shim" 537 ], 538 "support": { 539 "source": "https://github.com/symfony/polyfill-php81/tree/v1.24.0" 540 }, 541 "funding": [ 542 { 543 "url": "https://symfony.com/sponsor", 544 "type": "custom" 545 }, 546 { 547 "url": "https://github.com/fabpot", 548 "type": "github" 549 }, 550 { 551 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 552 "type": "tidelift" 553 } 554 ], 555 "install-path": "../symfony/polyfill-php81" 376 556 } 377 557 ], -
sophi/tags/1.0.10/vendor/composer/installed.php
r2681627 r2686283 1 1 <?php return array( 2 2 'root' => array( 3 'pretty_version' => '1.0. 9',4 'version' => '1.0. 9.0',3 'pretty_version' => '1.0.10', 4 'version' => '1.0.10.0', 5 5 'type' => 'wordpress-plugin', 6 6 'install_path' => __DIR__ . '/../../', 7 7 'aliases' => array(), 8 'reference' => ' 6254f70ef2164a657d2677af928d3d5749f351b7',8 'reference' => '40ecf7b05d98fe5458c520f1299445515981a652', 9 9 'name' => 'globeandmail/sophi-for-wordpress', 10 10 'dev' => false, … … 12 12 'versions' => array( 13 13 'brick/math' => array( 14 'pretty_version' => '0.9. 2',15 'version' => '0.9. 2.0',14 'pretty_version' => '0.9.3', 15 'version' => '0.9.3.0', 16 16 'type' => 'library', 17 17 'install_path' => __DIR__ . '/../brick/math', 18 18 'aliases' => array(), 19 'reference' => ' dff976c2f3487d42c1db75a3b180e2b9f0e72ce0',19 'reference' => 'ca57d18f028f84f777b2168cd1911b0dee2343ae', 20 20 'dev_requirement' => false, 21 21 ), 22 22 'globeandmail/sophi-for-wordpress' => array( 23 'pretty_version' => '1.0. 9',24 'version' => '1.0. 9.0',23 'pretty_version' => '1.0.10', 24 'version' => '1.0.10.0', 25 25 'type' => 'wordpress-plugin', 26 26 'install_path' => __DIR__ . '/../../', 27 27 'aliases' => array(), 28 'reference' => ' 6254f70ef2164a657d2677af928d3d5749f351b7',28 'reference' => '40ecf7b05d98fe5458c520f1299445515981a652', 29 29 'dev_requirement' => false, 30 30 ), 31 31 'ramsey/collection' => array( 32 'pretty_version' => '1. 1.3',33 'version' => '1. 1.3.0',32 'pretty_version' => '1.2.2', 33 'version' => '1.2.2.0', 34 34 'type' => 'library', 35 35 'install_path' => __DIR__ . '/../ramsey/collection', 36 36 'aliases' => array(), 37 'reference' => ' 28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1',37 'reference' => 'cccc74ee5e328031b15640b51056ee8d3bb66c0a', 38 38 'dev_requirement' => false, 39 39 ), 40 40 'ramsey/uuid' => array( 41 'pretty_version' => '4. 1.1',42 'version' => '4. 1.1.0',41 'pretty_version' => '4.2.3', 42 'version' => '4.2.3.0', 43 43 'type' => 'library', 44 44 'install_path' => __DIR__ . '/../ramsey/uuid', 45 45 'aliases' => array(), 46 'reference' => ' cd4032040a750077205918c86049aa0f43d22947',46 'reference' => 'fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df', 47 47 'dev_requirement' => false, 48 48 ), … … 50 50 'dev_requirement' => false, 51 51 'replaced' => array( 52 0 => '4. 1.1',52 0 => '4.2.3', 53 53 ), 54 54 ), 55 55 'snowplow/snowplow-tracker' => array( 56 'pretty_version' => '0. 4.0',57 'version' => '0. 4.0.0',56 'pretty_version' => '0.5.0', 57 'version' => '0.5.0.0', 58 58 'type' => 'library', 59 59 'install_path' => __DIR__ . '/../snowplow/snowplow-tracker', 60 60 'aliases' => array(), 61 'reference' => ' 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6',61 'reference' => '32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5', 62 62 'dev_requirement' => false, 63 63 ), … … 71 71 'dev_requirement' => false, 72 72 ), 73 'symfony/polyfill-php80' => array( 74 'pretty_version' => 'v1.24.0', 75 'version' => '1.24.0.0', 76 'type' => 'library', 77 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 78 'aliases' => array(), 79 'reference' => '57b712b08eddb97c762a8caa32c84e037892d2e9', 80 'dev_requirement' => false, 81 ), 82 'symfony/polyfill-php81' => array( 83 'pretty_version' => 'v1.24.0', 84 'version' => '1.24.0.0', 85 'type' => 'library', 86 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 87 'aliases' => array(), 88 'reference' => '5de4ba2d41b15f9bd0e19b2ab9674135813ec98f', 89 'dev_requirement' => false, 90 ), 73 91 ), 74 92 ); -
sophi/tags/1.0.10/vendor/ramsey/collection/LICENSE
r2521616 r2686283 1 Copyright (c) 2015-202 0Ben Ramsey <ben@benramsey.com>1 Copyright (c) 2015-2021 Ben Ramsey <ben@benramsey.com> 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
sophi/tags/1.0.10/vendor/ramsey/collection/src/AbstractArray.php
r2521616 r2686283 26 26 * 27 27 * @template T 28 * @ template-implements ArrayInterface<T>28 * @implements ArrayInterface<T> 29 29 */ 30 30 abstract class AbstractArray implements ArrayInterface … … 55 55 * 56 56 * @link http://php.net/manual/en/iteratoraggregate.getiterator.php IteratorAggregate::getIterator() 57 * 58 * @return Traversable<array-key, T> 57 59 */ 58 60 public function getIterator(): Traversable … … 82 84 * @return T|null the value stored at the offset, or null if the offset 83 85 * does not exist. 84 */ 86 * 87 * @psalm-suppress InvalidAttribute 88 */ 89 #[\ReturnTypeWillChange] // phpcs:ignore 85 90 public function offsetGet($offset) 86 91 { … … 122 127 * Returns a serialized string representation of this array object. 123 128 * 129 * @deprecated The Serializable interface will go away in PHP 9. 130 * 124 131 * @link http://php.net/manual/en/serializable.serialize.php Serializable::serialize() 125 132 * … … 132 139 133 140 /** 141 * Returns data suitable for PHP serialization. 142 * 143 * @link https://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.serialize 144 * @link https://www.php.net/serialize 145 * 146 * @return array<array-key, T> 147 */ 148 public function __serialize(): array 149 { 150 return $this->data; 151 } 152 153 /** 134 154 * Converts a serialized string representation into an instance object. 155 * 156 * @deprecated The Serializable interface will go away in PHP 9. 135 157 * 136 158 * @link http://php.net/manual/en/serializable.unserialize.php Serializable::unserialize() … … 149 171 150 172 /** 173 * Adds unserialized data to the object. 174 * 175 * @param array<array-key, T> $data 176 */ 177 public function __unserialize(array $data): void 178 { 179 $this->data = $data; 180 } 181 182 /** 151 183 * Returns the number of items in this array. 152 184 * -
sophi/tags/1.0.10/vendor/ramsey/collection/src/AbstractCollection.php
r2521616 r2686283 33 33 use function end; 34 34 use function in_array; 35 use function is_int; 35 36 use function reset; 36 37 use function sprintf; … … 43 44 * 44 45 * @template T 45 * @ template-extends AbstractArray<T>46 * @ template-implements CollectionInterface<T>46 * @extends AbstractArray<T> 47 * @implements CollectionInterface<T> 47 48 */ 48 49 abstract class AbstractCollection extends AbstractArray implements CollectionInterface … … 239 240 public function merge(CollectionInterface ...$collections): CollectionInterface 240 241 { 241 $ temp = [$this->data];242 $mergedCollection = clone $this; 242 243 243 244 foreach ($collections as $index => $collection) { … … 256 257 } 257 258 258 $temp[] = $collection->toArray();259 }260 261 /** @var array<array-key, T> $merge */262 $merge = array_merge(...$temp);263 264 $collection = clone $this;265 $collection->data = $merge;266 267 return $ collection;259 foreach ($collection as $key => $value) { 260 if (is_int($key)) { 261 $mergedCollection[] = $value; 262 } else { 263 $mergedCollection[$key] = $value; 264 } 265 } 266 } 267 268 return $mergedCollection; 268 269 } 269 270 -
sophi/tags/1.0.10/vendor/ramsey/collection/src/AbstractSet.php
r2521616 r2686283 21 21 * 22 22 * @template T 23 * @ template-extends AbstractCollection<T>23 * @extends AbstractCollection<T> 24 24 */ 25 25 abstract class AbstractSet extends AbstractCollection -
sophi/tags/1.0.10/vendor/ramsey/collection/src/ArrayInterface.php
r2521616 r2686283 24 24 * 25 25 * @template T 26 * @extends ArrayAccess<array-key, T> 27 * @extends IteratorAggregate<array-key, T> 26 28 */ 27 29 interface ArrayInterface extends -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Collection.php
r2521616 r2686283 72 72 * 73 73 * @template T 74 * @ template-extends AbstractCollection<T>74 * @extends AbstractCollection<T> 75 75 */ 76 76 class Collection extends AbstractCollection -
sophi/tags/1.0.10/vendor/ramsey/collection/src/CollectionInterface.php
r2521616 r2686283 22 22 * 23 23 * @template T 24 * @ template-extends ArrayInterface<T>24 * @extends ArrayInterface<T> 25 25 */ 26 26 interface CollectionInterface extends ArrayInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/DoubleEndedQueue.php
r2521616 r2686283 23 23 * 24 24 * @template T 25 * @ template-extends Queue<T>26 * @ template-implements DoubleEndedQueueInterface<T>25 * @extends Queue<T> 26 * @implements DoubleEndedQueueInterface<T> 27 27 */ 28 28 class DoubleEndedQueue extends Queue implements DoubleEndedQueueInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/DoubleEndedQueueInterface.php
r2521616 r2686283 161 161 * 162 162 * @template T 163 * @ template-extends QueueInterface<T>163 * @extends QueueInterface<T> 164 164 */ 165 165 interface DoubleEndedQueueInterface extends QueueInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/GenericArray.php
r2521616 r2686283 18 18 * `GenericArray` represents a standard array object. 19 19 * 20 * @ template-extends AbstractArray<mixed>20 * @extends AbstractArray<mixed> 21 21 */ 22 22 class GenericArray extends AbstractArray -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Map/AbstractMap.php
r2521616 r2686283 27 27 * 28 28 * @template T 29 * @ template-extends AbstractArray<T>30 * @ template-implements MapInterface<T>29 * @extends AbstractArray<T> 30 * @implements MapInterface<T> 31 31 */ 32 32 abstract class AbstractMap extends AbstractArray implements MapInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Map/AbstractTypedMap.php
r2521616 r2686283 23 23 * minimize the effort required to implement this interface. 24 24 * 25 * @phpstan-ignore-next-line 26 * @template K as array-key 25 * @template K 27 26 * @template T 28 * @ template-extends AbstractMap<T>29 * @ template-implements TypedMapInterface<T>27 * @extends AbstractMap<T> 28 * @implements TypedMapInterface<T> 30 29 */ 31 30 abstract class AbstractTypedMap extends AbstractMap implements TypedMapInterface … … 65 64 } 66 65 66 /** @psalm-suppress MixedArgumentTypeCoercion */ 67 67 parent::offsetSet($offset, $value); 68 68 } -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Map/AssociativeArrayMap.php
r2521616 r2686283 19 19 * 20 20 * @template T 21 * @ template-extends AbstractMap<T>21 * @extends AbstractMap<T> 22 22 */ 23 23 class AssociativeArrayMap extends AbstractMap -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Map/MapInterface.php
r2521616 r2686283 23 23 * 24 24 * @template T 25 * @ template-extends ArrayInterface<T>25 * @extends ArrayInterface<T> 26 26 */ 27 27 interface MapInterface extends ArrayInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Map/NamedParameterMap.php
r2521616 r2686283 27 27 * that may optionally be typed 28 28 * 29 * @ template-extends AbstractMap<mixed>29 * @extends AbstractMap<mixed> 30 30 */ 31 31 class NamedParameterMap extends AbstractMap -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Map/TypedMap.php
r2521616 r2686283 81 81 * ``` 82 82 * 83 * @phpstan-ignore-next-line 84 * @template K as array-key 83 * @template K 85 84 * @template T 86 * @ template-extends AbstractTypedMap<K, T>85 * @extends AbstractTypedMap<K, T> 87 86 */ 88 87 class TypedMap extends AbstractTypedMap … … 122 121 $this->keyType = $keyType; 123 122 $this->valueType = $valueType; 123 124 /** @psalm-suppress MixedArgumentTypeCoercion */ 124 125 parent::__construct($data); 125 126 } -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Map/TypedMapInterface.php
r2521616 r2686283 20 20 * 21 21 * @template T 22 * @ template-extends MapInterface<T>22 * @extends MapInterface<T> 23 23 */ 24 24 interface TypedMapInterface extends MapInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Queue.php
r2521616 r2686283 25 25 * 26 26 * @template T 27 * @ template-extends AbstractArray<T>28 * @ template-implements QueueInterface<T>27 * @extends AbstractArray<T> 28 * @implements QueueInterface<T> 29 29 */ 30 30 class Queue extends AbstractArray implements QueueInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/QueueInterface.php
r2521616 r2686283 95 95 * 96 96 * @template T 97 * @ template-extends ArrayInterface<T>97 * @extends ArrayInterface<T> 98 98 */ 99 99 interface QueueInterface extends ArrayInterface -
sophi/tags/1.0.10/vendor/ramsey/collection/src/Set.php
r2521616 r2686283 37 37 * 38 38 * @template T 39 * @ template-extends AbstractSet<T>39 * @extends AbstractSet<T> 40 40 */ 41 41 class Set extends AbstractSet -
sophi/tags/1.0.10/vendor/ramsey/uuid/LICENSE
r2521616 r2686283 1 MIT License 2 3 Copyright (c) 2012-2020 Ben Ramsey <ben@benramsey.com> 1 Copyright (c) 2012-2021 Ben Ramsey <ben@benramsey.com> 4 2 5 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Builder/BuilderCollection.php
r2521616 r2686283 16 16 17 17 use Ramsey\Collection\AbstractCollection; 18 use Ramsey\Collection\CollectionInterface;19 18 use Ramsey\Uuid\Converter\Number\GenericNumberConverter; 20 19 use Ramsey\Uuid\Converter\Time\GenericTimeConverter; … … 28 27 /** 29 28 * A collection of UuidBuilderInterface objects 29 * 30 * @extends AbstractCollection<UuidBuilderInterface> 30 31 */ 31 class BuilderCollection extends AbstractCollection implements CollectionInterface32 class BuilderCollection extends AbstractCollection 32 33 { 33 34 public function getType(): string … … 53 54 * 54 55 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 56 * @psalm-suppress RedundantConditionGivenDocblockType 55 57 */ 56 58 public function unserialize($serialized): void 57 59 { 58 /** @var mixed[]$data */60 /** @var array<array-key, UuidBuilderInterface> $data */ 59 61 $data = unserialize($serialized, [ 60 62 'allowed_classes' => [ … … 69 71 ]); 70 72 71 $this->data = $data; 73 $this->data = array_filter( 74 $data, 75 function ($unserialized): bool { 76 return $unserialized instanceof UuidBuilderInterface; 77 } 78 ); 72 79 } 73 80 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Builder/DefaultUuidBuilder.php
r2521616 r2686283 22 22 * @psalm-immutable 23 23 */ 24 class DefaultUuidBuilder extends Rfc4122UuidBuilder implements UuidBuilderInterface24 class DefaultUuidBuilder extends Rfc4122UuidBuilder 25 25 { 26 26 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Builder/FallbackBuilder.php
r2521616 r2686283 56 56 $lastBuilderException = null; 57 57 58 /** @var UuidBuilderInterface $builder */59 58 foreach ($this->builders as $builder) { 60 59 try { -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php
r2521616 r2686283 68 68 $bytes = $uuid->getFields()->getBytes(); 69 69 70 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 70 71 return $bytes[6] . $bytes[7] 71 72 . $bytes[4] . $bytes[5] -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Codec/StringCodec.php
r2521616 r2686283 76 76 public function encodeBinary(UuidInterface $uuid): string 77 77 { 78 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 78 79 return $uuid->getFields()->getBytes(); 79 80 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php
r2521616 r2686283 77 77 public function encodeBinary(UuidInterface $uuid): string 78 78 { 79 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 79 80 return $this->swapBytes($uuid->getFields()->getBytes()); 80 81 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php
r2521616 r2686283 20 20 21 21 /** 22 * GenericNumberConverter uses the provided calculat eto convert decimal22 * GenericNumberConverter uses the provided calculator to convert decimal 23 23 * numbers to and from hexadecimal values 24 24 * … … 58 58 public function toHex(string $number): string 59 59 { 60 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 60 61 return $this->calculator->toBase(new IntegerObject($number), 16); 61 62 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php
r2521616 r2686283 112 112 } 113 113 114 return new Hexadecimal(str_pad(dechex( (int)$uuidTime), 16, '0', STR_PAD_LEFT));114 return new Hexadecimal(str_pad(dechex($uuidTime), 16, '0', STR_PAD_LEFT)); 115 115 } 116 116 -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php
r2521616 r2686283 20 20 * Thrown to indicate that no suitable builder could be found 21 21 */ 22 class BuilderNotFoundException extends PhpRuntimeException 22 class BuilderNotFoundException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/DateTimeException.php
r2521616 r2686283 20 20 * Thrown to indicate that the PHP DateTime extension encountered an exception/error 21 21 */ 22 class DateTimeException extends PhpRuntimeException 22 class DateTimeException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/DceSecurityException.php
r2521616 r2686283 21 21 * (version 2) UUIDs 22 22 */ 23 class DceSecurityException extends PhpRuntimeException 23 class DceSecurityException extends PhpRuntimeException implements UuidExceptionInterface 24 24 { 25 25 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php
r2521616 r2686283 20 20 * Thrown to indicate that the argument received is not valid 21 21 */ 22 class InvalidArgumentException extends PhpInvalidArgumentException 22 class InvalidArgumentException extends PhpInvalidArgumentException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php
r2521616 r2686283 20 20 * Thrown to indicate that the bytes being operated on are invalid in some way 21 21 */ 22 class InvalidBytesException extends PhpRuntimeException 22 class InvalidBytesException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php
r2521616 r2686283 21 21 * of this exception. It exists in the same namespace as this class. 22 22 */ 23 class InvalidUuidStringException extends InvalidArgumentException 23 class InvalidUuidStringException extends InvalidArgumentException implements UuidExceptionInterface 24 24 { 25 25 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/NameException.php
r2521616 r2686283 21 21 * namespace and name 22 22 */ 23 class NameException extends PhpRuntimeException 23 class NameException extends PhpRuntimeException implements UuidExceptionInterface 24 24 { 25 25 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/NodeException.php
r2521616 r2686283 20 20 * Thrown to indicate that attempting to fetch or create a node ID encountered an error 21 21 */ 22 class NodeException extends PhpRuntimeException 22 class NodeException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/RandomSourceException.php
r2521616 r2686283 23 23 * threw an exception. However, it may be used for other sources of random data. 24 24 */ 25 class RandomSourceException extends PhpRuntimeException 25 class RandomSourceException extends PhpRuntimeException implements UuidExceptionInterface 26 26 { 27 27 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/TimeSourceException.php
r2521616 r2686283 20 20 * Thrown to indicate that the source of time encountered an error 21 21 */ 22 class TimeSourceException extends PhpRuntimeException 22 class TimeSourceException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php
r2521616 r2686283 20 20 * Thrown to indicate a builder is unable to build a UUID 21 21 */ 22 class UnableToBuildUuidException extends PhpRuntimeException 22 class UnableToBuildUuidException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php
r2521616 r2686283 20 20 * Thrown to indicate that the requested operation is not supported 21 21 */ 22 class UnsupportedOperationException extends PhpLogicException 22 class UnsupportedOperationException extends PhpLogicException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/FeatureSet.php
r2521616 r2686283 275 275 $this->timeConverter = $this->buildTimeConverter($calculator); 276 276 277 /** @psalm-suppress RedundantPropertyInitializationCheck */ 277 278 if (isset($this->timeProvider)) { 278 279 $this->timeGenerator = $this->buildTimeGenerator($this->timeProvider); -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Fields/SerializableFieldsTrait.php
r2521616 r2686283 15 15 namespace Ramsey\Uuid\Fields; 16 16 17 use ValueError; 18 17 19 use function base64_decode; 20 use function sprintf; 18 21 use function strlen; 19 22 … … 44 47 45 48 /** 49 * @return array{bytes: string} 50 */ 51 public function __serialize(): array 52 { 53 return ['bytes' => $this->getBytes()]; 54 } 55 56 /** 46 57 * Constructs the object from a serialized string representation 47 58 * … … 49 60 * 50 61 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 62 * @psalm-suppress UnusedMethodCall 51 63 */ 52 64 public function unserialize($serialized): void … … 58 70 } 59 71 } 72 73 /** 74 * @param array{bytes: string} $data 75 */ 76 public function __unserialize(array $data): void 77 { 78 // @codeCoverageIgnoreStart 79 if (!isset($data['bytes'])) { 80 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 81 } 82 // @codeCoverageIgnoreEnd 83 84 $this->unserialize($data['bytes']); 85 } 60 86 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Generator/CombGenerator.php
r2521616 r2686283 108 108 return (string) hex2bin( 109 109 str_pad( 110 bin2hex( (string)$hash),110 bin2hex($hash), 111 111 $length - self::TIMESTAMP_BYTES, 112 112 '0' -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Generator/DceSecurityGenerator.php
r2521616 r2686283 139 139 140 140 $domainByte = pack('n', $localDomain)[1]; 141 $identifierBytes = hex2bin(str_pad($identifierHex, 8, '0', STR_PAD_LEFT));141 $identifierBytes = (string) hex2bin(str_pad($identifierHex, 8, '0', STR_PAD_LEFT)); 142 142 143 143 if ($node instanceof Hexadecimal) { … … 150 150 } 151 151 152 /** @var string $bytes */153 152 $bytes = $this->timeGenerator->generate($node, $clockSeq); 154 153 -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Generator/DefaultNameGenerator.php
r2521616 r2686283 17 17 use Ramsey\Uuid\Exception\NameException; 18 18 use Ramsey\Uuid\UuidInterface; 19 use ValueError; 19 20 20 21 use function hash; … … 29 30 public function generate(UuidInterface $ns, string $name, string $hashAlgorithm): string 30 31 { 31 /** @var string|bool $bytes */ 32 $bytes = @hash($hashAlgorithm, $ns->getBytes() . $name, true); 32 try { 33 /** @var string|bool $bytes */ 34 $bytes = @hash($hashAlgorithm, $ns->getBytes() . $name, true); 35 } catch (ValueError $e) { 36 $bytes = false; // keep same behavior than PHP 7 37 } 33 38 34 39 if ($bytes === false) { -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php
r2521616 r2686283 36 36 switch ($hashAlgorithm) { 37 37 case 'md5': 38 $uuid = (string)uuid_generate_md5($ns->toString(), $name);38 $uuid = uuid_generate_md5($ns->toString(), $name); 39 39 40 40 break; 41 41 case 'sha1': 42 $uuid = (string)uuid_generate_sha1($ns->toString(), $name);42 $uuid = uuid_generate_sha1($ns->toString(), $name); 43 43 44 44 break; … … 50 50 } 51 51 52 return (string)uuid_parse($uuid);52 return uuid_parse($uuid); 53 53 } 54 54 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php
r2521616 r2686283 14 14 15 15 namespace Ramsey\Uuid\Generator; 16 17 use function uuid_create; 18 use function uuid_parse; 16 19 17 20 use const UUID_TYPE_RANDOM; -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php
r2521616 r2686283 14 14 15 15 namespace Ramsey\Uuid\Generator; 16 17 use function uuid_create; 18 use function uuid_parse; 16 19 17 20 use const UUID_TYPE_TIME; -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\RandomSourceException; 18 use Throwable; 18 19 19 20 /** … … 34 35 try { 35 36 return random_bytes($length); 36 } catch ( \Throwable $exception) {37 } catch (Throwable $exception) { 37 38 throw new RandomSourceException( 38 39 $exception->getMessage(), -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Guid/Fields.php
r2521616 r2686283 95 95 { 96 96 // Swap the bytes from little endian to network byte order. 97 /** @var array $hex */ 97 98 $hex = unpack( 98 99 'H*', … … 110 111 { 111 112 // Swap the bytes from little endian to network byte order. 113 /** @var array $hex */ 112 114 $hex = unpack( 113 115 'H*', … … 124 126 { 125 127 // Swap the bytes from little endian to network byte order. 128 /** @var array $hex */ 126 129 $hex = unpack( 127 130 'H*', … … 173 176 } 174 177 178 /** @var array $parts */ 175 179 $parts = unpack('n*', $this->bytes); 176 180 -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Guid/Guid.php
r2521616 r2686283 19 19 use Ramsey\Uuid\Converter\TimeConverterInterface; 20 20 use Ramsey\Uuid\Uuid; 21 use Ramsey\Uuid\UuidInterface;22 21 23 22 /** … … 50 49 * @psalm-immutable 51 50 */ 52 final class Guid extends Uuid implements UuidInterface51 final class Guid extends Uuid 53 52 { 54 53 public function __construct( -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Lazy/LazyUuidFromString.php
r2521616 r2686283 8 8 * 9 9 * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> 10 * @license http://opensource.org/licenses/MIT MIT10 * @license http://opensource.org/licenses/MIT MIT 11 11 */ 12 12 … … 25 25 use Ramsey\Uuid\UuidFactory; 26 26 use Ramsey\Uuid\UuidInterface; 27 use ValueError; 27 28 28 29 use function assert; 29 30 use function bin2hex; 30 31 use function hex2bin; 32 use function sprintf; 31 33 use function str_replace; 32 34 use function substr; … … 92 94 93 95 /** 96 * @return array{string: string} 97 * 98 * @psalm-return array{string: non-empty-string} 99 */ 100 public function __serialize(): array 101 { 102 return ['string' => $this->uuid]; 103 } 104 105 /** 94 106 * {@inheritDoc} 95 107 * … … 101 113 { 102 114 $this->uuid = $serialized; 115 } 116 117 /** 118 * @param array{string: string} $data 119 * 120 * @psalm-param array{string: non-empty-string} $data 121 */ 122 public function __unserialize(array $data): void 123 { 124 // @codeCoverageIgnoreStart 125 if (!isset($data['string'])) { 126 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 127 } 128 // @codeCoverageIgnoreEnd 129 130 $this->unserialize($data['string']); 103 131 } 104 132 … … 243 271 public function getBytes(): string 244 272 { 273 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 245 274 return (string) hex2bin(str_replace('-', '', $this->uuid)); 246 275 } … … 498 527 { 499 528 $instance = ($this->unwrapped ?? $this->unwrap()); 500 $fields = $instance->getFields();529 $fields = $instance->getFields(); 501 530 502 531 if ($fields->getVersion() !== 1) { -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Nonstandard/Uuid.php
r2521616 r2686283 19 19 use Ramsey\Uuid\Converter\TimeConverterInterface; 20 20 use Ramsey\Uuid\Uuid as BaseUuid; 21 use Ramsey\Uuid\UuidInterface;22 21 23 22 /** … … 26 25 * @psalm-immutable 27 26 */ 28 final class Uuid extends BaseUuid implements UuidInterface27 final class Uuid extends BaseUuid 29 28 { 30 29 public function __construct( -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php
r2521616 r2686283 178 178 } 179 179 180 /** @var string $sid */ 181 $sid = str_getcsv(trim($response))[1] ?? ''; 180 $sid = str_getcsv(trim((string) $response))[1] ?? ''; 182 181 183 182 if (($lastHyphen = strrpos($sid, '-')) === false) { … … 208 207 209 208 /** @var string[] $userGroups */ 210 $userGroups = preg_split('/\s{2,}/', $response, -1, PREG_SPLIT_NO_EMPTY);209 $userGroups = preg_split('/\s{2,}/', (string) $response, -1, PREG_SPLIT_NO_EMPTY); 211 210 212 211 $firstGroup = trim($userGroups[1] ?? '', "* \t\n\r\0\x0B"); … … 223 222 224 223 /** @var string[] $userGroup */ 225 $userGroup = preg_split('/\s{2,}/', $response, -1, PREG_SPLIT_NO_EMPTY);224 $userGroup = preg_split('/\s{2,}/', (string) $response, -1, PREG_SPLIT_NO_EMPTY); 226 225 227 226 $sid = $userGroup[1] ?? ''; -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php
r2521616 r2686283 42 42 $lastProviderException = null; 43 43 44 /** @var NodeProviderInterface $provider */45 44 foreach ($this->nodeProviders as $provider) { 46 45 try { -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php
r2521616 r2686283 16 16 17 17 use Ramsey\Collection\AbstractCollection; 18 use Ramsey\Collection\CollectionInterface;19 18 use Ramsey\Uuid\Provider\NodeProviderInterface; 20 19 use Ramsey\Uuid\Type\Hexadecimal; … … 22 21 /** 23 22 * A collection of NodeProviderInterface objects 23 * 24 * @extends AbstractCollection<NodeProviderInterface> 24 25 */ 25 class NodeProviderCollection extends AbstractCollection implements CollectionInterface26 class NodeProviderCollection extends AbstractCollection 26 27 { 27 28 public function getType(): string … … 37 38 * 38 39 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 40 * @psalm-suppress RedundantConditionGivenDocblockType 39 41 */ 40 42 public function unserialize($serialized): void 41 43 { 42 /** @var mixed[]$data */44 /** @var array<array-key, NodeProviderInterface> $data */ 43 45 $data = unserialize($serialized, [ 44 46 'allowed_classes' => [ … … 50 52 ]); 51 53 52 $this->data = $data; 54 $this->data = array_filter( 55 $data, 56 function ($unserialized): bool { 57 return $unserialized instanceof NodeProviderInterface; 58 } 59 ); 53 60 } 54 61 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php
r2521616 r2686283 18 18 use Ramsey\Uuid\Provider\NodeProviderInterface; 19 19 use Ramsey\Uuid\Type\Hexadecimal; 20 use Throwable; 20 21 21 22 use function bin2hex; … … 39 40 try { 40 41 $nodeBytes = random_bytes(6); 41 } catch ( \Throwable $exception) {42 } catch (Throwable $exception) { 42 43 throw new RandomSourceException( 43 44 $exception->getMessage(), -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php
r2521616 r2686283 133 133 } 134 134 135 return (string)$node;135 return $node; 136 136 } 137 137 -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Rfc4122/Fields.php
r2521616 r2686283 178 178 } 179 179 180 /** @var array $parts */ 180 181 $parts = unpack('n*', $this->bytes); 181 182 -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Rfc4122/VariantTrait.php
r2521616 r2686283 59 59 } 60 60 61 /** @var array $parts */ 61 62 $parts = unpack('n*', $this->getBytes()); 62 63 -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Type/Decimal.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\InvalidArgumentException; 18 use ValueError; 18 19 19 20 use function is_numeric; 21 use function sprintf; 20 22 21 23 /** … … 100 102 101 103 /** 104 * @return array{string: string} 105 */ 106 public function __serialize(): array 107 { 108 return ['string' => $this->toString()]; 109 } 110 111 /** 102 112 * Constructs the object from a serialized string representation 103 113 * … … 105 115 * 106 116 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 117 * @psalm-suppress UnusedMethodCall 107 118 */ 108 119 public function unserialize($serialized): void … … 110 121 $this->__construct($serialized); 111 122 } 123 124 /** 125 * @param array{string: string} $data 126 */ 127 public function __unserialize(array $data): void 128 { 129 // @codeCoverageIgnoreStart 130 if (!isset($data['string'])) { 131 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 132 } 133 // @codeCoverageIgnoreEnd 134 135 $this->unserialize($data['string']); 136 } 112 137 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Type/Hexadecimal.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\InvalidArgumentException; 18 use ValueError; 18 19 19 20 use function ctype_xdigit; 21 use function sprintf; 20 22 use function strpos; 21 23 use function strtolower; … … 79 81 80 82 /** 83 * @return array{string: string} 84 */ 85 public function __serialize(): array 86 { 87 return ['string' => $this->toString()]; 88 } 89 90 /** 81 91 * Constructs the object from a serialized string representation 82 92 * … … 84 94 * 85 95 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 96 * @psalm-suppress UnusedMethodCall 86 97 */ 87 98 public function unserialize($serialized): void … … 89 100 $this->__construct($serialized); 90 101 } 102 103 /** 104 * @param array{string: string} $data 105 */ 106 public function __unserialize(array $data): void 107 { 108 // @codeCoverageIgnoreStart 109 if (!isset($data['string'])) { 110 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 111 } 112 // @codeCoverageIgnoreEnd 113 114 $this->unserialize($data['string']); 115 } 91 116 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Type/Integer.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\InvalidArgumentException; 18 use ValueError; 18 19 19 20 use function ctype_digit; 20 21 use function ltrim; 22 use function sprintf; 21 23 use function strpos; 22 24 use function substr; … … 37 39 { 38 40 /** 39 * @ varstring41 * @psalm-var numeric-string 40 42 */ 41 43 private $value; … … 81 83 } 82 84 83 $this->value = $value; 85 /** @psalm-var numeric-string $numericValue */ 86 $numericValue = $value; 87 88 $this->value = $numericValue; 84 89 } 85 90 … … 89 94 } 90 95 96 /** 97 * @psalm-return numeric-string 98 */ 91 99 public function toString(): string 92 100 { … … 110 118 111 119 /** 120 * @return array{string: string} 121 */ 122 public function __serialize(): array 123 { 124 return ['string' => $this->toString()]; 125 } 126 127 /** 112 128 * Constructs the object from a serialized string representation 113 129 * … … 115 131 * 116 132 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 133 * @psalm-suppress UnusedMethodCall 117 134 */ 118 135 public function unserialize($serialized): void … … 120 137 $this->__construct($serialized); 121 138 } 139 140 /** 141 * @param array{string: string} $data 142 */ 143 public function __unserialize(array $data): void 144 { 145 // @codeCoverageIgnoreStart 146 if (!isset($data['string'])) { 147 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 148 } 149 // @codeCoverageIgnoreEnd 150 151 $this->unserialize($data['string']); 152 } 122 153 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Type/Time.php
r2521616 r2686283 17 17 use Ramsey\Uuid\Exception\UnsupportedOperationException; 18 18 use Ramsey\Uuid\Type\Integer as IntegerObject; 19 use ValueError; 19 20 use stdClass; 20 21 21 22 use function json_decode; 22 23 use function json_encode; 24 use function sprintf; 23 25 24 26 /** … … 90 92 91 93 /** 94 * @return array{seconds: string, microseconds: string} 95 */ 96 public function __serialize(): array 97 { 98 return [ 99 'seconds' => $this->getSeconds()->toString(), 100 'microseconds' => $this->getMicroseconds()->toString(), 101 ]; 102 } 103 104 /** 92 105 * Constructs the object from a serialized string representation 93 106 * … … 95 108 * 96 109 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 110 * @psalm-suppress UnusedMethodCall 97 111 */ 98 112 public function unserialize($serialized): void … … 109 123 $this->__construct($time->seconds, $time->microseconds); 110 124 } 125 126 /** 127 * @param array{seconds: string, microseconds: string} $data 128 */ 129 public function __unserialize(array $data): void 130 { 131 // @codeCoverageIgnoreStart 132 if (!isset($data['seconds']) || !isset($data['microseconds'])) { 133 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 134 } 135 // @codeCoverageIgnoreEnd 136 137 $this->__construct($data['seconds'], $data['microseconds']); 138 } 111 139 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/Uuid.php
r2521616 r2686283 24 24 use Ramsey\Uuid\Type\Hexadecimal; 25 25 use Ramsey\Uuid\Type\Integer as IntegerObject; 26 26 use ValueError; 27 28 use function assert; 27 29 use function bin2hex; 28 30 use function preg_match; 31 use function sprintf; 29 32 use function str_replace; 30 33 use function strcmp; … … 239 242 * use Ramsey\Uuid\Uuid; 240 243 * 241 * $timeBasedUuid = Uuid::uuid1();242 * $namespaceMd5Uuid = Uuid::uuid3(Uuid::NAMESPACE_URL, 'http://php.net/');243 * $randomUuid = Uuid::uuid4();244 * $timeBasedUuid = Uuid::uuid1(); 245 * $namespaceMd5Uuid = Uuid::uuid3(Uuid::NAMESPACE_URL, 'http://php.net/'); 246 * $randomUuid = Uuid::uuid4(); 244 247 * $namespaceSha1Uuid = Uuid::uuid5(Uuid::NAMESPACE_URL, 'http://php.net/'); 245 248 * ``` … … 286 289 public function serialize(): string 287 290 { 288 return $this->getBytes(); 291 return $this->getFields()->getBytes(); 292 } 293 294 /** 295 * @return array{bytes: string} 296 */ 297 public function __serialize(): array 298 { 299 return ['bytes' => $this->serialize()]; 289 300 } 290 301 … … 311 322 $this->fields = $uuid->fields; 312 323 $this->timeConverter = $uuid->timeConverter; 324 } 325 326 /** 327 * @param array{bytes: string} $data 328 */ 329 public function __unserialize(array $data): void 330 { 331 // @codeCoverageIgnoreStart 332 if (!isset($data['bytes'])) { 333 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 334 } 335 // @codeCoverageIgnoreEnd 336 337 $this->unserialize($data['bytes']); 313 338 } 314 339 … … 453 478 { 454 479 if (! self::$factoryReplaced && preg_match(LazyUuidFromString::VALID_REGEX, $uuid) === 1) { 480 assert($uuid !== ''); 481 455 482 return new LazyUuidFromString(strtolower($uuid)); 456 483 } -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/UuidFactory.php
r2521616 r2686283 472 472 private function uuidFromBytesAndVersion(string $bytes, int $version): UuidInterface 473 473 { 474 $timeHi = (int) unpack('n*', substr($bytes, 6, 2))[1]; 474 /** @var array $unpackedTime */ 475 $unpackedTime = unpack('n*', substr($bytes, 6, 2)); 476 $timeHi = (int) $unpackedTime[1]; 475 477 $timeHiAndVersion = pack('n*', BinaryUtils::applyVersion($timeHi, $version)); 476 478 477 $clockSeqHi = (int) unpack('n*', substr($bytes, 8, 2))[1]; 479 /** @var array $unpackedClockSeq */ 480 $unpackedClockSeq = unpack('n*', substr($bytes, 8, 2)); 481 $clockSeqHi = (int) $unpackedClockSeq[1]; 478 482 $clockSeqHiAndReserved = pack('n*', BinaryUtils::applyVariant($clockSeqHi)); 479 483 -
sophi/tags/1.0.10/vendor/ramsey/uuid/src/functions.php
r2521616 r2686283 30 30 * changes 31 31 * 32 * @return string Version 1 UUID as a string32 * @return non-empty-string Version 1 UUID as a string 33 33 */ 34 34 function v1($node = null, ?int $clockSeq = null): string … … 53 53 * node ID changes 54 54 * 55 * @return string Version 2 UUID as a string55 * @return non-empty-string Version 2 UUID as a string 56 56 */ 57 57 function v2( … … 70 70 * @param string|UuidInterface $ns The namespace (must be a valid UUID) 71 71 * 72 * @return string Version 3 UUID as a string 72 * @return non-empty-string Version 3 UUID as a string 73 * 74 * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, 75 * but under constant factory setups, this method operates in functionally pure manners 73 76 */ 74 77 function v3($ns, string $name): string … … 80 83 * Returns a version 4 (random) UUID 81 84 * 82 * @return string Version 4 UUID as a string85 * @return non-empty-string Version 4 UUID as a string 83 86 */ 84 87 function v4(): string … … 93 96 * @param string|UuidInterface $ns The namespace (must be a valid UUID) 94 97 * 95 * @return string Version 5 UUID as a string 98 * @return non-empty-string Version 5 UUID as a string 99 * 100 * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, 101 * but under constant factory setups, this method operates in functionally pure manners 96 102 */ 97 103 function v5($ns, string $name): string … … 110 116 * changes 111 117 * 112 * @return string Version 6 UUID as a string118 * @return non-empty-string Version 6 UUID as a string 113 119 */ 114 120 function v6(?Hexadecimal $node = null, ?int $clockSeq = null): string -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/.github/workflows/cd.yml
r2521616 r2686283 17 17 uses: shivammathur/setup-php@v2 18 18 with: 19 php-version: '7. 2'19 php-version: '7.4' 20 20 extensions: mbstring 21 21 coverage: xdebug -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/.github/workflows/ci.yml
r2521616 r2686283 10 10 build: 11 11 runs-on: ubuntu-20.04 12 strategy: 13 matrix: 14 php: ['7.4', '8.1'] 12 15 13 16 steps: … … 18 21 uses: shivammathur/setup-php@v2 19 22 with: 20 php-version: '7.2'23 php-version: ${{ matrix.php }} 21 24 extensions: mbstring 22 25 coverage: xdebug -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/CHANGELOG
r2521616 r2686283 1 Version 0.5.0 (2022-02-04) 2 -------------------------- 3 Make testTrackerInit version use TRACKER_VERSION (#110) 4 Install composer programmatically (#108) 5 Add PHP 7.4 and 8.1 to CI build (#107) 6 Fix build on ARM (#102) 7 Add a setter for session ID on a subject (#105) (Thanks to @TijmenWierenga) 8 Allow log dir to be overridden for FileEmitter (#106) (Thanks to @EricTendian) 9 Update all copyright notices (#113) 10 1 11 Version 0.4.0 (2021-03-02) 2 12 -------------------------- -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/Dockerfile
r2521616 r2686283 1 FROM php:7.21 FROM --platform=linux/amd64 php:7.4 2 2 3 RUN pecl install xdebug- 2.7.2\3 RUN pecl install xdebug-3.1.3 \ 4 4 && docker-php-ext-enable xdebug 5 5 … … 7 7 && apt-get install -y git wget tar 8 8 9 ADD ./script/install-composer.sh /script/install-composer.sh 10 RUN chmod +x /script/install-composer.sh 11 9 12 WORKDIR /usr/bin 10 11 RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ 12 && php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ 13 && php composer-setup.php \ 14 && php -r "unlink('composer-setup.php');" 13 RUN /script/install-composer.sh 15 14 16 15 WORKDIR /tmp -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/LICENSE-2.0.txt
r2521616 r2686283 188 188 identification within third-party archives. 189 189 190 Copyright [yyyy] [name of copyright owner]190 Copyright 2022 Snowplow Analytics Ltd. 191 191 192 192 Licensed under the Apache License, Version 2.0 (the "License"); -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/Worker.php
r2521616 r2686283 3 3 Worker.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Constants.php
r2521616 r2686283 3 3 Constants.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 47 46 * - Type: the default for what type of request the emitter will be making (POST or GET) 48 47 */ 49 const TRACKER_VERSION = "php-0. 4.0";48 const TRACKER_VERSION = "php-0.5.0"; 50 49 const DEFAULT_BASE_64 = true; 51 50 const DEBUG_LOG_FILES = true; -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitter.php
r2521616 r2686283 4 4 Emitter.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/CurlEmitter.php
r2521616 r2686283 3 3 CurlEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/FileEmitter.php
r2521616 r2686283 3 3 FileEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 50 49 * @param int|null $buffer_size 51 50 * @param bool|null $debug 52 */ 53 public function __construct($uri, $protocol = NULL, $type = NULL, $workers = NULL, $timeout = NULL, $buffer_size = NULL, $debug = false) { 51 * @param string|null $log_dir 52 */ 53 public function __construct($uri, $protocol = NULL, $type = NULL, $workers = NULL, $timeout = NULL, $buffer_size = NULL, $debug = false, $log_dir = NULL) { 54 54 55 55 // Set error handler to catch warnings … … 61 61 $this->type = $this->getRequestType($type); 62 62 $this->url = $this->getCollectorUrl($this->type, $uri, $protocol); 63 $this->log_dir = $ this->worker_root.self::WORKER_FOLDER;63 $this->log_dir = $log_dir ?: $this->worker_root.self::WORKER_FOLDER; 64 64 65 65 // Initilize the event log file -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/SocketEmitter.php
r2521616 r2686283 3 3 SocketEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Emitters/SyncEmitter.php
r2521616 r2686283 3 3 SyncEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Payload.php
r2521616 r2686283 4 4 Payload.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Subject.php
r2521616 r2686283 4 4 Subject.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ … … 150 149 151 150 /** 151 * Sets the Session ID 152 * 153 * @param string $sessionId 154 */ 155 public function setSessionId($sessionId) { 156 $this->tracker_settings["sid"] = $sessionId; 157 } 158 159 /** 160 * Sets the Session Index 161 * 162 * @param int $sessionIndex 163 */ 164 public function setSessionIndex($sessionIndex) { 165 $this->tracker_settings["vid"] = $sessionIndex; 166 } 167 168 /** 152 169 * Sets the referer 153 170 * -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/src/Tracker.php
r2521616 r2686283 4 4 Tracker.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/EmitterTest.php
r2521616 r2686283 3 3 EmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/PayloadTest.php
r2521616 r2686283 3 3 PayloadTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/SubjectTest.php
r2521616 r2686283 3 3 SubjectTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 131 130 $this->assertEquals("tnuid", $settings["tnuid"]); 132 131 } 132 133 public function testAddSessionId() { 134 $this->subject->setSessionId("759e1c9a-6b74-403c-8b6f-18eb9f0c2f02"); 135 $settings = $this->getTrackerSettings(); 136 $this->assertArrayHasKey("sid", $settings); 137 $this->assertEquals("759e1c9a-6b74-403c-8b6f-18eb9f0c2f02", $settings["sid"]); 138 } 139 140 public function testAddSessionIndex() { 141 $this->subject->setSessionIndex(1); 142 $settings = $this->getTrackerSettings(); 143 $this->assertArrayHasKey("vid", $settings); 144 $this->assertEquals(1, $settings["vid"]); 145 } 133 146 } -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/TrackerTest.php
r2521616 r2686283 3 3 TrackerTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 25 24 use Snowplow\Tracker\Subject; 26 25 use PHPUnit\Framework\TestCase; 26 use Snowplow\Tracker\Constants; 27 27 28 28 /** … … 68 68 $this->assertEquals($this->s1, $tracker->returnSubject()); 69 69 $this->assertEquals(false, $tracker->returnEncodeBase64()); 70 $this->assertEquals(array("tv" => "php-0.4.0", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs());70 $this->assertEquals(array("tv" => Constants::TRACKER_VERSION, "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); 71 71 $tracker->turnOffDebug(true); 72 72 } -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/CurlEmitterTest.php
r2521616 r2686283 3 3 CurlEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/FileEmitterTest.php
r2521616 r2686283 3 3 FileEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 122 121 $paths[1]); 123 122 } 123 124 public function testLogDirOverridden() { 125 $log_dir = "/tmp/snowplow/"; 126 $emitter = new FileEmitter($this->uri, false, "POST", 3, 3, 100, false, $log_dir); 127 128 $this->assertEquals($log_dir, $emitter->returnLogDir()); 129 } 124 130 } -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SocketEmitterTest.php
r2521616 r2686283 3 3 SocketEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SyncEmitterTest.php
r2521616 r2686283 3 3 SyncEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/tags/1.0.10/vendor/snowplow/snowplow-tracker/tests/tests/IntegrationTest.php
r2521616 r2686283 3 3 IntegrationTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/includes/classes/SiteAutomation/Request.php
r2681627 r2686283 71 71 * @param string $page Page name. 72 72 * @param string $widget Widget name. 73 * @param float $timeout The request timeout value. 73 74 * 74 75 * @return array|bool 75 76 */ 76 public function get( $page, $widget ) {77 public function get( $page, $widget, $timeout = 3 ) { 77 78 $this->page = $page; 78 79 $this->widget = $widget; … … 104 105 } 105 106 106 $response = $this->request( );107 $response = $this->request( $timeout ); 107 108 108 109 if ( is_wp_error( $response ) ) { … … 148 149 */ 149 150 public function do_cron( $page, $widget ) { 150 $this->get( $page, $widget );151 $this->get( $page, $widget, 3 ); 151 152 } 152 153 … … 188 189 * Get curated data from Sophi Site Automation API. 189 190 * 190 * return 191 */ 192 private function request() { 191 * @param float $timeout The request timeout value. 192 * 193 * @return mixed WP_Error on failure or body request on success. 194 */ 195 private function request( $timeout ) { 193 196 $access_token = $this->auth->get_access_token(); 194 197 … … 201 204 'Content-Type' => 'application/json', 202 205 'Authorization' => 'Bearer ' . $access_token, 203 ] 206 ], 204 207 ]; 205 208 206 209 if ( function_exists( 'vip_safe_wp_remote_get' ) ) { 207 $request = vip_safe_wp_remote_get( $this->api_url, false, 3, 1, 20, $args );210 $request = vip_safe_wp_remote_get( $this->api_url, '', 3, $timeout, 20, $args ); 208 211 } else { 209 $request = wp_remote_get( $this->api_url, $args ); // phpcs:ignore 212 $args['timeout'] = $timeout; 213 $request = wp_remote_get( $this->api_url, $args ); // phpcs:ignore 210 214 } 211 215 -
sophi/trunk/readme.txt
r2681627 r2686283 3 3 Tags: Sophi, Site Automation, Collector, AI, Artifical Intelligence, ML, Machine Learning, Content Curation 4 4 Tested up to: 5.8 5 Stable tag: 1.0. 95 Stable tag: 1.0.10 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 229 229 == Changelog == 230 230 231 = 1.0.9 - 2022-02-18= 231 = 1.0.10 - 2022-02-28 = 232 * **Changed:** Sets the default timeout of the first Sophi request and the cron request to 3 seconds (props [@oscarssanchez](https://github.com/oscarssanchez), [@barryceelen](https://github.com/barryceelen), [@felipeelia](https://github.com/felipeelia), [@tott](https://github.com/tott)). 233 * **Security:** Update dependency `snowplow/snowplow-tracker` from 0.4.0 to 0.5.0 (props [@renovate](https://github.com/apps/renovate)). 234 235 = 1.0.9 - 2022-02-18 = 232 236 * **Added:** `hostname` and `path` fields to schema (props [@Rahmon](https://github.com/Rahmon), [@dinhtungdu](https://github.com/dinhtungdu)). 233 237 * **Fixed:** Return empty post list from Sophi response (props [@oscarssanchez](https://github.com/oscarssanchez), [@barryceelen](https://github.com/barryceelen), [@felipeelia](https://github.com/felipeelia)). … … 239 243 * **Security:** Update dependency `dealerdirect/phpcodesniffer-composer-installer` from 0.7.1 to 0.7.2 (props [@renovate](https://github.com/apps/renovate)). 240 244 241 = 1.0.8 - 2021-12-23 =245 = 1.0.8 - 2021-12-23 = 242 246 * **Changed:** Updated `auth_url` and `audience` parameters to get respective Staging and Development environment access tokens (props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia)). 243 247 * **Fixed:** Issue where multiple Sophi blocks on the same page had duplicated content (props [@Rahmon](https://github.com/Rahmon), [@felipeelia](https://github.com/felipeelia), [@jeffpaul](https://github.com/jeffpaul), [@dinhtungdu](https://github.com/dinhtungdu)). … … 245 249 * **Security:** update dependency `prop-types` from 15.7.2 to 15.8.0 (props [@renovate](https://github.com/marketplace/renovate)). 246 250 247 = 1.0.7 - 2021-10-29 =251 = 1.0.7 - 2021-10-29 = 248 252 * **Changed:** Sophi Auth URL value used for Production, Staging, and Development (props [@jeffpaul](https://profiles.wordpress.org/jeffpaul/), [@barryceelen](https://github.com/barryceelen), [@amckie](https://github.com/amckie)). 249 253 * **Changed:** Sophi Site Automation API URL structure (props [@rahmohn](https://profiles.wordpress.org/rahmohn/)). 250 254 * **Changed:** Sophi Audience URL used in authorization (props [@rahmohn](https://profiles.wordpress.org/rahmohn/)). 251 255 252 = 1.0.6 - 2021-10-27 =256 = 1.0.6 - 2021-10-27 = 253 257 Note: this was a hotfix release to fix an issue with deploys to WordPress.org. 254 258 255 = 1.0.5 - 2021-10-27 =259 = 1.0.5 - 2021-10-27 = 256 260 * **Added:** New content fields sent to Sophi `thumbnailImageUri`, `embeddedImagesCount`, and `keywords` (props [@rahmohn](https://profiles.wordpress.org/rahmohn/), [@felipeelia](https://profiles.wordpress.org/felipeelia), [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). 257 261 * **Changed:** Updated name convention for `appId` (props [@rahmohn](https://profiles.wordpress.org/rahmohn/), [@felipeelia](https://profiles.wordpress.org/felipeelia), [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). … … 266 270 * **Security:** Update dependency `automattic/vipwpcs` from 2.3.2 to 2.3.3 (props [@renovate](https://github.com/marketplace/renovate)). 267 271 268 = 1.0.4 - 2021-07-29 =272 = 1.0.4 - 2021-07-29 = 269 273 * **Added:** Support for Yoast canonical URL (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/)). 270 274 * **Added:** Configure WhiteSource Bolt and Renovate integrations (props [@whitesource-bolt](https://github.com/marketplace/whitesource-bolt), [@renovate](https://github.com/marketplace/renovate)). … … 283 287 * **Security:** Update dependency `10up-toolkit` from 1.0.9 to 1.0.10 (props [@renovate](https://github.com/marketplace/renovate)). 284 288 285 = 1.0.3 - 2021-06-15 =289 = 1.0.3 - 2021-06-15 = 286 290 * **Added:** Data attributes to Site Automation widgets/blocks (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/)). 287 291 * **Changed:** Revisions to tracking data collected to improve Site Automation results (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/)). … … 291 295 * **Fixed:** VIP CLI dry-run mode defaults to `false`, corrects sync limiting, adds progress bar (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@jeffpaul](https://profiles.wordpress.org/jeffpaul/), [@barryceelen](https://profiles.wordpress.org/barryceelen/)). 292 296 293 = 1.0.2 - 2021-04-26 =297 = 1.0.2 - 2021-04-26 = 294 298 * **Changed:** Bump `vipwpcs` from 2.2.0 to 2.3.0 and `php_codesniffer` from 3.5.8 to 3.6.0 (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@jeffpaul](https://profiles.wordpress.org/jeffpaul/)). 295 299 * **Fixed:** WP-CLI command now supports both WordPress VIP and non-VIP environments (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/), [@dkotter](https://profiles.wordpress.org/dkotter/), [@jeffpaul](https://profiles.wordpress.org/jeffpaul/)). 296 300 297 = 1.0.1 - 2021-04-23 =301 = 1.0.1 - 2021-04-23 = 298 302 * **Added:** `noConfigFile` setting (props [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). 299 303 * **Added:** GitHub Actions to deploy releases and update readme/asset changes for WordPress.org (props [@jeffpaul](https://profiles.wordpress.org/jeffpaul/), [@dinhtungdu](https://profiles.wordpress.org/dinhtungdu/)). … … 301 305 * **Fixed:** Minor fixes from WordPress VIP code scan (props [@dkotter](https://profiles.wordpress.org/dkotter/)). 302 306 303 = 1.0.0 - 2021-04-14 =307 = 1.0.0 - 2021-04-14 = 304 308 * Initial public release! 🎉 -
sophi/trunk/sophi.php
r2681627 r2686283 4 4 * Plugin URI: https://github.com/globeandmail/sophi-for-wordpress 5 5 * Description: WordPress VIP-compatible plugin for the Sophi.io Site Automation service. 6 * Version: 1.0. 96 * Version: 1.0.10 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 … … 17 17 18 18 // Useful global constants. 19 define( 'SOPHI_WP_VERSION', '1.0. 9' );19 define( 'SOPHI_WP_VERSION', '1.0.10' ); 20 20 define( 'SOPHI_WP_URL', plugin_dir_url( __FILE__ ) ); 21 21 define( 'SOPHI_WP_PATH', plugin_dir_path( __FILE__ ) ); -
sophi/trunk/vendor/autoload.php
r2681627 r2686283 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee189::getLoader();7 return ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe::getLoader(); -
sophi/trunk/vendor/brick/math/src/BigDecimal.php
r2521616 r2686283 754 754 755 755 /** 756 * This method is required by interface Serializableand SHOULD NOT be accessed directly.756 * This method is required for serializing the object and SHOULD NOT be accessed directly. 757 757 * 758 758 * @internal 759 759 * 760 * @return string761 */ 762 public function serialize() : string763 { 764 return $this->value . ':' . $this->scale;765 } 766 767 /** 768 * This method is only here to implement interface Serializableand cannot be accessed directly.760 * @return array{value: string, scale: int} 761 */ 762 public function __serialize(): array 763 { 764 return ['value' => $this->value, 'scale' => $this->scale]; 765 } 766 767 /** 768 * This method is only here to allow unserializing the object and cannot be accessed directly. 769 769 * 770 770 * @internal 771 771 * @psalm-suppress RedundantPropertyInitializationCheck 772 772 * 773 * @param array{value: string, scale: int} $data 774 * 775 * @return void 776 * 777 * @throws \LogicException 778 */ 779 public function __unserialize(array $data): void 780 { 781 if (isset($this->value)) { 782 throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); 783 } 784 785 $this->value = $data['value']; 786 $this->scale = $data['scale']; 787 } 788 789 /** 790 * This method is required by interface Serializable and SHOULD NOT be accessed directly. 791 * 792 * @internal 793 * 794 * @return string 795 */ 796 public function serialize() : string 797 { 798 return $this->value . ':' . $this->scale; 799 } 800 801 /** 802 * This method is only here to implement interface Serializable and cannot be accessed directly. 803 * 804 * @internal 805 * @psalm-suppress RedundantPropertyInitializationCheck 806 * 773 807 * @param string $value 774 808 * … … 795 829 * @param BigDecimal $y The second decimal number. 796 830 * 797 * @return array{ 0: string, 1:string} The scaled integer values of $x and $y.831 * @return array{string, string} The scaled integer values of $x and $y. 798 832 */ 799 833 private function scaleValues(BigDecimal $x, BigDecimal $y) : array -
sophi/trunk/vendor/brick/math/src/BigInteger.php
r2521616 r2686283 1118 1118 1119 1119 /** 1120 * This method is required by interface Serializableand SHOULD NOT be accessed directly.1120 * This method is required for serializing the object and SHOULD NOT be accessed directly. 1121 1121 * 1122 1122 * @internal 1123 1123 * 1124 * @return string1125 */ 1126 public function serialize() : string1127 { 1128 return $this->value;1129 } 1130 1131 /** 1132 * This method is only here to implement interface Serializableand cannot be accessed directly.1124 * @return array{value: string} 1125 */ 1126 public function __serialize(): array 1127 { 1128 return ['value' => $this->value]; 1129 } 1130 1131 /** 1132 * This method is only here to allow unserializing the object and cannot be accessed directly. 1133 1133 * 1134 1134 * @internal 1135 1135 * @psalm-suppress RedundantPropertyInitializationCheck 1136 1136 * 1137 * @param array{value: string} $data 1138 * 1139 * @return void 1140 * 1141 * @throws \LogicException 1142 */ 1143 public function __unserialize(array $data): void 1144 { 1145 if (isset($this->value)) { 1146 throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); 1147 } 1148 1149 $this->value = $data['value']; 1150 } 1151 1152 /** 1153 * This method is required by interface Serializable and SHOULD NOT be accessed directly. 1154 * 1155 * @internal 1156 * 1157 * @return string 1158 */ 1159 public function serialize() : string 1160 { 1161 return $this->value; 1162 } 1163 1164 /** 1165 * This method is only here to implement interface Serializable and cannot be accessed directly. 1166 * 1167 * @internal 1168 * @psalm-suppress RedundantPropertyInitializationCheck 1169 * 1137 1170 * @param string $value 1138 1171 * -
sophi/trunk/vendor/brick/math/src/BigRational.php
r2521616 r2686283 453 453 454 454 /** 455 * This method is required by interface Serializableand SHOULD NOT be accessed directly.455 * This method is required for serializing the object and SHOULD NOT be accessed directly. 456 456 * 457 457 * @internal 458 458 * 459 * @return string460 */ 461 public function serialize() : string462 { 463 return $this->numerator . '/' . $this->denominator;464 } 465 466 /** 467 * This method is only here to implement interface Serializableand cannot be accessed directly.459 * @return array{numerator: BigInteger, denominator: BigInteger} 460 */ 461 public function __serialize(): array 462 { 463 return ['numerator' => $this->numerator, 'denominator' => $this->denominator]; 464 } 465 466 /** 467 * This method is only here to allow unserializing the object and cannot be accessed directly. 468 468 * 469 469 * @internal 470 470 * @psalm-suppress RedundantPropertyInitializationCheck 471 471 * 472 * @param array{numerator: BigInteger, denominator: BigInteger} $data 473 * 474 * @return void 475 * 476 * @throws \LogicException 477 */ 478 public function __unserialize(array $data): void 479 { 480 if (isset($this->numerator)) { 481 throw new \LogicException('__unserialize() is an internal function, it must not be called directly.'); 482 } 483 484 $this->numerator = $data['numerator']; 485 $this->denominator = $data['denominator']; 486 } 487 488 /** 489 * This method is required by interface Serializable and SHOULD NOT be accessed directly. 490 * 491 * @internal 492 * 493 * @return string 494 */ 495 public function serialize() : string 496 { 497 return $this->numerator . '/' . $this->denominator; 498 } 499 500 /** 501 * This method is only here to implement interface Serializable and cannot be accessed directly. 502 * 503 * @internal 504 * @psalm-suppress RedundantPropertyInitializationCheck 505 * 472 506 * @param string $value 473 507 * -
sophi/trunk/vendor/brick/math/src/Internal/Calculator.php
r2521616 r2686283 100 100 * @param string $b The second operand. 101 101 * 102 * @return array{ 0: bool, 1: bool, 2: string, 3:string} Whether $a and $b are negative, followed by their digits.102 * @return array{bool, bool, string, string} Whether $a and $b are negative, followed by their digits. 103 103 */ 104 104 final protected function init(string $a, string $b) : array … … 678 678 679 679 /** 680 * @psalm-suppress InvalidOperand681 * @see https://github.com/vimeo/psalm/issues/4456682 *683 680 * @param string $number A positive, binary number. 684 681 * -
sophi/trunk/vendor/brick/math/src/Internal/Calculator/NativeCalculator.php
r2521616 r2686283 611 611 * @param string $b The second operand. 612 612 * 613 * @return array{ 0: string, 1: string, 2:int}613 * @return array{string, string, int} 614 614 */ 615 615 private function pad(string $a, string $b) : array -
sophi/trunk/vendor/composer/autoload_classmap.php
r2521616 r2686283 7 7 8 8 return array( 9 'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 9 10 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 11 'ReturnTypeWillChange' => $vendorDir . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 12 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 13 'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', 14 'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', 10 15 ); -
sophi/trunk/vendor/composer/autoload_files.php
r2521616 r2686283 7 7 8 8 return array( 9 '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php', 10 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', 9 11 '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', 10 12 'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php', -
sophi/trunk/vendor/composer/autoload_psr4.php
r2521616 r2686283 7 7 8 8 return array( 9 'Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), 10 'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'), 9 11 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), 10 12 'SophiWP\\' => array($baseDir . '/includes/classes'), -
sophi/trunk/vendor/composer/autoload_real.php
r2681627 r2686283 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee1895 class ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee189', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 6f9a846f452f4d6c6c81ef46712ee189', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit9524e87fca549422a2f03f9da9bccbfe', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire 6f9a846f452f4d6c6c81ef46712ee189($fileIdentifier, $file);61 composerRequire9524e87fca549422a2f03f9da9bccbfe($fileIdentifier, $file); 62 62 } 63 63 … … 71 71 * @return void 72 72 */ 73 function composerRequire 6f9a846f452f4d6c6c81ef46712ee189($fileIdentifier, $file)73 function composerRequire9524e87fca549422a2f03f9da9bccbfe($fileIdentifier, $file) 74 74 { 75 75 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
sophi/trunk/vendor/composer/autoload_static.php
r2681627 r2686283 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee1897 class ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe 8 8 { 9 9 public static $files = array ( 10 '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', 11 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', 10 12 '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', 11 13 'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php', … … 15 17 'S' => 16 18 array ( 19 'Symfony\\Polyfill\\Php81\\' => 23, 20 'Symfony\\Polyfill\\Php80\\' => 23, 17 21 'Symfony\\Polyfill\\Ctype\\' => 23, 18 22 'SophiWP\\' => 8, … … 31 35 32 36 public static $prefixDirsPsr4 = array ( 37 'Symfony\\Polyfill\\Php81\\' => 38 array ( 39 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', 40 ), 41 'Symfony\\Polyfill\\Php80\\' => 42 array ( 43 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', 44 ), 33 45 'Symfony\\Polyfill\\Ctype\\' => 34 46 array ( … … 58 70 59 71 public static $classMap = array ( 72 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 60 73 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 74 'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 75 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 76 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', 77 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', 61 78 ); 62 79 … … 64 81 { 65 82 return \Closure::bind(function () use ($loader) { 66 $loader->prefixLengthsPsr4 = ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$prefixLengthsPsr4;67 $loader->prefixDirsPsr4 = ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$prefixDirsPsr4;68 $loader->classMap = ComposerStaticInit 6f9a846f452f4d6c6c81ef46712ee189::$classMap;83 $loader->prefixLengthsPsr4 = ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$prefixLengthsPsr4; 84 $loader->prefixDirsPsr4 = ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$prefixDirsPsr4; 85 $loader->classMap = ComposerStaticInit9524e87fca549422a2f03f9da9bccbfe::$classMap; 69 86 70 87 }, null, ClassLoader::class); -
sophi/trunk/vendor/composer/installed.json
r2681627 r2686283 3 3 { 4 4 "name": "brick/math", 5 "version": "0.9. 2",6 "version_normalized": "0.9. 2.0",5 "version": "0.9.3", 6 "version_normalized": "0.9.3.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/brick/math.git", 10 "reference": " dff976c2f3487d42c1db75a3b180e2b9f0e72ce0"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/brick/math/zipball/ dff976c2f3487d42c1db75a3b180e2b9f0e72ce0",15 "reference": " dff976c2f3487d42c1db75a3b180e2b9f0e72ce0",10 "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/brick/math/zipball/ca57d18f028f84f777b2168cd1911b0dee2343ae", 15 "reference": "ca57d18f028f84f777b2168cd1911b0dee2343ae", 16 16 "shasum": "" 17 17 }, … … 23 23 "php-coveralls/php-coveralls": "^2.2", 24 24 "phpunit/phpunit": "^7.5.15 || ^8.5 || ^9.0", 25 "vimeo/psalm": "4. 3.2"26 }, 27 "time": "2021-0 1-20T22:51:39+00:00",25 "vimeo/psalm": "4.9.2" 26 }, 27 "time": "2021-08-15T20:50:18+00:00", 28 28 "type": "library", 29 29 "installation-source": "dist", … … 50 50 "support": { 51 51 "issues": "https://github.com/brick/math/issues", 52 "source": "https://github.com/brick/math/tree/0.9. 2"52 "source": "https://github.com/brick/math/tree/0.9.3" 53 53 }, 54 54 "funding": [ 55 { 56 "url": "https://github.com/BenMorel", 57 "type": "github" 58 }, 55 59 { 56 60 "url": "https://tidelift.com/funding/github/packagist/brick/math", … … 62 66 { 63 67 "name": "ramsey/collection", 64 "version": "1. 1.3",65 "version_normalized": "1. 1.3.0",68 "version": "1.2.2", 69 "version_normalized": "1.2.2.0", 66 70 "source": { 67 71 "type": "git", 68 72 "url": "https://github.com/ramsey/collection.git", 69 "reference": "28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1" 70 }, 71 "dist": { 72 "type": "zip", 73 "url": "https://api.github.com/repos/ramsey/collection/zipball/28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1", 74 "reference": "28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1", 75 "shasum": "" 76 }, 77 "require": { 78 "php": "^7.2 || ^8" 73 "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a" 74 }, 75 "dist": { 76 "type": "zip", 77 "url": "https://api.github.com/repos/ramsey/collection/zipball/cccc74ee5e328031b15640b51056ee8d3bb66c0a", 78 "reference": "cccc74ee5e328031b15640b51056ee8d3bb66c0a", 79 "shasum": "" 80 }, 81 "require": { 82 "php": "^7.3 || ^8", 83 "symfony/polyfill-php81": "^1.23" 79 84 }, 80 85 "require-dev": { … … 86 91 "jangregor/phpstan-prophecy": "^0.8", 87 92 "mockery/mockery": "^1.3", 93 "phpspec/prophecy-phpunit": "^2.0", 88 94 "phpstan/extension-installer": "^1", 89 95 "phpstan/phpstan": "^0.12.32", … … 96 102 "vimeo/psalm": "^4.4" 97 103 }, 98 "time": "2021- 01-21T17:40:04+00:00",104 "time": "2021-10-10T03:01:02+00:00", 99 105 "type": "library", 100 106 "installation-source": "dist", … … 115 121 } 116 122 ], 117 "description": "A PHP 7.2+library for representing and manipulating collections.",123 "description": "A PHP library for representing and manipulating collections.", 118 124 "keywords": [ 119 125 "array", … … 126 132 "support": { 127 133 "issues": "https://github.com/ramsey/collection/issues", 128 "source": "https://github.com/ramsey/collection/tree/1. 1.3"134 "source": "https://github.com/ramsey/collection/tree/1.2.2" 129 135 }, 130 136 "funding": [ … … 142 148 { 143 149 "name": "ramsey/uuid", 144 "version": "4. 1.1",145 "version_normalized": "4. 1.1.0",150 "version": "4.2.3", 151 "version_normalized": "4.2.3.0", 146 152 "source": { 147 153 "type": "git", 148 154 "url": "https://github.com/ramsey/uuid.git", 149 "reference": " cd4032040a750077205918c86049aa0f43d22947"150 }, 151 "dist": { 152 "type": "zip", 153 "url": "https://api.github.com/repos/ramsey/uuid/zipball/ cd4032040a750077205918c86049aa0f43d22947",154 "reference": " cd4032040a750077205918c86049aa0f43d22947",155 "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df" 156 }, 157 "dist": { 158 "type": "zip", 159 "url": "https://api.github.com/repos/ramsey/uuid/zipball/fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", 160 "reference": "fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df", 155 161 "shasum": "" 156 162 }, … … 158 164 "brick/math": "^0.8 || ^0.9", 159 165 "ext-json": "*", 160 "php": "^7.2 || ^8 ",166 "php": "^7.2 || ^8.0", 161 167 "ramsey/collection": "^1.0", 162 "symfony/polyfill-ctype": "^1.8" 168 "symfony/polyfill-ctype": "^1.8", 169 "symfony/polyfill-php80": "^1.14" 163 170 }, 164 171 "replace": { … … 166 173 }, 167 174 "require-dev": { 168 "codeception/aspect-mock": "^3", 169 "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7.0", 175 "captainhook/captainhook": "^5.10", 176 "captainhook/plugin-composer": "^5.3", 177 "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", 170 178 "doctrine/annotations": "^1.8", 171 " goaop/framework": "^2",179 "ergebnis/composer-normalize": "^2.15", 172 180 "mockery/mockery": "^1.3", 173 181 "moontoast/math": "^1.1", 174 182 "paragonie/random-lib": "^2", 183 "php-mock/php-mock": "^2.2", 175 184 "php-mock/php-mock-mockery": "^1.3", 176 "php-mock/php-mock-phpunit": "^2.5",177 185 "php-parallel-lint/php-parallel-lint": "^1.1", 178 "phpbench/phpbench": "^ 0.17.1",186 "phpbench/phpbench": "^1.0", 179 187 "phpstan/extension-installer": "^1.0", 180 188 "phpstan/phpstan": "^0.12", 181 189 "phpstan/phpstan-mockery": "^0.12", 182 190 "phpstan/phpstan-phpunit": "^0.12", 183 "phpunit/phpunit": "^8.5", 184 "psy/psysh": "^0.10.0", 185 "slevomat/coding-standard": "^6.0", 191 "phpunit/phpunit": "^8.5 || ^9", 192 "slevomat/coding-standard": "^7.0", 186 193 "squizlabs/php_codesniffer": "^3.5", 187 "vimeo/psalm": " 3.9.4"194 "vimeo/psalm": "^4.9" 188 195 }, 189 196 "suggest": { … … 195 202 "ramsey/uuid-doctrine": "Allows the use of Ramsey\\Uuid\\Uuid as Doctrine field type." 196 203 }, 197 "time": "202 0-08-18T17:17:46+00:00",204 "time": "2021-09-25T23:10:38+00:00", 198 205 "type": "library", 199 206 "extra": { 200 207 "branch-alias": { 201 "dev-master": "4.x-dev" 208 "dev-main": "4.x-dev" 209 }, 210 "captainhook": { 211 "force-install": true 202 212 } 203 213 }, … … 216 226 ], 217 227 "description": "A PHP library for generating and working with universally unique identifiers (UUIDs).", 218 "homepage": "https://github.com/ramsey/uuid",219 228 "keywords": [ 220 229 "guid", … … 224 233 "support": { 225 234 "issues": "https://github.com/ramsey/uuid/issues", 226 "rss": "https://github.com/ramsey/uuid/releases.atom", 227 "source": "https://github.com/ramsey/uuid" 235 "source": "https://github.com/ramsey/uuid/tree/4.2.3" 228 236 }, 229 237 "funding": [ … … 231 239 "url": "https://github.com/ramsey", 232 240 "type": "github" 241 }, 242 { 243 "url": "https://tidelift.com/funding/github/packagist/ramsey/uuid", 244 "type": "tidelift" 233 245 } 234 246 ], … … 237 249 { 238 250 "name": "snowplow/snowplow-tracker", 239 "version": "0. 4.0",240 "version_normalized": "0. 4.0.0",251 "version": "0.5.0", 252 "version_normalized": "0.5.0.0", 241 253 "source": { 242 254 "type": "git", 243 255 "url": "https://github.com/snowplow/snowplow-php-tracker.git", 244 "reference": " 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6"245 }, 246 "dist": { 247 "type": "zip", 248 "url": "https://api.github.com/repos/snowplow/snowplow-php-tracker/zipball/ 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6",249 "reference": " 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6",250 "shasum": "" 251 }, 252 "require": { 253 "php": ">=7. 2",256 "reference": "32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5" 257 }, 258 "dist": { 259 "type": "zip", 260 "url": "https://api.github.com/repos/snowplow/snowplow-php-tracker/zipball/32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5", 261 "reference": "32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5", 262 "shasum": "" 263 }, 264 "require": { 265 "php": ">=7.4", 254 266 "ramsey/uuid": "^3 || ^4" 255 267 }, 256 268 "require-dev": { 257 "php-coveralls/php-coveralls": "^2. 1.0",258 "phpunit/php-token-stream": "^ 3.1.1",259 "phpunit/phpunit": "^ 8.1.4"260 }, 261 "time": "202 1-03-05T11:12:38+00:00",269 "php-coveralls/php-coveralls": "^2.5.2", 270 "phpunit/php-token-stream": "^4.0.4", 271 "phpunit/phpunit": "^9.5.13" 272 }, 273 "time": "2022-02-07T13:57:01+00:00", 262 274 "type": "library", 263 275 "installation-source": "dist", … … 286 298 "email": "support@snowplowanalytics.com", 287 299 "issues": "https://github.com/snowplow/snowplow-php-tracker/issues", 288 "source": "https://github.com/snowplow/snowplow-php-tracker/tree/0. 4.0"300 "source": "https://github.com/snowplow/snowplow-php-tracker/tree/0.5.0" 289 301 }, 290 302 "install-path": "../snowplow/snowplow-tracker" … … 374 386 ], 375 387 "install-path": "../symfony/polyfill-ctype" 388 }, 389 { 390 "name": "symfony/polyfill-php80", 391 "version": "v1.24.0", 392 "version_normalized": "1.24.0.0", 393 "source": { 394 "type": "git", 395 "url": "https://github.com/symfony/polyfill-php80.git", 396 "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" 397 }, 398 "dist": { 399 "type": "zip", 400 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9", 401 "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", 402 "shasum": "" 403 }, 404 "require": { 405 "php": ">=7.1" 406 }, 407 "time": "2021-09-13T13:58:33+00:00", 408 "type": "library", 409 "extra": { 410 "branch-alias": { 411 "dev-main": "1.23-dev" 412 }, 413 "thanks": { 414 "name": "symfony/polyfill", 415 "url": "https://github.com/symfony/polyfill" 416 } 417 }, 418 "installation-source": "dist", 419 "autoload": { 420 "files": [ 421 "bootstrap.php" 422 ], 423 "psr-4": { 424 "Symfony\\Polyfill\\Php80\\": "" 425 }, 426 "classmap": [ 427 "Resources/stubs" 428 ] 429 }, 430 "notification-url": "https://packagist.org/downloads/", 431 "license": [ 432 "MIT" 433 ], 434 "authors": [ 435 { 436 "name": "Ion Bazan", 437 "email": "ion.bazan@gmail.com" 438 }, 439 { 440 "name": "Nicolas Grekas", 441 "email": "p@tchwork.com" 442 }, 443 { 444 "name": "Symfony Community", 445 "homepage": "https://symfony.com/contributors" 446 } 447 ], 448 "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", 449 "homepage": "https://symfony.com", 450 "keywords": [ 451 "compatibility", 452 "polyfill", 453 "portable", 454 "shim" 455 ], 456 "support": { 457 "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" 458 }, 459 "funding": [ 460 { 461 "url": "https://symfony.com/sponsor", 462 "type": "custom" 463 }, 464 { 465 "url": "https://github.com/fabpot", 466 "type": "github" 467 }, 468 { 469 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 470 "type": "tidelift" 471 } 472 ], 473 "install-path": "../symfony/polyfill-php80" 474 }, 475 { 476 "name": "symfony/polyfill-php81", 477 "version": "v1.24.0", 478 "version_normalized": "1.24.0.0", 479 "source": { 480 "type": "git", 481 "url": "https://github.com/symfony/polyfill-php81.git", 482 "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f" 483 }, 484 "dist": { 485 "type": "zip", 486 "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", 487 "reference": "5de4ba2d41b15f9bd0e19b2ab9674135813ec98f", 488 "shasum": "" 489 }, 490 "require": { 491 "php": ">=7.1" 492 }, 493 "time": "2021-09-13T13:58:11+00:00", 494 "type": "library", 495 "extra": { 496 "branch-alias": { 497 "dev-main": "1.23-dev" 498 }, 499 "thanks": { 500 "name": "symfony/polyfill", 501 "url": "https://github.com/symfony/polyfill" 502 } 503 }, 504 "installation-source": "dist", 505 "autoload": { 506 "files": [ 507 "bootstrap.php" 508 ], 509 "psr-4": { 510 "Symfony\\Polyfill\\Php81\\": "" 511 }, 512 "classmap": [ 513 "Resources/stubs" 514 ] 515 }, 516 "notification-url": "https://packagist.org/downloads/", 517 "license": [ 518 "MIT" 519 ], 520 "authors": [ 521 { 522 "name": "Nicolas Grekas", 523 "email": "p@tchwork.com" 524 }, 525 { 526 "name": "Symfony Community", 527 "homepage": "https://symfony.com/contributors" 528 } 529 ], 530 "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", 531 "homepage": "https://symfony.com", 532 "keywords": [ 533 "compatibility", 534 "polyfill", 535 "portable", 536 "shim" 537 ], 538 "support": { 539 "source": "https://github.com/symfony/polyfill-php81/tree/v1.24.0" 540 }, 541 "funding": [ 542 { 543 "url": "https://symfony.com/sponsor", 544 "type": "custom" 545 }, 546 { 547 "url": "https://github.com/fabpot", 548 "type": "github" 549 }, 550 { 551 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", 552 "type": "tidelift" 553 } 554 ], 555 "install-path": "../symfony/polyfill-php81" 376 556 } 377 557 ], -
sophi/trunk/vendor/composer/installed.php
r2681627 r2686283 1 1 <?php return array( 2 2 'root' => array( 3 'pretty_version' => '1.0. 9',4 'version' => '1.0. 9.0',3 'pretty_version' => '1.0.10', 4 'version' => '1.0.10.0', 5 5 'type' => 'wordpress-plugin', 6 6 'install_path' => __DIR__ . '/../../', 7 7 'aliases' => array(), 8 'reference' => ' 6254f70ef2164a657d2677af928d3d5749f351b7',8 'reference' => '40ecf7b05d98fe5458c520f1299445515981a652', 9 9 'name' => 'globeandmail/sophi-for-wordpress', 10 10 'dev' => false, … … 12 12 'versions' => array( 13 13 'brick/math' => array( 14 'pretty_version' => '0.9. 2',15 'version' => '0.9. 2.0',14 'pretty_version' => '0.9.3', 15 'version' => '0.9.3.0', 16 16 'type' => 'library', 17 17 'install_path' => __DIR__ . '/../brick/math', 18 18 'aliases' => array(), 19 'reference' => ' dff976c2f3487d42c1db75a3b180e2b9f0e72ce0',19 'reference' => 'ca57d18f028f84f777b2168cd1911b0dee2343ae', 20 20 'dev_requirement' => false, 21 21 ), 22 22 'globeandmail/sophi-for-wordpress' => array( 23 'pretty_version' => '1.0. 9',24 'version' => '1.0. 9.0',23 'pretty_version' => '1.0.10', 24 'version' => '1.0.10.0', 25 25 'type' => 'wordpress-plugin', 26 26 'install_path' => __DIR__ . '/../../', 27 27 'aliases' => array(), 28 'reference' => ' 6254f70ef2164a657d2677af928d3d5749f351b7',28 'reference' => '40ecf7b05d98fe5458c520f1299445515981a652', 29 29 'dev_requirement' => false, 30 30 ), 31 31 'ramsey/collection' => array( 32 'pretty_version' => '1. 1.3',33 'version' => '1. 1.3.0',32 'pretty_version' => '1.2.2', 33 'version' => '1.2.2.0', 34 34 'type' => 'library', 35 35 'install_path' => __DIR__ . '/../ramsey/collection', 36 36 'aliases' => array(), 37 'reference' => ' 28a5c4ab2f5111db6a60b2b4ec84057e0f43b9c1',37 'reference' => 'cccc74ee5e328031b15640b51056ee8d3bb66c0a', 38 38 'dev_requirement' => false, 39 39 ), 40 40 'ramsey/uuid' => array( 41 'pretty_version' => '4. 1.1',42 'version' => '4. 1.1.0',41 'pretty_version' => '4.2.3', 42 'version' => '4.2.3.0', 43 43 'type' => 'library', 44 44 'install_path' => __DIR__ . '/../ramsey/uuid', 45 45 'aliases' => array(), 46 'reference' => ' cd4032040a750077205918c86049aa0f43d22947',46 'reference' => 'fc9bb7fb5388691fd7373cd44dcb4d63bbcf24df', 47 47 'dev_requirement' => false, 48 48 ), … … 50 50 'dev_requirement' => false, 51 51 'replaced' => array( 52 0 => '4. 1.1',52 0 => '4.2.3', 53 53 ), 54 54 ), 55 55 'snowplow/snowplow-tracker' => array( 56 'pretty_version' => '0. 4.0',57 'version' => '0. 4.0.0',56 'pretty_version' => '0.5.0', 57 'version' => '0.5.0.0', 58 58 'type' => 'library', 59 59 'install_path' => __DIR__ . '/../snowplow/snowplow-tracker', 60 60 'aliases' => array(), 61 'reference' => ' 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6',61 'reference' => '32a08e9a7c25d1c51621751e1cdfcffcdef6cfe5', 62 62 'dev_requirement' => false, 63 63 ), … … 71 71 'dev_requirement' => false, 72 72 ), 73 'symfony/polyfill-php80' => array( 74 'pretty_version' => 'v1.24.0', 75 'version' => '1.24.0.0', 76 'type' => 'library', 77 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 78 'aliases' => array(), 79 'reference' => '57b712b08eddb97c762a8caa32c84e037892d2e9', 80 'dev_requirement' => false, 81 ), 82 'symfony/polyfill-php81' => array( 83 'pretty_version' => 'v1.24.0', 84 'version' => '1.24.0.0', 85 'type' => 'library', 86 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 87 'aliases' => array(), 88 'reference' => '5de4ba2d41b15f9bd0e19b2ab9674135813ec98f', 89 'dev_requirement' => false, 90 ), 73 91 ), 74 92 ); -
sophi/trunk/vendor/ramsey/collection/LICENSE
r2521616 r2686283 1 Copyright (c) 2015-202 0Ben Ramsey <ben@benramsey.com>1 Copyright (c) 2015-2021 Ben Ramsey <ben@benramsey.com> 2 2 3 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
sophi/trunk/vendor/ramsey/collection/src/AbstractArray.php
r2521616 r2686283 26 26 * 27 27 * @template T 28 * @ template-implements ArrayInterface<T>28 * @implements ArrayInterface<T> 29 29 */ 30 30 abstract class AbstractArray implements ArrayInterface … … 55 55 * 56 56 * @link http://php.net/manual/en/iteratoraggregate.getiterator.php IteratorAggregate::getIterator() 57 * 58 * @return Traversable<array-key, T> 57 59 */ 58 60 public function getIterator(): Traversable … … 82 84 * @return T|null the value stored at the offset, or null if the offset 83 85 * does not exist. 84 */ 86 * 87 * @psalm-suppress InvalidAttribute 88 */ 89 #[\ReturnTypeWillChange] // phpcs:ignore 85 90 public function offsetGet($offset) 86 91 { … … 122 127 * Returns a serialized string representation of this array object. 123 128 * 129 * @deprecated The Serializable interface will go away in PHP 9. 130 * 124 131 * @link http://php.net/manual/en/serializable.serialize.php Serializable::serialize() 125 132 * … … 132 139 133 140 /** 141 * Returns data suitable for PHP serialization. 142 * 143 * @link https://www.php.net/manual/en/language.oop5.magic.php#language.oop5.magic.serialize 144 * @link https://www.php.net/serialize 145 * 146 * @return array<array-key, T> 147 */ 148 public function __serialize(): array 149 { 150 return $this->data; 151 } 152 153 /** 134 154 * Converts a serialized string representation into an instance object. 155 * 156 * @deprecated The Serializable interface will go away in PHP 9. 135 157 * 136 158 * @link http://php.net/manual/en/serializable.unserialize.php Serializable::unserialize() … … 149 171 150 172 /** 173 * Adds unserialized data to the object. 174 * 175 * @param array<array-key, T> $data 176 */ 177 public function __unserialize(array $data): void 178 { 179 $this->data = $data; 180 } 181 182 /** 151 183 * Returns the number of items in this array. 152 184 * -
sophi/trunk/vendor/ramsey/collection/src/AbstractCollection.php
r2521616 r2686283 33 33 use function end; 34 34 use function in_array; 35 use function is_int; 35 36 use function reset; 36 37 use function sprintf; … … 43 44 * 44 45 * @template T 45 * @ template-extends AbstractArray<T>46 * @ template-implements CollectionInterface<T>46 * @extends AbstractArray<T> 47 * @implements CollectionInterface<T> 47 48 */ 48 49 abstract class AbstractCollection extends AbstractArray implements CollectionInterface … … 239 240 public function merge(CollectionInterface ...$collections): CollectionInterface 240 241 { 241 $ temp = [$this->data];242 $mergedCollection = clone $this; 242 243 243 244 foreach ($collections as $index => $collection) { … … 256 257 } 257 258 258 $temp[] = $collection->toArray();259 }260 261 /** @var array<array-key, T> $merge */262 $merge = array_merge(...$temp);263 264 $collection = clone $this;265 $collection->data = $merge;266 267 return $ collection;259 foreach ($collection as $key => $value) { 260 if (is_int($key)) { 261 $mergedCollection[] = $value; 262 } else { 263 $mergedCollection[$key] = $value; 264 } 265 } 266 } 267 268 return $mergedCollection; 268 269 } 269 270 -
sophi/trunk/vendor/ramsey/collection/src/AbstractSet.php
r2521616 r2686283 21 21 * 22 22 * @template T 23 * @ template-extends AbstractCollection<T>23 * @extends AbstractCollection<T> 24 24 */ 25 25 abstract class AbstractSet extends AbstractCollection -
sophi/trunk/vendor/ramsey/collection/src/ArrayInterface.php
r2521616 r2686283 24 24 * 25 25 * @template T 26 * @extends ArrayAccess<array-key, T> 27 * @extends IteratorAggregate<array-key, T> 26 28 */ 27 29 interface ArrayInterface extends -
sophi/trunk/vendor/ramsey/collection/src/Collection.php
r2521616 r2686283 72 72 * 73 73 * @template T 74 * @ template-extends AbstractCollection<T>74 * @extends AbstractCollection<T> 75 75 */ 76 76 class Collection extends AbstractCollection -
sophi/trunk/vendor/ramsey/collection/src/CollectionInterface.php
r2521616 r2686283 22 22 * 23 23 * @template T 24 * @ template-extends ArrayInterface<T>24 * @extends ArrayInterface<T> 25 25 */ 26 26 interface CollectionInterface extends ArrayInterface -
sophi/trunk/vendor/ramsey/collection/src/DoubleEndedQueue.php
r2521616 r2686283 23 23 * 24 24 * @template T 25 * @ template-extends Queue<T>26 * @ template-implements DoubleEndedQueueInterface<T>25 * @extends Queue<T> 26 * @implements DoubleEndedQueueInterface<T> 27 27 */ 28 28 class DoubleEndedQueue extends Queue implements DoubleEndedQueueInterface -
sophi/trunk/vendor/ramsey/collection/src/DoubleEndedQueueInterface.php
r2521616 r2686283 161 161 * 162 162 * @template T 163 * @ template-extends QueueInterface<T>163 * @extends QueueInterface<T> 164 164 */ 165 165 interface DoubleEndedQueueInterface extends QueueInterface -
sophi/trunk/vendor/ramsey/collection/src/GenericArray.php
r2521616 r2686283 18 18 * `GenericArray` represents a standard array object. 19 19 * 20 * @ template-extends AbstractArray<mixed>20 * @extends AbstractArray<mixed> 21 21 */ 22 22 class GenericArray extends AbstractArray -
sophi/trunk/vendor/ramsey/collection/src/Map/AbstractMap.php
r2521616 r2686283 27 27 * 28 28 * @template T 29 * @ template-extends AbstractArray<T>30 * @ template-implements MapInterface<T>29 * @extends AbstractArray<T> 30 * @implements MapInterface<T> 31 31 */ 32 32 abstract class AbstractMap extends AbstractArray implements MapInterface -
sophi/trunk/vendor/ramsey/collection/src/Map/AbstractTypedMap.php
r2521616 r2686283 23 23 * minimize the effort required to implement this interface. 24 24 * 25 * @phpstan-ignore-next-line 26 * @template K as array-key 25 * @template K 27 26 * @template T 28 * @ template-extends AbstractMap<T>29 * @ template-implements TypedMapInterface<T>27 * @extends AbstractMap<T> 28 * @implements TypedMapInterface<T> 30 29 */ 31 30 abstract class AbstractTypedMap extends AbstractMap implements TypedMapInterface … … 65 64 } 66 65 66 /** @psalm-suppress MixedArgumentTypeCoercion */ 67 67 parent::offsetSet($offset, $value); 68 68 } -
sophi/trunk/vendor/ramsey/collection/src/Map/AssociativeArrayMap.php
r2521616 r2686283 19 19 * 20 20 * @template T 21 * @ template-extends AbstractMap<T>21 * @extends AbstractMap<T> 22 22 */ 23 23 class AssociativeArrayMap extends AbstractMap -
sophi/trunk/vendor/ramsey/collection/src/Map/MapInterface.php
r2521616 r2686283 23 23 * 24 24 * @template T 25 * @ template-extends ArrayInterface<T>25 * @extends ArrayInterface<T> 26 26 */ 27 27 interface MapInterface extends ArrayInterface -
sophi/trunk/vendor/ramsey/collection/src/Map/NamedParameterMap.php
r2521616 r2686283 27 27 * that may optionally be typed 28 28 * 29 * @ template-extends AbstractMap<mixed>29 * @extends AbstractMap<mixed> 30 30 */ 31 31 class NamedParameterMap extends AbstractMap -
sophi/trunk/vendor/ramsey/collection/src/Map/TypedMap.php
r2521616 r2686283 81 81 * ``` 82 82 * 83 * @phpstan-ignore-next-line 84 * @template K as array-key 83 * @template K 85 84 * @template T 86 * @ template-extends AbstractTypedMap<K, T>85 * @extends AbstractTypedMap<K, T> 87 86 */ 88 87 class TypedMap extends AbstractTypedMap … … 122 121 $this->keyType = $keyType; 123 122 $this->valueType = $valueType; 123 124 /** @psalm-suppress MixedArgumentTypeCoercion */ 124 125 parent::__construct($data); 125 126 } -
sophi/trunk/vendor/ramsey/collection/src/Map/TypedMapInterface.php
r2521616 r2686283 20 20 * 21 21 * @template T 22 * @ template-extends MapInterface<T>22 * @extends MapInterface<T> 23 23 */ 24 24 interface TypedMapInterface extends MapInterface -
sophi/trunk/vendor/ramsey/collection/src/Queue.php
r2521616 r2686283 25 25 * 26 26 * @template T 27 * @ template-extends AbstractArray<T>28 * @ template-implements QueueInterface<T>27 * @extends AbstractArray<T> 28 * @implements QueueInterface<T> 29 29 */ 30 30 class Queue extends AbstractArray implements QueueInterface -
sophi/trunk/vendor/ramsey/collection/src/QueueInterface.php
r2521616 r2686283 95 95 * 96 96 * @template T 97 * @ template-extends ArrayInterface<T>97 * @extends ArrayInterface<T> 98 98 */ 99 99 interface QueueInterface extends ArrayInterface -
sophi/trunk/vendor/ramsey/collection/src/Set.php
r2521616 r2686283 37 37 * 38 38 * @template T 39 * @ template-extends AbstractSet<T>39 * @extends AbstractSet<T> 40 40 */ 41 41 class Set extends AbstractSet -
sophi/trunk/vendor/ramsey/uuid/LICENSE
r2521616 r2686283 1 MIT License 2 3 Copyright (c) 2012-2020 Ben Ramsey <ben@benramsey.com> 1 Copyright (c) 2012-2021 Ben Ramsey <ben@benramsey.com> 4 2 5 3 Permission is hereby granted, free of charge, to any person obtaining a copy -
sophi/trunk/vendor/ramsey/uuid/src/Builder/BuilderCollection.php
r2521616 r2686283 16 16 17 17 use Ramsey\Collection\AbstractCollection; 18 use Ramsey\Collection\CollectionInterface;19 18 use Ramsey\Uuid\Converter\Number\GenericNumberConverter; 20 19 use Ramsey\Uuid\Converter\Time\GenericTimeConverter; … … 28 27 /** 29 28 * A collection of UuidBuilderInterface objects 29 * 30 * @extends AbstractCollection<UuidBuilderInterface> 30 31 */ 31 class BuilderCollection extends AbstractCollection implements CollectionInterface32 class BuilderCollection extends AbstractCollection 32 33 { 33 34 public function getType(): string … … 53 54 * 54 55 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 56 * @psalm-suppress RedundantConditionGivenDocblockType 55 57 */ 56 58 public function unserialize($serialized): void 57 59 { 58 /** @var mixed[]$data */60 /** @var array<array-key, UuidBuilderInterface> $data */ 59 61 $data = unserialize($serialized, [ 60 62 'allowed_classes' => [ … … 69 71 ]); 70 72 71 $this->data = $data; 73 $this->data = array_filter( 74 $data, 75 function ($unserialized): bool { 76 return $unserialized instanceof UuidBuilderInterface; 77 } 78 ); 72 79 } 73 80 } -
sophi/trunk/vendor/ramsey/uuid/src/Builder/DefaultUuidBuilder.php
r2521616 r2686283 22 22 * @psalm-immutable 23 23 */ 24 class DefaultUuidBuilder extends Rfc4122UuidBuilder implements UuidBuilderInterface24 class DefaultUuidBuilder extends Rfc4122UuidBuilder 25 25 { 26 26 } -
sophi/trunk/vendor/ramsey/uuid/src/Builder/FallbackBuilder.php
r2521616 r2686283 56 56 $lastBuilderException = null; 57 57 58 /** @var UuidBuilderInterface $builder */59 58 foreach ($this->builders as $builder) { 60 59 try { -
sophi/trunk/vendor/ramsey/uuid/src/Codec/OrderedTimeCodec.php
r2521616 r2686283 68 68 $bytes = $uuid->getFields()->getBytes(); 69 69 70 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 70 71 return $bytes[6] . $bytes[7] 71 72 . $bytes[4] . $bytes[5] -
sophi/trunk/vendor/ramsey/uuid/src/Codec/StringCodec.php
r2521616 r2686283 76 76 public function encodeBinary(UuidInterface $uuid): string 77 77 { 78 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 78 79 return $uuid->getFields()->getBytes(); 79 80 } -
sophi/trunk/vendor/ramsey/uuid/src/Codec/TimestampFirstCombCodec.php
r2521616 r2686283 77 77 public function encodeBinary(UuidInterface $uuid): string 78 78 { 79 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 79 80 return $this->swapBytes($uuid->getFields()->getBytes()); 80 81 } -
sophi/trunk/vendor/ramsey/uuid/src/Converter/Number/GenericNumberConverter.php
r2521616 r2686283 20 20 21 21 /** 22 * GenericNumberConverter uses the provided calculat eto convert decimal22 * GenericNumberConverter uses the provided calculator to convert decimal 23 23 * numbers to and from hexadecimal values 24 24 * … … 58 58 public function toHex(string $number): string 59 59 { 60 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 60 61 return $this->calculator->toBase(new IntegerObject($number), 16); 61 62 } -
sophi/trunk/vendor/ramsey/uuid/src/Converter/Time/PhpTimeConverter.php
r2521616 r2686283 112 112 } 113 113 114 return new Hexadecimal(str_pad(dechex( (int)$uuidTime), 16, '0', STR_PAD_LEFT));114 return new Hexadecimal(str_pad(dechex($uuidTime), 16, '0', STR_PAD_LEFT)); 115 115 } 116 116 -
sophi/trunk/vendor/ramsey/uuid/src/Exception/BuilderNotFoundException.php
r2521616 r2686283 20 20 * Thrown to indicate that no suitable builder could be found 21 21 */ 22 class BuilderNotFoundException extends PhpRuntimeException 22 class BuilderNotFoundException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/DateTimeException.php
r2521616 r2686283 20 20 * Thrown to indicate that the PHP DateTime extension encountered an exception/error 21 21 */ 22 class DateTimeException extends PhpRuntimeException 22 class DateTimeException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/DceSecurityException.php
r2521616 r2686283 21 21 * (version 2) UUIDs 22 22 */ 23 class DceSecurityException extends PhpRuntimeException 23 class DceSecurityException extends PhpRuntimeException implements UuidExceptionInterface 24 24 { 25 25 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/InvalidArgumentException.php
r2521616 r2686283 20 20 * Thrown to indicate that the argument received is not valid 21 21 */ 22 class InvalidArgumentException extends PhpInvalidArgumentException 22 class InvalidArgumentException extends PhpInvalidArgumentException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/InvalidBytesException.php
r2521616 r2686283 20 20 * Thrown to indicate that the bytes being operated on are invalid in some way 21 21 */ 22 class InvalidBytesException extends PhpRuntimeException 22 class InvalidBytesException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/InvalidUuidStringException.php
r2521616 r2686283 21 21 * of this exception. It exists in the same namespace as this class. 22 22 */ 23 class InvalidUuidStringException extends InvalidArgumentException 23 class InvalidUuidStringException extends InvalidArgumentException implements UuidExceptionInterface 24 24 { 25 25 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/NameException.php
r2521616 r2686283 21 21 * namespace and name 22 22 */ 23 class NameException extends PhpRuntimeException 23 class NameException extends PhpRuntimeException implements UuidExceptionInterface 24 24 { 25 25 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/NodeException.php
r2521616 r2686283 20 20 * Thrown to indicate that attempting to fetch or create a node ID encountered an error 21 21 */ 22 class NodeException extends PhpRuntimeException 22 class NodeException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/RandomSourceException.php
r2521616 r2686283 23 23 * threw an exception. However, it may be used for other sources of random data. 24 24 */ 25 class RandomSourceException extends PhpRuntimeException 25 class RandomSourceException extends PhpRuntimeException implements UuidExceptionInterface 26 26 { 27 27 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/TimeSourceException.php
r2521616 r2686283 20 20 * Thrown to indicate that the source of time encountered an error 21 21 */ 22 class TimeSourceException extends PhpRuntimeException 22 class TimeSourceException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/UnableToBuildUuidException.php
r2521616 r2686283 20 20 * Thrown to indicate a builder is unable to build a UUID 21 21 */ 22 class UnableToBuildUuidException extends PhpRuntimeException 22 class UnableToBuildUuidException extends PhpRuntimeException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/Exception/UnsupportedOperationException.php
r2521616 r2686283 20 20 * Thrown to indicate that the requested operation is not supported 21 21 */ 22 class UnsupportedOperationException extends PhpLogicException 22 class UnsupportedOperationException extends PhpLogicException implements UuidExceptionInterface 23 23 { 24 24 } -
sophi/trunk/vendor/ramsey/uuid/src/FeatureSet.php
r2521616 r2686283 275 275 $this->timeConverter = $this->buildTimeConverter($calculator); 276 276 277 /** @psalm-suppress RedundantPropertyInitializationCheck */ 277 278 if (isset($this->timeProvider)) { 278 279 $this->timeGenerator = $this->buildTimeGenerator($this->timeProvider); -
sophi/trunk/vendor/ramsey/uuid/src/Fields/SerializableFieldsTrait.php
r2521616 r2686283 15 15 namespace Ramsey\Uuid\Fields; 16 16 17 use ValueError; 18 17 19 use function base64_decode; 20 use function sprintf; 18 21 use function strlen; 19 22 … … 44 47 45 48 /** 49 * @return array{bytes: string} 50 */ 51 public function __serialize(): array 52 { 53 return ['bytes' => $this->getBytes()]; 54 } 55 56 /** 46 57 * Constructs the object from a serialized string representation 47 58 * … … 49 60 * 50 61 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 62 * @psalm-suppress UnusedMethodCall 51 63 */ 52 64 public function unserialize($serialized): void … … 58 70 } 59 71 } 72 73 /** 74 * @param array{bytes: string} $data 75 */ 76 public function __unserialize(array $data): void 77 { 78 // @codeCoverageIgnoreStart 79 if (!isset($data['bytes'])) { 80 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 81 } 82 // @codeCoverageIgnoreEnd 83 84 $this->unserialize($data['bytes']); 85 } 60 86 } -
sophi/trunk/vendor/ramsey/uuid/src/Generator/CombGenerator.php
r2521616 r2686283 108 108 return (string) hex2bin( 109 109 str_pad( 110 bin2hex( (string)$hash),110 bin2hex($hash), 111 111 $length - self::TIMESTAMP_BYTES, 112 112 '0' -
sophi/trunk/vendor/ramsey/uuid/src/Generator/DceSecurityGenerator.php
r2521616 r2686283 139 139 140 140 $domainByte = pack('n', $localDomain)[1]; 141 $identifierBytes = hex2bin(str_pad($identifierHex, 8, '0', STR_PAD_LEFT));141 $identifierBytes = (string) hex2bin(str_pad($identifierHex, 8, '0', STR_PAD_LEFT)); 142 142 143 143 if ($node instanceof Hexadecimal) { … … 150 150 } 151 151 152 /** @var string $bytes */153 152 $bytes = $this->timeGenerator->generate($node, $clockSeq); 154 153 -
sophi/trunk/vendor/ramsey/uuid/src/Generator/DefaultNameGenerator.php
r2521616 r2686283 17 17 use Ramsey\Uuid\Exception\NameException; 18 18 use Ramsey\Uuid\UuidInterface; 19 use ValueError; 19 20 20 21 use function hash; … … 29 30 public function generate(UuidInterface $ns, string $name, string $hashAlgorithm): string 30 31 { 31 /** @var string|bool $bytes */ 32 $bytes = @hash($hashAlgorithm, $ns->getBytes() . $name, true); 32 try { 33 /** @var string|bool $bytes */ 34 $bytes = @hash($hashAlgorithm, $ns->getBytes() . $name, true); 35 } catch (ValueError $e) { 36 $bytes = false; // keep same behavior than PHP 7 37 } 33 38 34 39 if ($bytes === false) { -
sophi/trunk/vendor/ramsey/uuid/src/Generator/PeclUuidNameGenerator.php
r2521616 r2686283 36 36 switch ($hashAlgorithm) { 37 37 case 'md5': 38 $uuid = (string)uuid_generate_md5($ns->toString(), $name);38 $uuid = uuid_generate_md5($ns->toString(), $name); 39 39 40 40 break; 41 41 case 'sha1': 42 $uuid = (string)uuid_generate_sha1($ns->toString(), $name);42 $uuid = uuid_generate_sha1($ns->toString(), $name); 43 43 44 44 break; … … 50 50 } 51 51 52 return (string)uuid_parse($uuid);52 return uuid_parse($uuid); 53 53 } 54 54 } -
sophi/trunk/vendor/ramsey/uuid/src/Generator/PeclUuidRandomGenerator.php
r2521616 r2686283 14 14 15 15 namespace Ramsey\Uuid\Generator; 16 17 use function uuid_create; 18 use function uuid_parse; 16 19 17 20 use const UUID_TYPE_RANDOM; -
sophi/trunk/vendor/ramsey/uuid/src/Generator/PeclUuidTimeGenerator.php
r2521616 r2686283 14 14 15 15 namespace Ramsey\Uuid\Generator; 16 17 use function uuid_create; 18 use function uuid_parse; 16 19 17 20 use const UUID_TYPE_TIME; -
sophi/trunk/vendor/ramsey/uuid/src/Generator/RandomBytesGenerator.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\RandomSourceException; 18 use Throwable; 18 19 19 20 /** … … 34 35 try { 35 36 return random_bytes($length); 36 } catch ( \Throwable $exception) {37 } catch (Throwable $exception) { 37 38 throw new RandomSourceException( 38 39 $exception->getMessage(), -
sophi/trunk/vendor/ramsey/uuid/src/Guid/Fields.php
r2521616 r2686283 95 95 { 96 96 // Swap the bytes from little endian to network byte order. 97 /** @var array $hex */ 97 98 $hex = unpack( 98 99 'H*', … … 110 111 { 111 112 // Swap the bytes from little endian to network byte order. 113 /** @var array $hex */ 112 114 $hex = unpack( 113 115 'H*', … … 124 126 { 125 127 // Swap the bytes from little endian to network byte order. 128 /** @var array $hex */ 126 129 $hex = unpack( 127 130 'H*', … … 173 176 } 174 177 178 /** @var array $parts */ 175 179 $parts = unpack('n*', $this->bytes); 176 180 -
sophi/trunk/vendor/ramsey/uuid/src/Guid/Guid.php
r2521616 r2686283 19 19 use Ramsey\Uuid\Converter\TimeConverterInterface; 20 20 use Ramsey\Uuid\Uuid; 21 use Ramsey\Uuid\UuidInterface;22 21 23 22 /** … … 50 49 * @psalm-immutable 51 50 */ 52 final class Guid extends Uuid implements UuidInterface51 final class Guid extends Uuid 53 52 { 54 53 public function __construct( -
sophi/trunk/vendor/ramsey/uuid/src/Lazy/LazyUuidFromString.php
r2521616 r2686283 8 8 * 9 9 * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> 10 * @license http://opensource.org/licenses/MIT MIT10 * @license http://opensource.org/licenses/MIT MIT 11 11 */ 12 12 … … 25 25 use Ramsey\Uuid\UuidFactory; 26 26 use Ramsey\Uuid\UuidInterface; 27 use ValueError; 27 28 28 29 use function assert; 29 30 use function bin2hex; 30 31 use function hex2bin; 32 use function sprintf; 31 33 use function str_replace; 32 34 use function substr; … … 92 94 93 95 /** 96 * @return array{string: string} 97 * 98 * @psalm-return array{string: non-empty-string} 99 */ 100 public function __serialize(): array 101 { 102 return ['string' => $this->uuid]; 103 } 104 105 /** 94 106 * {@inheritDoc} 95 107 * … … 101 113 { 102 114 $this->uuid = $serialized; 115 } 116 117 /** 118 * @param array{string: string} $data 119 * 120 * @psalm-param array{string: non-empty-string} $data 121 */ 122 public function __unserialize(array $data): void 123 { 124 // @codeCoverageIgnoreStart 125 if (!isset($data['string'])) { 126 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 127 } 128 // @codeCoverageIgnoreEnd 129 130 $this->unserialize($data['string']); 103 131 } 104 132 … … 243 271 public function getBytes(): string 244 272 { 273 /** @phpstan-ignore-next-line PHPStan complains that this is not a non-empty-string. */ 245 274 return (string) hex2bin(str_replace('-', '', $this->uuid)); 246 275 } … … 498 527 { 499 528 $instance = ($this->unwrapped ?? $this->unwrap()); 500 $fields = $instance->getFields();529 $fields = $instance->getFields(); 501 530 502 531 if ($fields->getVersion() !== 1) { -
sophi/trunk/vendor/ramsey/uuid/src/Nonstandard/Uuid.php
r2521616 r2686283 19 19 use Ramsey\Uuid\Converter\TimeConverterInterface; 20 20 use Ramsey\Uuid\Uuid as BaseUuid; 21 use Ramsey\Uuid\UuidInterface;22 21 23 22 /** … … 26 25 * @psalm-immutable 27 26 */ 28 final class Uuid extends BaseUuid implements UuidInterface27 final class Uuid extends BaseUuid 29 28 { 30 29 public function __construct( -
sophi/trunk/vendor/ramsey/uuid/src/Provider/Dce/SystemDceSecurityProvider.php
r2521616 r2686283 178 178 } 179 179 180 /** @var string $sid */ 181 $sid = str_getcsv(trim($response))[1] ?? ''; 180 $sid = str_getcsv(trim((string) $response))[1] ?? ''; 182 181 183 182 if (($lastHyphen = strrpos($sid, '-')) === false) { … … 208 207 209 208 /** @var string[] $userGroups */ 210 $userGroups = preg_split('/\s{2,}/', $response, -1, PREG_SPLIT_NO_EMPTY);209 $userGroups = preg_split('/\s{2,}/', (string) $response, -1, PREG_SPLIT_NO_EMPTY); 211 210 212 211 $firstGroup = trim($userGroups[1] ?? '', "* \t\n\r\0\x0B"); … … 223 222 224 223 /** @var string[] $userGroup */ 225 $userGroup = preg_split('/\s{2,}/', $response, -1, PREG_SPLIT_NO_EMPTY);224 $userGroup = preg_split('/\s{2,}/', (string) $response, -1, PREG_SPLIT_NO_EMPTY); 226 225 227 226 $sid = $userGroup[1] ?? ''; -
sophi/trunk/vendor/ramsey/uuid/src/Provider/Node/FallbackNodeProvider.php
r2521616 r2686283 42 42 $lastProviderException = null; 43 43 44 /** @var NodeProviderInterface $provider */45 44 foreach ($this->nodeProviders as $provider) { 46 45 try { -
sophi/trunk/vendor/ramsey/uuid/src/Provider/Node/NodeProviderCollection.php
r2521616 r2686283 16 16 17 17 use Ramsey\Collection\AbstractCollection; 18 use Ramsey\Collection\CollectionInterface;19 18 use Ramsey\Uuid\Provider\NodeProviderInterface; 20 19 use Ramsey\Uuid\Type\Hexadecimal; … … 22 21 /** 23 22 * A collection of NodeProviderInterface objects 23 * 24 * @extends AbstractCollection<NodeProviderInterface> 24 25 */ 25 class NodeProviderCollection extends AbstractCollection implements CollectionInterface26 class NodeProviderCollection extends AbstractCollection 26 27 { 27 28 public function getType(): string … … 37 38 * 38 39 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 40 * @psalm-suppress RedundantConditionGivenDocblockType 39 41 */ 40 42 public function unserialize($serialized): void 41 43 { 42 /** @var mixed[]$data */44 /** @var array<array-key, NodeProviderInterface> $data */ 43 45 $data = unserialize($serialized, [ 44 46 'allowed_classes' => [ … … 50 52 ]); 51 53 52 $this->data = $data; 54 $this->data = array_filter( 55 $data, 56 function ($unserialized): bool { 57 return $unserialized instanceof NodeProviderInterface; 58 } 59 ); 53 60 } 54 61 } -
sophi/trunk/vendor/ramsey/uuid/src/Provider/Node/RandomNodeProvider.php
r2521616 r2686283 18 18 use Ramsey\Uuid\Provider\NodeProviderInterface; 19 19 use Ramsey\Uuid\Type\Hexadecimal; 20 use Throwable; 20 21 21 22 use function bin2hex; … … 39 40 try { 40 41 $nodeBytes = random_bytes(6); 41 } catch ( \Throwable $exception) {42 } catch (Throwable $exception) { 42 43 throw new RandomSourceException( 43 44 $exception->getMessage(), -
sophi/trunk/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php
r2521616 r2686283 133 133 } 134 134 135 return (string)$node;135 return $node; 136 136 } 137 137 -
sophi/trunk/vendor/ramsey/uuid/src/Rfc4122/Fields.php
r2521616 r2686283 178 178 } 179 179 180 /** @var array $parts */ 180 181 $parts = unpack('n*', $this->bytes); 181 182 -
sophi/trunk/vendor/ramsey/uuid/src/Rfc4122/VariantTrait.php
r2521616 r2686283 59 59 } 60 60 61 /** @var array $parts */ 61 62 $parts = unpack('n*', $this->getBytes()); 62 63 -
sophi/trunk/vendor/ramsey/uuid/src/Type/Decimal.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\InvalidArgumentException; 18 use ValueError; 18 19 19 20 use function is_numeric; 21 use function sprintf; 20 22 21 23 /** … … 100 102 101 103 /** 104 * @return array{string: string} 105 */ 106 public function __serialize(): array 107 { 108 return ['string' => $this->toString()]; 109 } 110 111 /** 102 112 * Constructs the object from a serialized string representation 103 113 * … … 105 115 * 106 116 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 117 * @psalm-suppress UnusedMethodCall 107 118 */ 108 119 public function unserialize($serialized): void … … 110 121 $this->__construct($serialized); 111 122 } 123 124 /** 125 * @param array{string: string} $data 126 */ 127 public function __unserialize(array $data): void 128 { 129 // @codeCoverageIgnoreStart 130 if (!isset($data['string'])) { 131 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 132 } 133 // @codeCoverageIgnoreEnd 134 135 $this->unserialize($data['string']); 136 } 112 137 } -
sophi/trunk/vendor/ramsey/uuid/src/Type/Hexadecimal.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\InvalidArgumentException; 18 use ValueError; 18 19 19 20 use function ctype_xdigit; 21 use function sprintf; 20 22 use function strpos; 21 23 use function strtolower; … … 79 81 80 82 /** 83 * @return array{string: string} 84 */ 85 public function __serialize(): array 86 { 87 return ['string' => $this->toString()]; 88 } 89 90 /** 81 91 * Constructs the object from a serialized string representation 82 92 * … … 84 94 * 85 95 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 96 * @psalm-suppress UnusedMethodCall 86 97 */ 87 98 public function unserialize($serialized): void … … 89 100 $this->__construct($serialized); 90 101 } 102 103 /** 104 * @param array{string: string} $data 105 */ 106 public function __unserialize(array $data): void 107 { 108 // @codeCoverageIgnoreStart 109 if (!isset($data['string'])) { 110 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 111 } 112 // @codeCoverageIgnoreEnd 113 114 $this->unserialize($data['string']); 115 } 91 116 } -
sophi/trunk/vendor/ramsey/uuid/src/Type/Integer.php
r2521616 r2686283 16 16 17 17 use Ramsey\Uuid\Exception\InvalidArgumentException; 18 use ValueError; 18 19 19 20 use function ctype_digit; 20 21 use function ltrim; 22 use function sprintf; 21 23 use function strpos; 22 24 use function substr; … … 37 39 { 38 40 /** 39 * @ varstring41 * @psalm-var numeric-string 40 42 */ 41 43 private $value; … … 81 83 } 82 84 83 $this->value = $value; 85 /** @psalm-var numeric-string $numericValue */ 86 $numericValue = $value; 87 88 $this->value = $numericValue; 84 89 } 85 90 … … 89 94 } 90 95 96 /** 97 * @psalm-return numeric-string 98 */ 91 99 public function toString(): string 92 100 { … … 110 118 111 119 /** 120 * @return array{string: string} 121 */ 122 public function __serialize(): array 123 { 124 return ['string' => $this->toString()]; 125 } 126 127 /** 112 128 * Constructs the object from a serialized string representation 113 129 * … … 115 131 * 116 132 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 133 * @psalm-suppress UnusedMethodCall 117 134 */ 118 135 public function unserialize($serialized): void … … 120 137 $this->__construct($serialized); 121 138 } 139 140 /** 141 * @param array{string: string} $data 142 */ 143 public function __unserialize(array $data): void 144 { 145 // @codeCoverageIgnoreStart 146 if (!isset($data['string'])) { 147 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 148 } 149 // @codeCoverageIgnoreEnd 150 151 $this->unserialize($data['string']); 152 } 122 153 } -
sophi/trunk/vendor/ramsey/uuid/src/Type/Time.php
r2521616 r2686283 17 17 use Ramsey\Uuid\Exception\UnsupportedOperationException; 18 18 use Ramsey\Uuid\Type\Integer as IntegerObject; 19 use ValueError; 19 20 use stdClass; 20 21 21 22 use function json_decode; 22 23 use function json_encode; 24 use function sprintf; 23 25 24 26 /** … … 90 92 91 93 /** 94 * @return array{seconds: string, microseconds: string} 95 */ 96 public function __serialize(): array 97 { 98 return [ 99 'seconds' => $this->getSeconds()->toString(), 100 'microseconds' => $this->getMicroseconds()->toString(), 101 ]; 102 } 103 104 /** 92 105 * Constructs the object from a serialized string representation 93 106 * … … 95 108 * 96 109 * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint 110 * @psalm-suppress UnusedMethodCall 97 111 */ 98 112 public function unserialize($serialized): void … … 109 123 $this->__construct($time->seconds, $time->microseconds); 110 124 } 125 126 /** 127 * @param array{seconds: string, microseconds: string} $data 128 */ 129 public function __unserialize(array $data): void 130 { 131 // @codeCoverageIgnoreStart 132 if (!isset($data['seconds']) || !isset($data['microseconds'])) { 133 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 134 } 135 // @codeCoverageIgnoreEnd 136 137 $this->__construct($data['seconds'], $data['microseconds']); 138 } 111 139 } -
sophi/trunk/vendor/ramsey/uuid/src/Uuid.php
r2521616 r2686283 24 24 use Ramsey\Uuid\Type\Hexadecimal; 25 25 use Ramsey\Uuid\Type\Integer as IntegerObject; 26 26 use ValueError; 27 28 use function assert; 27 29 use function bin2hex; 28 30 use function preg_match; 31 use function sprintf; 29 32 use function str_replace; 30 33 use function strcmp; … … 239 242 * use Ramsey\Uuid\Uuid; 240 243 * 241 * $timeBasedUuid = Uuid::uuid1();242 * $namespaceMd5Uuid = Uuid::uuid3(Uuid::NAMESPACE_URL, 'http://php.net/');243 * $randomUuid = Uuid::uuid4();244 * $timeBasedUuid = Uuid::uuid1(); 245 * $namespaceMd5Uuid = Uuid::uuid3(Uuid::NAMESPACE_URL, 'http://php.net/'); 246 * $randomUuid = Uuid::uuid4(); 244 247 * $namespaceSha1Uuid = Uuid::uuid5(Uuid::NAMESPACE_URL, 'http://php.net/'); 245 248 * ``` … … 286 289 public function serialize(): string 287 290 { 288 return $this->getBytes(); 291 return $this->getFields()->getBytes(); 292 } 293 294 /** 295 * @return array{bytes: string} 296 */ 297 public function __serialize(): array 298 { 299 return ['bytes' => $this->serialize()]; 289 300 } 290 301 … … 311 322 $this->fields = $uuid->fields; 312 323 $this->timeConverter = $uuid->timeConverter; 324 } 325 326 /** 327 * @param array{bytes: string} $data 328 */ 329 public function __unserialize(array $data): void 330 { 331 // @codeCoverageIgnoreStart 332 if (!isset($data['bytes'])) { 333 throw new ValueError(sprintf('%s(): Argument #1 ($data) is invalid', __METHOD__)); 334 } 335 // @codeCoverageIgnoreEnd 336 337 $this->unserialize($data['bytes']); 313 338 } 314 339 … … 453 478 { 454 479 if (! self::$factoryReplaced && preg_match(LazyUuidFromString::VALID_REGEX, $uuid) === 1) { 480 assert($uuid !== ''); 481 455 482 return new LazyUuidFromString(strtolower($uuid)); 456 483 } -
sophi/trunk/vendor/ramsey/uuid/src/UuidFactory.php
r2521616 r2686283 472 472 private function uuidFromBytesAndVersion(string $bytes, int $version): UuidInterface 473 473 { 474 $timeHi = (int) unpack('n*', substr($bytes, 6, 2))[1]; 474 /** @var array $unpackedTime */ 475 $unpackedTime = unpack('n*', substr($bytes, 6, 2)); 476 $timeHi = (int) $unpackedTime[1]; 475 477 $timeHiAndVersion = pack('n*', BinaryUtils::applyVersion($timeHi, $version)); 476 478 477 $clockSeqHi = (int) unpack('n*', substr($bytes, 8, 2))[1]; 479 /** @var array $unpackedClockSeq */ 480 $unpackedClockSeq = unpack('n*', substr($bytes, 8, 2)); 481 $clockSeqHi = (int) $unpackedClockSeq[1]; 478 482 $clockSeqHiAndReserved = pack('n*', BinaryUtils::applyVariant($clockSeqHi)); 479 483 -
sophi/trunk/vendor/ramsey/uuid/src/functions.php
r2521616 r2686283 30 30 * changes 31 31 * 32 * @return string Version 1 UUID as a string32 * @return non-empty-string Version 1 UUID as a string 33 33 */ 34 34 function v1($node = null, ?int $clockSeq = null): string … … 53 53 * node ID changes 54 54 * 55 * @return string Version 2 UUID as a string55 * @return non-empty-string Version 2 UUID as a string 56 56 */ 57 57 function v2( … … 70 70 * @param string|UuidInterface $ns The namespace (must be a valid UUID) 71 71 * 72 * @return string Version 3 UUID as a string 72 * @return non-empty-string Version 3 UUID as a string 73 * 74 * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, 75 * but under constant factory setups, this method operates in functionally pure manners 73 76 */ 74 77 function v3($ns, string $name): string … … 80 83 * Returns a version 4 (random) UUID 81 84 * 82 * @return string Version 4 UUID as a string85 * @return non-empty-string Version 4 UUID as a string 83 86 */ 84 87 function v4(): string … … 93 96 * @param string|UuidInterface $ns The namespace (must be a valid UUID) 94 97 * 95 * @return string Version 5 UUID as a string 98 * @return non-empty-string Version 5 UUID as a string 99 * 100 * @psalm-pure note: changing the internal factory is an edge case not covered by purity invariants, 101 * but under constant factory setups, this method operates in functionally pure manners 96 102 */ 97 103 function v5($ns, string $name): string … … 110 116 * changes 111 117 * 112 * @return string Version 6 UUID as a string118 * @return non-empty-string Version 6 UUID as a string 113 119 */ 114 120 function v6(?Hexadecimal $node = null, ?int $clockSeq = null): string -
sophi/trunk/vendor/snowplow/snowplow-tracker/.github/workflows/cd.yml
r2521616 r2686283 17 17 uses: shivammathur/setup-php@v2 18 18 with: 19 php-version: '7. 2'19 php-version: '7.4' 20 20 extensions: mbstring 21 21 coverage: xdebug -
sophi/trunk/vendor/snowplow/snowplow-tracker/.github/workflows/ci.yml
r2521616 r2686283 10 10 build: 11 11 runs-on: ubuntu-20.04 12 strategy: 13 matrix: 14 php: ['7.4', '8.1'] 12 15 13 16 steps: … … 18 21 uses: shivammathur/setup-php@v2 19 22 with: 20 php-version: '7.2'23 php-version: ${{ matrix.php }} 21 24 extensions: mbstring 22 25 coverage: xdebug -
sophi/trunk/vendor/snowplow/snowplow-tracker/CHANGELOG
r2521616 r2686283 1 Version 0.5.0 (2022-02-04) 2 -------------------------- 3 Make testTrackerInit version use TRACKER_VERSION (#110) 4 Install composer programmatically (#108) 5 Add PHP 7.4 and 8.1 to CI build (#107) 6 Fix build on ARM (#102) 7 Add a setter for session ID on a subject (#105) (Thanks to @TijmenWierenga) 8 Allow log dir to be overridden for FileEmitter (#106) (Thanks to @EricTendian) 9 Update all copyright notices (#113) 10 1 11 Version 0.4.0 (2021-03-02) 2 12 -------------------------- -
sophi/trunk/vendor/snowplow/snowplow-tracker/Dockerfile
r2521616 r2686283 1 FROM php:7.21 FROM --platform=linux/amd64 php:7.4 2 2 3 RUN pecl install xdebug- 2.7.2\3 RUN pecl install xdebug-3.1.3 \ 4 4 && docker-php-ext-enable xdebug 5 5 … … 7 7 && apt-get install -y git wget tar 8 8 9 ADD ./script/install-composer.sh /script/install-composer.sh 10 RUN chmod +x /script/install-composer.sh 11 9 12 WORKDIR /usr/bin 10 11 RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ 12 && php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \ 13 && php composer-setup.php \ 14 && php -r "unlink('composer-setup.php');" 13 RUN /script/install-composer.sh 15 14 16 15 WORKDIR /tmp -
sophi/trunk/vendor/snowplow/snowplow-tracker/LICENSE-2.0.txt
r2521616 r2686283 188 188 identification within third-party archives. 189 189 190 Copyright [yyyy] [name of copyright owner]190 Copyright 2022 Snowplow Analytics Ltd. 191 191 192 192 Licensed under the Apache License, Version 2.0 (the "License"); -
sophi/trunk/vendor/snowplow/snowplow-tracker/Worker.php
r2521616 r2686283 3 3 Worker.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Constants.php
r2521616 r2686283 3 3 Constants.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 47 46 * - Type: the default for what type of request the emitter will be making (POST or GET) 48 47 */ 49 const TRACKER_VERSION = "php-0. 4.0";48 const TRACKER_VERSION = "php-0.5.0"; 50 49 const DEFAULT_BASE_64 = true; 51 50 const DEBUG_LOG_FILES = true; -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Emitter.php
r2521616 r2686283 4 4 Emitter.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Emitters/CurlEmitter.php
r2521616 r2686283 3 3 CurlEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Emitters/FileEmitter.php
r2521616 r2686283 3 3 FileEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 50 49 * @param int|null $buffer_size 51 50 * @param bool|null $debug 52 */ 53 public function __construct($uri, $protocol = NULL, $type = NULL, $workers = NULL, $timeout = NULL, $buffer_size = NULL, $debug = false) { 51 * @param string|null $log_dir 52 */ 53 public function __construct($uri, $protocol = NULL, $type = NULL, $workers = NULL, $timeout = NULL, $buffer_size = NULL, $debug = false, $log_dir = NULL) { 54 54 55 55 // Set error handler to catch warnings … … 61 61 $this->type = $this->getRequestType($type); 62 62 $this->url = $this->getCollectorUrl($this->type, $uri, $protocol); 63 $this->log_dir = $ this->worker_root.self::WORKER_FOLDER;63 $this->log_dir = $log_dir ?: $this->worker_root.self::WORKER_FOLDER; 64 64 65 65 // Initilize the event log file -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Emitters/SocketEmitter.php
r2521616 r2686283 3 3 SocketEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Emitters/SyncEmitter.php
r2521616 r2686283 3 3 SyncEmitter.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Payload.php
r2521616 r2686283 4 4 Payload.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Subject.php
r2521616 r2686283 4 4 Subject.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ … … 150 149 151 150 /** 151 * Sets the Session ID 152 * 153 * @param string $sessionId 154 */ 155 public function setSessionId($sessionId) { 156 $this->tracker_settings["sid"] = $sessionId; 157 } 158 159 /** 160 * Sets the Session Index 161 * 162 * @param int $sessionIndex 163 */ 164 public function setSessionIndex($sessionIndex) { 165 $this->tracker_settings["vid"] = $sessionIndex; 166 } 167 168 /** 152 169 * Sets the referer 153 170 * -
sophi/trunk/vendor/snowplow/snowplow-tracker/src/Tracker.php
r2521616 r2686283 4 4 Tracker.php 5 5 6 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.6 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 7 7 8 8 This program is licensed to you under the Apache License Version 2.0, … … 18 18 19 19 Authors: Joshua Beemster 20 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd21 20 License: Apache License Version 2.0 22 21 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/EmitterTest.php
r2521616 r2686283 3 3 EmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/PayloadTest.php
r2521616 r2686283 3 3 PayloadTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/SubjectTest.php
r2521616 r2686283 3 3 SubjectTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 131 130 $this->assertEquals("tnuid", $settings["tnuid"]); 132 131 } 132 133 public function testAddSessionId() { 134 $this->subject->setSessionId("759e1c9a-6b74-403c-8b6f-18eb9f0c2f02"); 135 $settings = $this->getTrackerSettings(); 136 $this->assertArrayHasKey("sid", $settings); 137 $this->assertEquals("759e1c9a-6b74-403c-8b6f-18eb9f0c2f02", $settings["sid"]); 138 } 139 140 public function testAddSessionIndex() { 141 $this->subject->setSessionIndex(1); 142 $settings = $this->getTrackerSettings(); 143 $this->assertArrayHasKey("vid", $settings); 144 $this->assertEquals(1, $settings["vid"]); 145 } 133 146 } -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/ClassInitTests/TrackerTest.php
r2521616 r2686283 3 3 TrackerTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 25 24 use Snowplow\Tracker\Subject; 26 25 use PHPUnit\Framework\TestCase; 26 use Snowplow\Tracker\Constants; 27 27 28 28 /** … … 68 68 $this->assertEquals($this->s1, $tracker->returnSubject()); 69 69 $this->assertEquals(false, $tracker->returnEncodeBase64()); 70 $this->assertEquals(array("tv" => "php-0.4.0", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs());70 $this->assertEquals(array("tv" => Constants::TRACKER_VERSION, "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); 71 71 $tracker->turnOffDebug(true); 72 72 } -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/CurlEmitterTest.php
r2521616 r2686283 3 3 CurlEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/FileEmitterTest.php
r2521616 r2686283 3 3 FileEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ … … 122 121 $paths[1]); 123 122 } 123 124 public function testLogDirOverridden() { 125 $log_dir = "/tmp/snowplow/"; 126 $emitter = new FileEmitter($this->uri, false, "POST", 3, 3, 100, false, $log_dir); 127 128 $this->assertEquals($log_dir, $emitter->returnLogDir()); 129 } 124 130 } -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SocketEmitterTest.php
r2521616 r2686283 3 3 SocketEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/EmitterTests/SyncEmitterTest.php
r2521616 r2686283 3 3 SyncEmitterTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */ -
sophi/trunk/vendor/snowplow/snowplow-tracker/tests/tests/IntegrationTest.php
r2521616 r2686283 3 3 IntegrationTest.php 4 4 5 Copyright (c) 2014-202 1Snowplow Analytics Ltd. All rights reserved.5 Copyright (c) 2014-2022 Snowplow Analytics Ltd. All rights reserved. 6 6 7 7 This program is licensed to you under the Apache License Version 2.0, … … 17 17 18 18 Authors: Joshua Beemster 19 Copyright: Copyright (c) 2014-2021 Snowplow Analytics Ltd20 19 License: Apache License Version 2.0 21 20 */
Note: See TracChangeset
for help on using the changeset viewer.