diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 943198e0..21b0b38e 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -13,13 +13,12 @@ jobs: strategy: matrix: php-version: + - "7.1" + - "7.2" - "7.3" - "7.4" - "8.0" - "8.1" - - "8.2" - - "8.3" - - "8.4" steps: - uses: actions/checkout@v2 @@ -35,7 +34,7 @@ jobs: - name: Cache Composer packages id: composer-cache - uses: actions/cache@v4 + uses: actions/cache@v2 with: path: vendor key: ${{ runner.os }}-php-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }} @@ -61,7 +60,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "7.3" + php-version: "7.4" ini-values: post_max_size=256M, max_execution_time=180 coverage: xdebug @@ -92,7 +91,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: "7.3" + php-version: "7.4" ini-values: post_max_size=256M, max_execution_time=180 - name: Install dependencies @@ -104,3 +103,5 @@ jobs: - name: Run static analyse run: composer psalm + with: + php-version: "7.4" diff --git a/composer.json b/composer.json index d6cdce05..d99c0b8b 100644 --- a/composer.json +++ b/composer.json @@ -9,18 +9,19 @@ } ], "require": { - "php": ">=7.3", + "php": ">=7.1", "ext-json": "*" }, "require-dev": { "ext-gettext": "*", - "php-coveralls/php-coveralls": "^2.7", - "phpmd/phpmd": "^2.15", - "phpunit/phpunit": "^9.6", "sokil/php-isocodes-db-i18n": "^4.0.0", - "squizlabs/php_codesniffer": "^3.11", + "phpunit/phpunit": ">=7.5.20", + "php-coveralls/php-coveralls": "^2.1", + "squizlabs/php_codesniffer": "^3.4", + "phpmd/phpmd" : "@stable", "symfony/translation": "^4.4.17|^5.2", - "vimeo/psalm": "^4.30" + "vimeo/psalm": "^4.3", + "infection/infection": ">=0.11.5" }, "autoload": { "psr-4": { @@ -52,7 +53,6 @@ "config": { "allow-plugins": { "infection/extension-installer": true - }, - "sort-packages": true + } } }