From add9aa658ab785e35b3f5abd32ea9b45fda1eae8 Mon Sep 17 00:00:00 2001 From: muchafm <47305202+muchafm@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:06:00 +0100 Subject: [PATCH] chore: remove psalm (#708) * Add tests and docker folders in .gitattributes (#704) * chore: remove psalm --------- Co-authored-by: Antoine Lamirault --- .gitattributes | 4 +- .github/workflows/static.yml | 25 --------- psalm.baseline.xml | 106 ----------------------------------- psalm.xml | 16 ------ 4 files changed, 2 insertions(+), 149 deletions(-) delete mode 100644 psalm.baseline.xml delete mode 100644 psalm.xml diff --git a/.gitattributes b/.gitattributes index af577adcc..01e45df13 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,7 +7,7 @@ /.editorconfig export-ignore /.travis.yml export-ignore /appveyor.yml export-ignore -/psalm.baseline.xml export-ignore -/psalm.xml export-ignore /bin export-ignore /doc export-ignore +/docker export-ignore +/tests export-ignore diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 19c32b905..83c47ba37 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -53,28 +53,3 @@ jobs: run: | ./vendor/bin/php-cs-fixer --version ./vendor/bin/php-cs-fixer fix --diff --dry-run --show-progress=none - - psalm: - name: Psalm - runs-on: ubuntu-latest - steps: - - name: Set up PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.0' - extensions: mongo, mbstring, fileinfo - tools: composer:v2 - - - name: Checkout code - uses: actions/checkout@v2 - - - name: Download dependencies - run: | - make require-all - composer require --dev --no-update psalm/phar:4.16 - composer update --no-interaction --prefer-dist - - - name: Psalm - run: | - ./vendor/bin/psalm.phar --version - ./vendor/bin/psalm.phar --output-format=github --no-progress --show-info=false --stats diff --git a/psalm.baseline.xml b/psalm.baseline.xml deleted file mode 100644 index 6c664e8ed..000000000 --- a/psalm.baseline.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - - - $key - $metadata - $new - - - - - $metadata - - - - - $cachedKeys - \APCIterator - - - \APCIterator - - - - - $metadata - - - - - DeleteContainerOptions - - - - - $key - $metadata - $new - - - - - \OAuthException - - - - - Config - Config|array|null - - - - - RuntimeException - RuntimeException - RuntimeException - - - - - FileNotFoundException - FileNotFoundException - - - $metadata - - - $cursor - $files - Regex - - - $this->bucket->find(['filename' => $regex], ['projection' => ['filename' => 1]]) - $this->bucket->find([], ['projection' => ['filename' => 1]]) - - - - - Socket - - - - - NET_SFTP_TYPE_DIRECTORY - - - - - $this->sftp - $this->sftp - $this->sftp - $this->sftp - $this->sftp - $this->sftp - $this->sftp - $this->sftp - $this->sftp - $this->sftp - $this->sftp - \Ssh\Sftp - - - RuntimeException - - - diff --git a/psalm.xml b/psalm.xml deleted file mode 100644 index 5289d8eb2..000000000 --- a/psalm.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - -