utfnormal (main)

sourcepatches
From 425102a194a770abf15dee8b9650bdc6abd52637 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Fri, 14 Jan 2022 13:32:18 +0000
Subject: [PATCH] build: Updating ockcyp/covers-validator to 1.4.0

Change-Id: If3e4d97ba3846f0ec845b503c0198bce45122313
---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index f79463e..7d9c5a7 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
 	"require-dev": {
 		"mediawiki/mediawiki-codesniffer": "38.0.0",
 		"mediawiki/minus-x": "1.1.1",
-		"ockcyp/covers-validator": "1.3.3",
+		"ockcyp/covers-validator": "1.4.0",
 		"php-parallel-lint/php-console-highlighter": "0.5.0",
 		"php-parallel-lint/php-parallel-lint": "1.3.1",
 		"phpunit/phpunit": "^8.5"
-- 
2.20.1

$ date
Fri Jan 14 13:31:35 UTC 2022

$ git clone file:///srv/git/utfnormal.git repo --depth=1 -b master
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
25adeec2e6c7769639d73922975d53a26323201e refs/heads/master

$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 48 installs, 0 updates, 0 removals
  - Installing squizlabs/php_codesniffer (3.6.1): Loading from cache
  - Installing composer/spdx-licenses (1.5.6): Loading from cache
  - Installing composer/semver (3.2.7): Loading from cache
  - Installing mediawiki/mediawiki-codesniffer (v38.0.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.24.0): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.24.0): Loading from cache
  - Installing symfony/polyfill-intl-grapheme (v1.24.0): Loading from cache
  - Installing symfony/polyfill-ctype (v1.24.0): Loading from cache
  - Installing symfony/polyfill-php80 (v1.24.0): Loading from cache
  - Installing symfony/string (v5.4.2): Loading from cache
  - Installing symfony/deprecation-contracts (v2.5.0): Loading from cache
  - Installing psr/container (1.1.1): Loading from cache
  - Installing symfony/service-contracts (v2.5.0): Loading from cache
  - Installing symfony/polyfill-php73 (v1.24.0): Loading from cache
  - Installing symfony/console (v5.4.2): Loading from cache
  - Installing mediawiki/minus-x (1.1.1): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/type (1.1.4): Loading from cache
  - Installing sebastian/resource-operations (2.0.2): Loading from cache
  - Installing sebastian/recursion-context (3.0.1): Loading from cache
  - Installing sebastian/object-reflector (1.1.2): Loading from cache
  - Installing sebastian/object-enumerator (3.0.4): Loading from cache
  - Installing sebastian/global-state (3.0.1): Loading from cache
  - Installing sebastian/exporter (3.1.4): Loading from cache
  - Installing sebastian/environment (4.2.4): Loading from cache
  - Installing sebastian/diff (3.0.3): Loading from cache
  - Installing sebastian/comparator (3.0.3): Loading from cache
  - Installing phpunit/php-timer (2.1.3): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing phpunit/php-file-iterator (2.0.5): Loading from cache
  - Installing theseer/tokenizer (1.2.1): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.2): Loading from cache
  - Installing phpunit/php-token-stream (4.0.4): Loading from cache
  - Installing phpunit/php-code-coverage (7.0.15): Loading from cache
  - Installing doctrine/instantiator (1.4.0): Loading from cache
  - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
  - Installing webmozart/assert (1.10.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.6.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (5.3.0): Loading from cache
  - Installing phpspec/prophecy (v1.15.0): Loading from cache
  - Installing myclabs/deep-copy (1.10.2): Loading from cache
  - Installing phar-io/version (3.1.0): Loading from cache
  - Installing phar-io/manifest (2.0.3): Loading from cache
  - Installing phpunit/phpunit (8.5.22): Loading from cache
  - Installing ockcyp/covers-validator (v1.3.3): Loading from cache
  - Installing php-parallel-lint/php-console-color (v0.3): Loading from cache
  - Installing php-parallel-lint/php-console-highlighter (v0.5): Loading from cache
  - Installing php-parallel-lint/php-parallel-lint (v1.3.1): Loading from cache
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
symfony/console suggests installing psr/log (For using the console logger)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.7.2)
phpunit/phpunit suggests installing phpunit/php-invoker (^2.0.0)
phpunit/phpunit suggests installing ext-soap (*)
phpunit/phpunit suggests installing ext-xdebug (*)
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating autoload files
31 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Upgrading c:ockcyp/covers-validator from 1.3.3 -> 1.4.0
$ composer update
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 0 removals
  - Updating ockcyp/covers-validator (v1.3.3 => v1.4.0): Loading from cache
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Writing lock file
Generating autoload files
31 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
31 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

$ composer test
> parallel-lint . --exclude vendor -e php,inc
PHP 7.3.29 | 10 parallel jobs
...........                                                  11/11 (100 %)


