diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3f3175f..197af23 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -65,7 +65,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.4' extensions: gd, intl, pdo_mysql, iconv coverage: none # disable xdebug, pcov @@ -110,7 +110,7 @@ jobs: - name: Copy and install Addons run: | rsync -av --exclude='.github' --exclude='.git' --exclude='redaxo_cms' './' 'redaxo_cms/redaxo/src/addons/${{ github.event.repository.name }}' - redaxo_cms/redaxo/bin/console install:download 'rexstan' '1.*' + redaxo_cms/redaxo/bin/console install:download 'rexstan' '2.*' redaxo_cms/redaxo/bin/console package:install 'rexstan' redaxo_cms/redaxo/bin/console package:install '${{ github.event.repository.name }}' # execute rexstan.php to create the needed user-config.neon @@ -121,4 +121,4 @@ jobs: # run rexstan - id: rexstan name: Run rexstan - run: redaxo_cms/redaxo/bin/console rexstan:analyze + run: redaxo_cms/redaxo/bin/console rexstan:analyze -v diff --git a/.tools/rexstan.neon b/.tools/rexstan.neon index 4f8cce8..3664e00 100644 --- a/.tools/rexstan.neon +++ b/.tools/rexstan.neon @@ -1,3 +1,14 @@ parameters: - bootstrapFiles: - - ../vendor/deployer/deployer/src/functions.php + bootstrapFiles: + - ../vendor/deployer/deployer/src/functions.php + + ignoreErrors: + - + message: '#internal class rex_(api_)?ydeploy#' + identifiers: + - class.extendsInternalClass + - method.internalClass + - new.internalClass + - parameter.internalClass + - property.internalClass + - staticMethod.internalClass diff --git a/.tools/rexstan.php b/.tools/rexstan.php index 59175b9..70e7e80 100644 --- a/.tools/rexstan.php +++ b/.tools/rexstan.php @@ -39,4 +39,4 @@ * @param array $extensions the extensions to use * @param int $phpVersion the php version to use */ -\rexstan\RexStanUserConfig::save(5, $addon, $extensions, 80203); +\rexstan\RexStanUserConfig::save(5, $addon, $extensions, 80407); diff --git a/deploy.php b/deploy.php index 125e348..d7617ae 100644 --- a/deploy.php +++ b/deploy.php @@ -11,7 +11,7 @@ throw new RuntimeException('YDeploy 2.x requires Deployer 7.x, but Deployer ' . $version . ' is used'); } -require 'recipe/common.php'; +require 'recipe/common.php'; /** @phpstan-ignore require.fileNotFound */ require __DIR__ . '/deployer/config.php'; require __DIR__ . '/deployer/functions.php';