Skip to content

Commit

Permalink
Merge pull request #649 from mimmi20/updates
Browse files Browse the repository at this point in the history
update dependencies
  • Loading branch information
mimmi20 authored Apr 28, 2024
2 parents ae074db + 5ff80cd commit df16703
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",

"extends": ["github>whitesource/merge-confidence:beta"],
"extends": ["mergeConfidence:all-badges"],

"enabled": true,

"enabled": false,
"assignees": [
"mimmi20"
],
"automerge": false,
"commitBody": "Signed-off-by: {{{gitAuthor}}}",
"commitBodyTable": true,
"dependencyDashboard": false,
"configMigration": true,
"dependencyDashboard": true,
"dependencyDashboardApproval": true,
"enabledManagers": ["composer", "github-actions", "npm"],
"ignoreTests": false,
"ignoreUnstable": true,
"internalChecksFilter": "strict",
"labels": [
"dependencies",
"patch"
"dependencies"
],
"lockFileMaintenance": {
"enabled": false
Expand All @@ -34,6 +38,7 @@
"Change": "[{{#if displayFrom}}`{{{displayFrom}}}` -> {{else}}{{#if currentValue}}`{{{currentValue}}}` -> {{/if}}{{/if}}{{#if displayTo}}`{{{displayTo}}}`{{else}}`{{{newValue}}}`{{/if}}]({{#if depName}}https://renovatebot.com/diffs/npm/{{replace '/' '%2f' depName}}/{{{currentVersion}}}/{{{newVersion}}}{{/if}})"
},
"prCreation": "immediate",
"prHourlyLimit": 0,
"rangeStrategy": "bump",
"rebaseWhen": "behind-base-branch",
"reviewers": [
Expand Down
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.16",
"phpunit/phpunit": "^10.5.17",
"rector/rector": "^1.04"
"rector/rector": "^1.0.4",
"symplify/phpstan-rules": "^12.4.9",
"tomasvotruba/cognitive-complexity": "^0.2.3",
"tomasvotruba/type-coverage": "^0.2.8",
"tomasvotruba/unused-public": "^0.3.8"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand Down
17 changes: 17 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,22 @@ parameters:
missingCheckedExceptionInThrows: true
tooWideThrowType: true

cognitive_complexity:
class: 1
function: 1

type_coverage:
return: 100
param: 100
property: 100
# also, how many files has declare strict types
declare: 100

unused_public:
methods: true
properties: true
constants: true
local_methods: true

# ignoreErrors:
# - '~MockObject~'

0 comments on commit df16703

Please sign in to comment.