Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer(deps-dev): bump the minor-patch-dependencies group with 3 updates #395

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ updates:
- dependency-name: "psr/container"
versions:
- ">= 0"
# - dependency-name: phpunit/phpunit
# versions:
# - ">= 0"
- dependency-name: "nikic/php-parser"
versions:
- ">= 0"
- dependency-name: "infection/infection"
versions:
- ">= 0"

- package-ecosystem: "github-actions"

Expand Down
17 changes: 15 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

"extends": ["mergeConfidence:all-badges"],

"enabled": false,
"enabled": true,

"assignees": [
"mimmi20"
],
"automerge": false,
"branchConcurrentLimit": 0,
"commitBody": "Signed-off-by: {{{gitAuthor}}}",
"commitBodyTable": true,
Expand All @@ -16,9 +17,16 @@
"dependencyDashboard": false,
"dependencyDashboardApproval": false,
"dependencyDashboardOSVVulnerabilitySummary": "all",
// "enabledManagers": ["composer", "github-actions", "npm"],
"ignoreTests": false,
"ignoreUnstable": true,
"internalChecksFilter": "strict",
"labels": [
"dependencies"
],
"lockFileMaintenance": {
"enabled": false
},
"osvVulnerabilityAlerts": true,
"platformAutomerge": false,
"prBodyColumns": [
Expand All @@ -41,9 +49,14 @@
"reviewers": [
"mimmi20"
],
"rollbackPrs": true,
"schedule": ["at 4:00 am on Thursday"],
"semanticCommits": "disabled",
"separateMajorMinor": true,
"separateMinorPatch": false,
"timezone": "Europe/Berlin",
"updateLockFiles": false,
"updateNotScheduled": false,
"packageRules": [
{
"groupName": "PHP",
Expand All @@ -65,7 +78,7 @@
"rangeStrategy": "widen"
},
{
"matchPackageNames": ["nikic/php-parser"],
"matchPackageNames": ["nikic/php-parser", "infection/infection"],
"rangeStrategy": "widen"
},
{
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ jobs:
- name: "Run unit tests with phpunit/phpunit"
run: "vendor/bin/phpunit -c phpunit.xml --no-coverage --display-warnings --display-deprecations"

- name: "Enable annotations for validation errors and warnings"
uses: "korelstar/xmllint-problem-matcher@v1"

- name: "Validate phpcs.xml"
uses: "ChristophWurst/xmllint-action@v1"
with:
xml-file: "phpunit.xml"
xml-schema-file: "vendor/phpunit/phpunit/phpunit.xsd"

code-coverage:
name: "Code Coverage with PHPUnit"

Expand Down Expand Up @@ -182,11 +191,6 @@ jobs:
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

- name: "Run mutation tests with infection/infection"
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
run: "vendor/bin/infection --show-mutations --only-covered --min-covered-msi=100 --min-msi=100 --coverage=.build/coverage --logger-github --no-progress -vv"

- name: "Upload coverage to Codeclimate"
uses: "paambaati/[email protected]"
env:
Expand All @@ -205,6 +209,11 @@ jobs:
format: "clover"
debug: false

- name: "Run mutation tests with infection/infection"
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
run: "vendor/bin/infection --show-mutations --only-covered --min-covered-msi=100 --min-msi=100 --coverage=.build/coverage --logger-github --no-progress -vv"

finish-code-coverage:
runs-on: "ubuntu-22.04"

Expand Down
23 changes: 11 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
"ext-tokenizer": "*",
"ext-xml": "*",
"ext-xmlwriter": "*",
"infection/infection": "^0.27.11",
"infection/infection": "^0.27.11 || ^0.28.1 || ^0.29.0",
"laminas/laminas-http": "^2.19.0",
"laminas/laminas-modulemanager": "^2.15.0",
"laminas/laminas-servicemanager": "^3.22.1",
"mimmi20/coding-standard": "^5.2.31",
"nikic/php-parser": "^v4.19.1",
"mimmi20/coding-standard": "^5.2.33",
"nikic/php-parser": "^4.19.1 || ^5.0.2",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.11.1",
"phpstan/phpstan": "^1.11.2",
"phpstan/phpstan-deprecation-rules": "^1.2.0",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpunit/phpunit": "^10.5.20",
"rector/rector": "^1.1.0",
"symplify/phpstan-rules": "^12.6.4",
"symplify/phpstan-rules": "^12.7.0",
"tomasvotruba/cognitive-complexity": "^0.2.3",
"tomasvotruba/type-coverage": "^0.3.0",
"tomasvotruba/unused-public": "^0.3.9"
Expand All @@ -62,15 +62,14 @@
}
},
"config": {
"preferred-install": "dist",
"lock": false,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"laminas/laminas-dependency-plugin": true,
"phpstan/extension-installer": true,
"infection/extension-installer": true
}
"infection/extension-installer": true,
"phpstan/extension-installer": true
},
"lock": false,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laminas": {
Expand Down
4 changes: 0 additions & 4 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ rules:
# - Symplify\PHPStanRules\Rules\NoReturnArrayVariableListRule # todo: fix

- Symplify\PHPStanRules\Rules\ForbiddenExtendOfNonAbstractClassRule
- Symplify\PHPStanRules\Rules\Complexity\ForbiddenSameNamedNewInstanceRule

# domain
- Symplify\PHPStanRules\Rules\Domain\RequireExceptionNamespaceRule
Expand All @@ -151,12 +150,10 @@ rules:
- Symplify\PHPStanRules\Rules\ForbiddenMultipleClassLikeInOneFileRule

# comlexity
- Symplify\PHPStanRules\Rules\Complexity\ForbiddenSameNamedNewInstanceRule
- Symplify\PHPStanRules\Rules\NarrowType\NoReturnFalseInNonBoolClassMethodRule

- Symplify\PHPStanRules\Rules\Complexity\ForbiddenArrayMethodCallRule
# - Symplify\PHPStanRules\Rules\CheckRequiredInterfaceInContractNamespaceRule
- Symplify\PHPStanRules\Rules\NoEmptyClassRule

# naming
- Symplify\PHPStanRules\Rules\RequireAttributeNameRule
Expand All @@ -169,7 +166,6 @@ rules:
# naming
- Symplify\PHPStanRules\Rules\Explicit\ExplicitClassPrefixSuffixRule
- Symplify\PHPStanRules\Rules\NoReturnSetterMethodRule
- Symplify\PHPStanRules\Rules\NoVoidGetterMethodRule
- Symplify\PHPStanRules\Rules\UppercaseConstantRule
- Symplify\PHPStanRules\Rules\ClassNameRespectsParentSuffixRule
- Symplify\PHPStanRules\Rules\CheckTypehintCallerTypeRule
Expand Down