Skip to content

Commit

Permalink
add phpstan configuration for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu-rolland committed Aug 31, 2022
1 parent d60e1b9 commit 7bc1374
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
presta-versions: ['1.6.1.18', '1.7.2.5', '1.7.3.4', '1.7.4.4', '1.7.5.1', '1.7.6', '1.7.7', '1.7.8', 'latest']
presta-versions: ['1.6.1.18', '1.7.2.5', '1.7.3.4', '1.7.4.4', '1.7.5.1', '1.7.6', '1.7.7', '1.7.8', 'latest', '8.0-beta.1']
steps:
- name: Checkout
uses: actions/checkout@v2.0.0
Expand Down
2 changes: 0 additions & 2 deletions classes/UpgradeTools/ModuleAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ class ModuleAdapter

private $commandBus;

private $moduleRepository;

public function __construct($db, $translator, $modulesPath, $tempPath, $upgradeVersion, ZipAction $zipAction, SymfonyAdapter $symfonyAdapter)
{
$this->db = $db;
Expand Down
8 changes: 8 additions & 0 deletions tests/phpstan/phpstan-8.0-beta.1.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
includes:
- %currentWorkingDirectory%/tests/phpstan/phpstan.neon

parameters:
ignoreErrors:
- '#Access to an undefined property Module::\$installed.#'
- '#Call to method fetchLocale\(\) on an unknown class PrestaShop\\PrestaShop\\Core\\Cldr\\Update.#'
- '#Instantiated class PrestaShop\\PrestaShop\\Core\\Cldr\\Update not found.#'

0 comments on commit 7bc1374

Please sign in to comment.