Checked 11 files in 0.1 seconds
No syntax error found
> phpunit
PHPUnit 8.5.22 by Sebastian Bergmann and contributors.

................................................................. 65 / 97 ( 67%)
...............................W                                  97 / 97 (100%)

Time: 24.09 seconds, Memory: 64.27 MB

There was 1 warning:

1) Warning
The data provider specified for UtfNormalTest::testInvariant is invalid.
InvalidArgumentException: Asked for code outside of range (55296)
/src/repo/src/Utils.php:47
/src/repo/tests/UtfNormalTest.php:131

WARNINGS!
Tests: 97, Assertions: 470791, Warnings: 1.
> covers-validator
CoversValidator 1.4.0

Validation complete. All @covers tags are valid.
> phpcs -sp
......... 9 / 9 (100%)


Time: 337ms; Memory: 14MB

> minus-x check .
MinusX
======
Processing /src/repo...
.....................................
All good!
> php scripts/benchmark.php
Testing /src/repo/scripts/testdata/washington.txt (English text)...
              cleanUp    0.2ms  163,448,242 bytes/s (no change)
                toNFC    0.1ms  242,623,170 bytes/s (no change)
                  NFC    5.6ms    5,601,763 bytes/s (no change)
        fastDecompose    1.6ms   19,328,991 bytes/s (no change)
    fastCombiningSort    1.8ms   17,237,599 bytes/s (no change)
          fastCompose    2.1ms   15,281,362 bytes/s (no change)
Testing /src/repo/scripts/testdata/berlin.txt (German text)...
              cleanUp    0.2ms  156,564,358 bytes/s (no change)
                toNFC    0.2ms  240,658,959 bytes/s (no change)
                  NFC    6.9ms    5,302,186 bytes/s (no change)
        fastDecompose    2.0ms   18,316,354 bytes/s (changed)
    fastCombiningSort    2.2ms   16,734,729 bytes/s (no change)
          fastCompose    2.6ms   13,933,213 bytes/s (changed)
Testing /src/repo/scripts/testdata/bulgakov.txt (Russian text)...
              cleanUp    0.4ms   91,670,170 bytes/s (no change)
                toNFC    0.3ms  109,381,392 bytes/s (no change)
                  NFC   10.3ms    3,589,065 bytes/s (no change)
        fastDecompose    3.1ms   11,898,984 bytes/s (changed)
    fastCombiningSort    2.8ms   13,280,777 bytes/s (no change)
          fastCompose    4.5ms    8,338,386 bytes/s (changed)
Testing /src/repo/scripts/testdata/tokyo.txt (Japanese text)...
              cleanUp    0.3ms  104,479,968 bytes/s (no change)
                toNFC    0.3ms  129,930,217 bytes/s (no change)
                  NFC    7.1ms    5,122,084 bytes/s (no change)
        fastDecompose    2.0ms   18,473,490 bytes/s (changed)
    fastCombiningSort    2.0ms   18,145,030 bytes/s (no change)
          fastCompose    3.0ms   12,328,339 bytes/s (changed)
Testing /src/repo/scripts/testdata/young.txt (Korean text)...
              cleanUp    0.4ms   86,952,424 bytes/s (no change)
                toNFC    0.4ms   97,594,033 bytes/s (no change)
                  NFC   21.3ms    1,723,758 bytes/s (no change)
        fastDecompose    5.1ms    7,155,746 bytes/s (changed)
    fastCombiningSort    3.5ms   22,859,458 bytes/s (no change)
          fastCompose   11.8ms    6,732,034 bytes/s (changed)

$ git add .

$ git commit -F /tmp/tmp7uyqcpva
[master 425102a] build: Updating ockcyp/covers-validator to 1.4.0
 1 file changed, 1 insertion(+), 1 deletion(-)

$ git format-patch HEAD~1 --stdout
From 425102a194a770abf15dee8b9650bdc6abd52637 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Fri, 14 Jan 2022 13:32:18 +0000
Subject: [PATCH] build: Updating ockcyp/covers-validator to 1.4.0

Change-Id: If3e4d97ba3846f0ec845b503c0198bce45122313
---
 composer.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/composer.json b/composer.json
index f79463e..7d9c5a7 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
 	"require-dev": {
 		"mediawiki/mediawiki-codesniffer": "38.0.0",
 		"mediawiki/minus-x": "1.1.1",
-		"ockcyp/covers-validator": "1.3.3",
+		"ockcyp/covers-validator": "1.4.0",
 		"php-parallel-lint/php-console-highlighter": "0.5.0",
 		"php-parallel-lint/php-parallel-lint": "1.3.1",
 		"phpunit/phpunit": "^8.5"
-- 
2.20.1

composer dependencies

Dependencies
Development dependencies

Logs

Source code is licensed under the AGPL.