Skip to content

Commit

Permalink
minor #283 Bye Psalm 👋 (Rafikooo)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.5 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | no
| Related tickets | Sylius/Sylius#15582


Commits
-------
  [Composer] Remove Psalm
  [Psalm] Remove configuration file
  [Psalm] Remove outdated annotations
  • Loading branch information
NoResponseMate authored Jan 18, 2024
2 parents fbf7c92 + 2e5bff9 commit 8f63d74
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 91 deletions.
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"symfony/dotenv": "^5.4 || ^6.0",
"symfony/intl": "^5.4 || ^6.0",
"symfony/web-profiler-bundle": "^5.4 || ^6.0",
"symfony/webpack-encore-bundle": "^1.15",
"vimeo/psalm": "4.27.0"
"symfony/webpack-encore-bundle": "^1.15"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -68,8 +67,7 @@
"scripts": {
"analyse": [
"@composer validate --strict",
"vendor/bin/phpstan.phar analyse",
"vendor/bin/psalm"
"vendor/bin/phpstan.phar analyse"
],
"fix": [
"vendor/bin/ecs check src/ spec/ --fix"
Expand Down
82 changes: 0 additions & 82 deletions psalm.xml

This file was deleted.

1 change: 0 additions & 1 deletion src/Controller/CancelPayPalCheckoutPaymentAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public function __invoke(Request $request): Response
{
/**
* @var string $content
* @psalm-suppress UnnecessaryVarAnnotation
*/
$content = $request->getContent();

Expand Down
1 change: 0 additions & 1 deletion src/Controller/CancelPayPalOrderAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public function __invoke(Request $request): Response
{
/**
* @var string $content
* @psalm-suppress UnnecessaryVarAnnotation
*/
$content = $request->getContent();

Expand Down
1 change: 0 additions & 1 deletion src/Controller/CancelPayPalPaymentAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public function __invoke(Request $request): Response
{
/**
* @var string $content
* @psalm-suppress UnnecessaryVarAnnotation
*/
$content = $request->getContent();

Expand Down
1 change: 0 additions & 1 deletion src/Controller/PayPalPaymentOnErrorAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public function __invoke(Request $request): Response
{
/**
* @var string $content
* @psalm-suppress UnnecessaryVarAnnotation
*/
$content = $request->getContent();

Expand Down
1 change: 0 additions & 1 deletion src/Controller/Webhook/RefundOrderAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ private function getPayPalPaymentUrl(Request $request): string
{
/**
* @var string $content
* @psalm-suppress UnnecessaryVarAnnotation
*/
$content = $request->getContent();

Expand Down

0 comments on commit 8f63d74

Please sign in to comment.