Skip to content

Commit

Permalink
phpstan ignore errors
Browse files Browse the repository at this point in the history
  • Loading branch information
leemyongpakvn committed Nov 15, 2023
1 parent 8f6f4e6 commit 7ba678a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Form/PsreassuranceFormDataHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function update($id, array $data)
* @param Psreassurance $psreassurance
* @param array $psr_languages
* @param int $type_link
* @param int $id_cms
* @param int $id_cms
*
* @todo migrate this temporary function to above standard function create
*/
Expand Down Expand Up @@ -121,7 +121,7 @@ public function createLangs($psreassurance, $psr_languages, $type_link, $id_cms)
* @param Psreassurance $psreassurance
* @param array $psr_languages
* @param int $type_link
* @param int $id_cms
* @param int $id_cms
*
* @todo migrate this temporary function to above standard function update
*/
Expand Down
4 changes: 4 additions & 0 deletions tests/phpstan/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ parameters:
- ../../translations/
- ../../upgrade/
level: 5
ignoreErrors:
-
message: '#Cannot call method [a-zA-Z0-9\\_]+\(\) on object\|false.#'
path: ../../blockreassurance.php

0 comments on commit 7ba678a

Please sign in to comment.