Skip to content

Commit 47231be

Browse files
authored
Merge pull request #844 from driehle/drop-psalm
Removed Psalm in favour of PHPStan
2 parents 6670671 + 18a561c commit 47231be

File tree

8 files changed

+6
-54
lines changed

8 files changed

+6
-54
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,4 @@
55
/phpcs.xml.dist export-ignore
66
/phpstan.neon export-ignore
77
/phpunit.xml.dist export-ignore
8-
/psalm.xml export-ignore
9-
/psalm-baseline.xml export-ignore
108
/tests/ export-ignore

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@
7474
"phpstan/phpstan": "^1.9.2",
7575
"phpstan/phpstan-phpunit": "^1.3.0",
7676
"phpunit/phpunit": "^9.5.27",
77-
"predis/predis": "^1.1.10",
78-
"vimeo/psalm": "^5.0"
77+
"predis/predis": "^1.1.10"
7978
},
8079
"conflict": {
8180
"doctrine/orm": "2.12.0"
@@ -115,13 +114,11 @@
115114
"check": [
116115
"@cs-check",
117116
"@phpstan",
118-
"@psalm",
119117
"@test"
120118
],
121119
"cs-check": "phpcs",
122120
"cs-fix": "phpcbf",
123121
"phpstan": "phpstan analyse",
124-
"psalm": "psalm --stats",
125122
"test": "phpunit --colors=always",
126123
"test-coverage": "phpunit --colors=always --coverage-clover=coverage.xml"
127124
}

psalm-baseline.xml

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

psalm.xml

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

src/Form/Element/ObjectMultiCheckbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use function array_map;
1212
use function is_array;
1313

14-
/** @psalm-import-type ValueOptionSpec from MultiCheckbox */
14+
/** @phpstan-import-type ValueOptionSpec from MultiCheckbox */
1515
class ObjectMultiCheckbox extends MultiCheckbox
1616
{
1717
use GetProxy;

src/Form/Element/ObjectRadio.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Laminas\Form\Element\MultiCheckbox;
88
use Laminas\Form\Element\Radio as RadioElement;
99

10-
/** @psalm-import-type ValueOptionSpec from MultiCheckbox */
10+
/** @phpstan-import-type ValueOptionSpec from MultiCheckbox */
1111
class ObjectRadio extends RadioElement
1212
{
1313
use GetProxy;

src/Options/Authentication.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ final class Authentication extends AbstractOptions
6565
/**
6666
* Entity's class name
6767
*
68-
* @psalm-var class-string
68+
* @phpstan-var class-string
6969
*/
7070
protected string $identityClass;
7171

src/Paginator/Adapter/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
use function count;
1212

1313
/**
14-
* @psalm-template TKey of array-key
15-
* @psalm-template T
14+
* @phpstan-template TKey of array-key
15+
* @phpstan-template T
1616
* @template-implements AdapterInterface<int, T>
1717
*/
1818
class Collection implements AdapterInterface

0 commit comments

Comments
 (0)