From dcfb86a1e37b197af84eb1da4fa04218c430a34c Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Thu, 19 Oct 2023 16:18:36 +0200 Subject: [PATCH 1/2] Add tests and docker folders in .gitattributes (#704) --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index af577adc..b5b38e2e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,3 +11,5 @@ /psalm.xml export-ignore /bin export-ignore /doc export-ignore +/docker export-ignore +/tests export-ignore From b9c2117fb7dc27d309d9db6dd716c9d1f82eb619 Mon Sep 17 00:00:00 2001 From: Sophie Roussel Date: Mon, 30 Oct 2023 15:42:09 +0100 Subject: [PATCH 2/2] chore: remove psalm --- .gitattributes | 2 - .github/workflows/static.yml | 25 --------- psalm.baseline.xml | 106 ----------------------------------- psalm.xml | 16 ------ 4 files changed, 149 deletions(-) delete mode 100644 psalm.baseline.xml delete mode 100644 psalm.xml diff --git a/.gitattributes b/.gitattributes index b5b38e2e..01e45df1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7,8 +7,6 @@ /.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 diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index e3f643a4..f8ce46cb 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: '7.4' - 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:3.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 6c664e8e..00000000 --- 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 5289d8eb..00000000 --- a/psalm.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - -