mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Merge pull request #268 from acelaya/feature/phpstan-fix
feature/phpstan-fix
This commit is contained in:
commit
8f4800aa47
@ -30,9 +30,9 @@
|
|||||||
"mikehaertl/phpwkhtmltopdf": "^2.2",
|
"mikehaertl/phpwkhtmltopdf": "^2.2",
|
||||||
"monolog/monolog": "^1.21",
|
"monolog/monolog": "^1.21",
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"symfony/console": "^4.0 <4.1.5",
|
"symfony/console": "^4.1",
|
||||||
"symfony/filesystem": "^4.0",
|
"symfony/filesystem": "^4.1",
|
||||||
"symfony/process": "^4.0",
|
"symfony/process": "^4.1",
|
||||||
"theorchard/monolog-cascade": "^0.4",
|
"theorchard/monolog-cascade": "^0.4",
|
||||||
"zendframework/zend-config": "^3.0",
|
"zendframework/zend-config": "^3.0",
|
||||||
"zendframework/zend-config-aggregator": "^1.0",
|
"zendframework/zend-config-aggregator": "^1.0",
|
||||||
@ -102,7 +102,7 @@
|
|||||||
|
|
||||||
"cs": "phpcs",
|
"cs": "phpcs",
|
||||||
"cs:fix": "phpcbf",
|
"cs:fix": "phpcbf",
|
||||||
"stan": "phpstan analyse module/*/src/ --level=6 -c phpstan.neon",
|
"stan": "phpstan analyse module/*/src/ --level=5 -c phpstan.neon",
|
||||||
|
|
||||||
"test": [
|
"test": [
|
||||||
"@test:unit",
|
"@test:unit",
|
||||||
|
@ -64,7 +64,7 @@ class ListShortUrlsCommand extends Command
|
|||||||
$this->translator->translate('The first page to list (%s items per page)'),
|
$this->translator->translate('The first page to list (%s items per page)'),
|
||||||
PaginableRepositoryAdapter::ITEMS_PER_PAGE
|
PaginableRepositoryAdapter::ITEMS_PER_PAGE
|
||||||
),
|
),
|
||||||
1
|
'1'
|
||||||
)
|
)
|
||||||
->addOption(
|
->addOption(
|
||||||
'searchTerm',
|
'searchTerm',
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
parameters:
|
parameters:
|
||||||
excludes_analyse:
|
|
||||||
- module/Common/src/Template/Extension/TranslatorExtension.php
|
|
||||||
- module/Rest/src/Util/RestUtils.php
|
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
|
- '#League\\Plates\\callback#'
|
||||||
- '#is not subtype of Throwable#'
|
- '#is not subtype of Throwable#'
|
||||||
|
Loading…
Reference in New Issue
Block a user