From a7c36b54ab0fc738671c3dba65c087e4688c916f Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Wed, 17 Jan 2024 15:06:09 +0100 Subject: [PATCH 1/7] Add hungarian holidays --- share/HU.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 share/HU.xml diff --git a/share/HU.xml b/share/HU.xml new file mode 100644 index 0000000..190e124 --- /dev/null +++ b/share/HU.xml @@ -0,0 +1,29 @@ + + + + Wikipedia + + Újév + Nemzeti ünnep + Nagypéntek + Húsvéthétfő + A munka ünnepe + Pünkösdhétfő + Az államalapítás ünnepe + Nemzeti ünnep + Mindenszentek + Karácsony + Karácsony másnapja + A magyar kultúra napja + A köztársaság emléknapja + A kommunista diktatúrák áldozatainak emléknapja + A holokauszt áldozatainak emléknapja + Honvédelmi nap + A nemzeti összetartozás napja + A független Magyarország napja + Az aradi vértanúk emléknapja + From 1cda9fce15342f67451d4d0ec327b762976192aa Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Wed, 17 Jan 2024 15:09:21 +0100 Subject: [PATCH 2/7] Add new key signature for phpcs --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index ee4017a..3f4280a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -13,7 +13,7 @@ jobs: php-version: "8.2" tools: phive - name: Download codesniffer - run: phive --no-progress install --trust-gpg-keys 31C7E470E2138192 phpcs + run: phive --no-progress install --trust-gpg-keys 5E6DDE998AB73B8E phpcs - name: Install run: composer install - name: check From cb8ea2ded4dae714143e836eb6c19eff75108e5e Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Wed, 17 Jan 2024 15:12:47 +0100 Subject: [PATCH 3/7] Update php and ICU-versions --- .github/workflows/actions.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 3f4280a..f25c143 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -10,7 +10,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.2" + php-version: "8.3" tools: phive - name: Download codesniffer run: phive --no-progress install --trust-gpg-keys 5E6DDE998AB73B8E phpcs @@ -27,7 +27,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.2" + php-version: "8.3" - name: Install xmllint run: sudo apt-get install libxml2-utils - name: lint @@ -39,11 +39,11 @@ jobs: strategy: matrix: # operating-system: [ubuntu-latest, windows-latest, macos-latest] - php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2'] - icu-versions: ['73.2', '73.1', '71.1', '69.1', '67.1'] + php-versions: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + icu-versions: ['74.1', '73.2', '73.1', '71.1', '69.1', '67.1'] experimental: [false] include: - - php-versions: '8.3' + - php-versions: '8.4' experimental: true name: PHP ${{ matrix.php-versions }}-icu${{ matrix.icu-versions }} # Test on ${{ matrix.operating-system }} steps: @@ -86,7 +86,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "8.2" + php-version: "8.3" tools: phive - name: Download psalm run: phive --no-progress install --trust-gpg-keys 8A03EA3B385DBAA1,12CE0F1D262429A5 psalm From 1c8c07f1111122e5055dac828ed650c7cb1de105 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Wed, 17 Jan 2024 15:19:48 +0100 Subject: [PATCH 4/7] Fix slevomat configuration --- phpcs.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpcs.xml b/phpcs.xml index 7fd3345..bf9316f 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -129,16 +129,16 @@ From f0a9d9ef337423fc561821408729deac7f257908 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Wed, 17 Jan 2024 15:26:01 +0100 Subject: [PATCH 5/7] Use icu 74.1 with php8.4 --- .github/workflows/actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index f25c143..122ff6b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -44,6 +44,7 @@ jobs: experimental: [false] include: - php-versions: '8.4' + icu-versions: '74.1' experimental: true name: PHP ${{ matrix.php-versions }}-icu${{ matrix.icu-versions }} # Test on ${{ matrix.operating-system }} steps: From 7313c52a140ad242392d9fe71cca3c567e76ddf2 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Wed, 17 Jan 2024 15:28:14 +0100 Subject: [PATCH 6/7] Update readme --- README.md | 1 + world.svg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e2c9e4..ef84d08 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,7 @@ Currently these countries are available: * Cyprus * Czech Republic * Switzerland +* Hungary But the list is constantly extending. diff --git a/world.svg b/world.svg index 0f57d4a..175798e 100644 --- a/world.svg +++ b/world.svg @@ -550,7 +550,7 @@ THE SOFTWARE. data-name="Hungary" data-id="HU" d="m 1079.1,263.8 -1.6,0.4 -1,1.5 -2.2,0.7 -0.6,-0.4 -2.3,1 -1.9,0.2 -0.3,1.2 -4.1,0.8 -1.9,-0.7 -2.6,-1.6 -0.2,2.6 -2.8,0 1.1,1.3 -1.3,4 0.8,0.1 1.2,2.1 1.6,0.8 4,2.6 4.2,1.2 1.8,-0.9 0,0 3.7,-1.6 3.2,0.2 3.8,-1.1 2.6,-4.3 1.9,-4.2 2.9,-1.3 -0.6,-1.6 -2.9,-1.7 -1,0.6 -5.5,-1.9 z" - style="fill:#f2f2f2;fill-rule:evenodd" /> + style="fill:#008800;fill-rule:evenodd" /> Date: Wed, 17 Jan 2024 15:32:34 +0100 Subject: [PATCH 7/7] Fix typo --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 122ff6b..5b84e99 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -54,7 +54,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extensions: sodium, intl-${{matrix.icu-version}} + extensions: sodium, intl-${{matrix.icu-versions}} ini-values: post_max_size=256M, short_open_tag=On coverage: xdebug - name: prepare