Skip to content

Commit

Permalink
Merge pull request #1085 from EC-CUBE/dependabot/composer/phpstan/php…
Browse files Browse the repository at this point in the history
…stan-2.0.3

Bump phpstan/phpstan from 1.12.7 to 2.0.3
  • Loading branch information
nanasess authored Dec 17, 2024
2 parents 27be918 + 4149789 commit 4badd95
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 36 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"nanasess/ec-cube2-class-extends-stubs": "^1.0",
"nanasess/eccube2-fixture-generator": "^2.0",
"phpdocumentor/reflection-docblock": "~5.5.1",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^9.6",
"symfony/yaml": "^5.4 || ^6.4"
},
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function action()
$arrBkupList = $this->lfGetBkupData('ORDER BY create_date DESC');
// テンプレートファイルに渡すデータをセット
$this->arrErr = isset($arrErr) ? $arrErr : [];
$this->arrForm = isset($arrForm) ? $arrForm : [];
$this->arrForm = $arrForm;
$this->arrBkupList = $arrBkupList;
}

Expand Down
3 changes: 0 additions & 3 deletions data/class/pages/products/LC_Page_Products_Detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

if (file_exists(MODULE_REALDIR.'mdl_gmopg/inc/function.php')) {
require_once MODULE_REALDIR.'mdl_gmopg/inc/function.php';
}
/**
* 商品詳細 のページクラス.
*
Expand Down
24 changes: 0 additions & 24 deletions data/require_plugin.php

This file was deleted.

22 changes: 22 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,25 @@ parameters:
-
message: "#^Inner named functions are not supported by PHPStan\\.#"
path: data/class/SC_Initial.php
-
message: '#^Path in include_once\(\) "Auth/SASL.php" is not a file or it does not exist.#'
path: data/module/Net/SMTP.php
-
message: '#^Path in require_once\(\) ".*\.php" is not a file or it does not exist\.$#'
paths:
- data/module/Calendar/Calendar.php
- data/module/Calendar/Day.php
- data/module/Calendar/Decorator/Textual.php
- data/module/Calendar/Decorator/Uri.php
- data/module/Calendar/Decorator/Weekday.php
- data/module/Calendar/Decorator/Wrapper.php
- data/module/Calendar/Factory.php
- data/module/Calendar/Hour.php
- data/module/Calendar/Minute.php
- data/module/Calendar/Month.php
- data/module/Calendar/Month/Weekdays.php
- data/module/Calendar/Month/Weeks.php
- data/module/Calendar/Second.php
- data/module/Calendar/Util/Textual.php
- data/module/Calendar/Week.php
- data/module/Calendar/Year.php

0 comments on commit 4badd95

Please sign in to comment.