diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 3e84821..c2673a0 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,10 +21,11 @@ jobs: uses: "mimmi20/ci/.github/workflows/validate.yml@master" with: - extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" + extensions: "ctype, curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" skip-phplint: false + skip-check-composer: false install: name: "Install Project" @@ -33,10 +34,9 @@ jobs: uses: "mimmi20/ci/.github/workflows/install.yml@master" with: - extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" + extensions: "ctype, curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" - composer-outdated-option: "" analytics: name: "Project Analysis" @@ -45,67 +45,13 @@ jobs: uses: "mimmi20/ci/.github/workflows/analytics.yml@master" with: - extensions: "curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" + extensions: "ctype, curl, iconv, mbstring, intl, dom, simplexml, tokenizer, xml, xmlwriter" ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" skip-phpstan: false skip-rector: false skip-phpmd: false - check-composer: - name: "Check composer dependencies" - - runs-on: "${{ matrix.operating-system }}" - - timeout-minutes: 10 - - continue-on-error: false - - needs: "analytics" - - strategy: - fail-fast: false - - matrix: - operating-system: - - "ubuntu-20.04" - - php-version: - # Should use the lowest supported version - - "8.1" - - steps: - - name: "Checkout" - uses: "actions/checkout@v4" - with: - # Disabling shallow clone is recommended for improving relevancy of reporting - fetch-depth: 0 - lfs: false - persist-credentials: false - - - name: "Install PHP" - uses: "shivammathur/setup-php@2.28.0" - with: - php-version: "${{ matrix.php-version }}" - extensions: "none, phar, json, opcache, curl, iconv, mbstring, ctype, dom, intl, simplexml, tokenizer, xml, xmlwriter" - ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" - coverage: "none" - tools: "composer:v2, composer-unused" - env: - fail-fast: true - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - phpts: "nts" - debug: true - - - name: "Update dependencies with composer" - uses: "ramsey/composer-install@2.2.0" - with: - dependency-versions: "${{ matrix.dependencies }}" - composer-options: "--optimize-autoloader --prefer-dist --prefer-stable -v" - - - name: "Check composer.json" - run: "composer-unused unused --ansi --no-progress --no-interaction --output-format=github" - tests: name: "UnitTests with PHPUnit" @@ -144,7 +90,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: php-version: "${{ matrix.php-version }}" - extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, phar, json, opcache, ctype, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0" coverage: "none" tools: "composer:v2" @@ -200,7 +146,7 @@ jobs: uses: "shivammathur/setup-php@2.28.0" with: php-version: "${{ matrix.php-version }}" - extensions: "none, phar, json, opcache, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" + extensions: "none, phar, json, opcache, ctype, curl, iconv, mbstring, dom, intl, simplexml, tokenizer, xml, xmlwriter" ini-values: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0, xdebug.mode=coverage" coverage: "xdebug" tools: "composer:v2" diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 3cd8cc8..4ba4738 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -13,7 +13,7 @@ $header = <<<'EOF' This file is part of the mimmi20/laminas-router-hostname package. - Copyright (c) 2021-2023, Thomas Mueller + Copyright (c) 2021-2024, Thomas Mueller For the full copyright and license information, please view the LICENSE file that was distributed with this source code. diff --git a/LICENSE.md b/LICENSE.md index 9ec6c57..2690054 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # The MIT License (MIT) -Copyright (c) 2020-2023 Thomas Müller +Copyright (c) 2020-2024 Thomas Müller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the _Software_), to deal in the Software without restriction, including without limitation the diff --git a/rector.php b/rector.php index 59c071c..a530437 100644 --- a/rector.php +++ b/rector.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 43bbb09..4ab0c1f 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Module.php b/src/Module.php index cc30e96..42c52ae 100644 --- a/src/Module.php +++ b/src/Module.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Router/HostName.php b/src/Router/HostName.php index 7f39d2f..3d2005c 100644 --- a/src/Router/HostName.php +++ b/src/Router/HostName.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Router/HostNameFactory.php b/src/Router/HostNameFactory.php index 0083601..7524910 100644 --- a/src/Router/HostNameFactory.php +++ b/src/Router/HostNameFactory.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/ConfigProviderTest.php b/tests/ConfigProviderTest.php index 07aba24..abfb7b5 100644 --- a/tests/ConfigProviderTest.php +++ b/tests/ConfigProviderTest.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/ModuleTest.php b/tests/ModuleTest.php index 73f290f..b7b58e5 100644 --- a/tests/ModuleTest.php +++ b/tests/ModuleTest.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Router/HostNameFactoryTest.php b/tests/Router/HostNameFactoryTest.php index c00abdb..ba8a27a 100644 --- a/tests/Router/HostNameFactoryTest.php +++ b/tests/Router/HostNameFactoryTest.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/Router/HostNameTest.php b/tests/Router/HostNameTest.php index 10d61e2..01bafc5 100644 --- a/tests/Router/HostNameTest.php +++ b/tests/Router/HostNameTest.php @@ -2,7 +2,7 @@ /** * This file is part of the mimmi20/laminas-router-hostname package. * - * Copyright (c) 2021-2023, Thomas Mueller + * Copyright (c) 2021-2024, Thomas Mueller * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.