Skip to content

Commit f56c72f

Browse files
committed
upgrade vimeo/psalm (4.30.0 => 5.26.1)
1 parent 778c3dc commit f56c72f

7 files changed

Lines changed: 14 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Security
99
- update PHP versions to run on PHP 8.5
10+
- upgrade vimeo/psalm (4.30.0 => 5.26.1)
1011

1112
## [1.0.4] - 2025-05-02
1213
### Added

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"sebastian/phpcpd": "^6.0",
1616
"php-coveralls/php-coveralls": "^2.1",
1717
"php-mock/php-mock-phpunit": "^2.6",
18-
"vimeo/psalm": "^4.10",
18+
"vimeo/psalm": "^5.26",
1919
"phpunit/php-code-coverage": "^9"
2020
},
2121
"autoload": {

psalm.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<psalm
33
errorLevel="7"
44
resolveFromConfigFile="true"
5+
findUnusedBaselineEntry="true"
6+
findUnusedCode="true"
57
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
68
xmlns="https://getpsalm.org/schema/config"
79
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"

src/Pricehubble.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
*
1313
* @see self::authenticate to obtain one.
1414
*
15+
* @psalm-api
16+
*
1517
* @method \Antistatique\Pricehubble\Resource\Valuation valuation()
1618
* @method \Antistatique\Pricehubble\Resource\PointsOfInterest pointsOfInterest()
1719
*/
@@ -107,6 +109,8 @@ public function isCurlAvailable(): bool
107109

108110
/**
109111
* Proxies all Pricehubble API Class and Methods.
112+
*
113+
* @psalm-suppress PossiblyUnusedParam $arguments is required by PHP's __call signature
110114
*/
111115
public function __call(string $name, array $arguments): ResourceInterface
112116
{

src/Resource/AbstractResource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* Pricehubble base API class.
9+
*
10+
* @psalm-api
911
*/
1012
abstract class AbstractResource implements ResourceInterface
1113
{

src/Resource/PointsOfInterest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* The Pricehubble Points of Interest API class.
99
*
10+
* @psalm-api
11+
*
1012
* @see https://docs.pricehubble.com/international/pois/
1113
*/
1214
final class PointsOfInterest extends AbstractResource

src/Resource/Valuation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
/**
88
* The Pricehubble Valuation API class.
99
*
10+
* @psalm-api
11+
*
1012
* @see https://docs.pricehubble.com/international/valuation/
1113
*/
1214
final class Valuation extends AbstractResource

0 commit comments

Comments
 (0)