Skip to content

Commit cf792c2

Browse files
authored
Removed psalm static analysis tool (#1311)
* Removed psalm static analysis tool * Update dependencies * Removed psalm leftovers
1 parent f85ff87 commit cf792c2

File tree

100 files changed

+31
-432
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+31
-432
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ updates:
5050
schedule:
5151
interval: "daily"
5252

53-
- package-ecosystem: "composer"
54-
directory: "/tools/psalm"
55-
schedule:
56-
interval: "daily"
57-
5853
- package-ecosystem: "composer"
5954
directory: "/web/landing"
6055
schedule:

.github/workflows/static-analyze.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
run: |
5656
mkdir -p var/cs-fixer
5757
mkdir -p var/phpstan/cache
58-
mkdir -p var/psalm/cache
5958
6059
- name: "Get Composer Cache Directory"
6160
id: composer-cache
@@ -89,14 +88,6 @@ jobs:
8988
restore-keys: |
9089
php-${{ matrix.php-version }}-cache-phpstan-
9190
92-
- name: "Cache psalm results"
93-
uses: "actions/cache@v4"
94-
with:
95-
path: "var/psalm/cache"
96-
key: "php-${{ matrix.php-version }}-cache-psalm-${{ github.run_id }}"
97-
restore-keys: |
98-
php-${{ matrix.php-version }}-cache-psalm-
99-
10091
- name: "Monorepo Validate"
10192
run: "composer test:monorepo"
10293

@@ -105,6 +96,3 @@ jobs:
10596

10697
- name: "Static Analyze - PHPStan"
10798
run: "composer static:analyze:phpstan -- --error-format=github"
108-
109-
- name: "Static Analyze - Psalm"
110-
run: "composer static:analyze:psalm -- --output-format=github"

composer.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,8 @@
372372
"test:monorepo": "tools/monorepo/vendor/bin/monorepo-builder validate",
373373
"static:analyze": [
374374
"@static:analyze:cs-fixer",
375-
"@static:analyze:psalm",
376375
"@static:analyze:phpstan"
377376
],
378-
"static:analyze:psalm": [
379-
"tools/psalm/vendor/bin/psalm.phar --find-unused-psalm-suppress"
380-
],
381377
"static:analyze:phpstan": [
382378
"tools/phpstan/vendor/bin/phpstan analyze -c phpstan.neon --memory-limit=-1"
383379
],
@@ -417,7 +413,6 @@
417413
"composer install --working-dir=./tools/monorepo",
418414
"composer install --working-dir=./tools/phpbench",
419415
"composer install --working-dir=./tools/phpstan",
420-
"composer install --working-dir=./tools/psalm",
421416
"composer install --working-dir=./tools/phpunit"
422417
],
423418
"tools:update": [
@@ -428,7 +423,6 @@
428423
"composer update --working-dir=./tools/monorepo",
429424
"composer update --working-dir=./tools/phpbench",
430425
"composer update --working-dir=./tools/phpstan",
431-
"composer update --working-dir=./tools/psalm",
432426
"composer update --working-dir=./tools/phpunit"
433427
]
434428
}

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

psalm.xml

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/adapter/etl-adapter-avro/.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
/.gitignore export-ignore
99
/.php-cs-fixer.php export-ignore
1010
/phpstan.neon export-ignore
11-
/phpunit.xml export-ignore
12-
/psalm.xml export-ignore
11+
/phpunit.xml export-ignore

src/adapter/etl-adapter-chartjs/.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
/.gitignore export-ignore
99
/.php-cs-fixer.php export-ignore
1010
/phpstan.neon export-ignore
11-
/phpunit.xml export-ignore
12-
/psalm.xml export-ignore
11+
/phpunit.xml export-ignore

src/adapter/etl-adapter-csv/.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
/.gitignore export-ignore
99
/.php-cs-fixer.php export-ignore
1010
/phpstan.neon export-ignore
11-
/phpunit.xml export-ignore
12-
/psalm.xml export-ignore
11+
/phpunit.xml export-ignore

src/adapter/etl-adapter-doctrine/.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
/infection.json export-ignore
1111
/phpstan.neon export-ignore
1212
/phpunit.xml.dist export-ignore
13-
/psalm.xml export-ignore
1413
/README.md export-ignore
1514

1615
/.gitattributes export-ignore

src/adapter/etl-adapter-doctrine/src/Flow/ETL/Adapter/Doctrine/DbalDataFrameFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function __construct(
3434

3535
public static function fromConnection(Connection $connection, string $query, QueryParameter ...$parameters) : self
3636
{
37-
/** @psalm-suppress InternalMethod */
3837
$factory = new self($connection->getParams(), $query, ...$parameters);
3938
$factory->connection = $connection;
4039

@@ -65,7 +64,6 @@ public function from(Rows $rows) : DataFrame
6564
}
6665

6766
if (\count($types)) {
68-
/** @psalm-suppress InvalidArgument */
6967
$extractor->withTypes($types);
7068
}
7169

0 commit comments

Comments
 (0)