diff --git a/.github/workflows/release_phar.yml b/.github/workflows/release_phar.yml index 5c112cf..8f22e4c 100644 --- a/.github/workflows/release_phar.yml +++ b/.github/workflows/release_phar.yml @@ -14,14 +14,14 @@ jobs: - name: Get commit message run: | - echo ::set-env name=commitmsg::$(git tag -l --format='%(contents)' ${GITHUB_REF/refs\/tags\//}) + echo "commitmsg=$(git tag -l --format='%(contents)' ${GITHUB_REF/refs\/tags\//})" >> $GITHUB_ENV - name: Show commit message - run : echo $commitmsg + run : echo "${{ env.commitmsg }}" - name: Setup PHP - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@v2 with: - php-version: '7.3' + php-version: '7.4' extensions: ctype, intl, json, mbstring, mysqli, pdo coverage: none @@ -45,7 +45,7 @@ jobs: bin/console cache:warmup - name: Build phar - uses: docker://php:7.3-cli-alpine3.10 + uses: docker://php:7.4-cli-alpine3.10 with: args: "/bin/sh -c \"apk --no-cache add git && curl -sS https://getcomposer.org/installer | php && mv composer.phar /usr/local/bin/composer && curl -LO https://github.com/humbug/box/releases/download/3.8.3/box.phar && mv box.phar /usr/local/bin/box && chmod +x /usr/local/bin/box && box compile && chmod 755 pwmgr.phar\"" @@ -57,7 +57,7 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - body: $commitmsg + body: ${{ env.commitmsg }} draft: false prerelease: contains('-rc', ${GITHUB_REF/refs\/tags\//}) || contains('-alpha', ${GITHUB_REF/refs\/tags\//}) || contains('-beta', ${GITHUB_REF/refs\/tags\//}) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9d4161..9f58824 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,7 +36,7 @@ variables: WORDPRESS_TABLE_PREFIX: wp_ analysis:code-style: - image: php:7.3-cli-alpine + image: php:7.4-cli-alpine stage: analysis tags: - docker diff --git a/composer.json b/composer.json index 236725b..5505597 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": "^7.3", + "php": "^7.4", "ext-ctype": "*", "ext-iconv": "*", "ext-json": "*", @@ -62,7 +62,7 @@ }, "sort-packages": true, "platform": { - "php": "7.3.12" + "php": "7.4.18" }, "allow-plugins": { "symfony/flex": true, diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 83ae3a1..473a4dc 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,7 +1,6 @@ parameters: inferPrivatePropertyTypeFromConstructor: true ignoreErrors: - - '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition::children\(\).#' - message: '#Result of \|\| is always true.#' path: 'src/Command/SelfUpdateCommand.php'