Skip to content

Commit

Permalink
Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Sep 23, 2024
1 parent fb1ee7f commit 2a8b62b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 8 deletions.
18 changes: 10 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"symfony/polyfill-ctype": "^1.27",
"symfony/polyfill-mbstring": "^1.26"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": "^7|^8|^9",
"rector/rector": "0.12.19 || ^1.2",
"yoast/phpunit-polyfills": "^2.0"
},

"suggest": {
"ext-mbstring": "Multibyte strings handling"
},
Expand All @@ -27,20 +35,14 @@
"library/"
],
"config": {
"bin-dir": "bin"
"bin-dir": "bin",
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "1.12.x-dev"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"phpunit/phpunit": "^7|^8|^9",
"php-parallel-lint/php-parallel-lint": "^1.3",
"yoast/phpunit-polyfills": "2.0",
"rector/rector": "0.12.19 || ^1.2"
},
"archive": {
"exclude": ["/demos", "/documentation", "/tests"]
},
Expand Down
25 changes: 25 additions & 0 deletions library/Zend/Service/Amazon/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,31 @@
#[AllowDynamicProperties]
class Zend_Service_Amazon_Item
{
/**
* @var string
*/
public $CurrencyCode;

/**
* @var int
*/
public $Amount;

/**
* @var string
*/
public $FormattedPrice;

/**
* @var string
*/
public $tagName;

/**
* @var \Zend_Service_Amazon_EditorialReview[]
*/
public $EditorialReviews;

/**
* @var string
*/
Expand Down
5 changes: 5 additions & 0 deletions library/Zend/Service/Flickr/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
#[AllowDynamicProperties]
class Zend_Service_Flickr_Result
{
/**
* @var string
*/
public $name;

/**
* The photo's Flickr ID.
*
Expand Down

0 comments on commit 2a8b62b

Please sign in to comment.