Skip to content

Commit

Permalink
Merge pull request #26 from bearsunday/bump
Browse files Browse the repository at this point in the history
Bump dependency versions
  • Loading branch information
koriym authored Sep 5, 2024
2 parents a855849 + 48878e7 commit 2b09257
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Alerts only major updates for Packagist (Composer)
#
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "composer" # Specify the correct package ecosystem for PHP
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
ignore:
- dependency-name: "*" # Ignore all dependencies for specific update types
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
14 changes: 8 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,22 @@
"license": "MIT",
"require": {
"php": "^7.4 || ^8.0",
"doctrine/coding-standard": "^9.0",
"doctrine/coding-standard": "^9 || ^10.0 || ^11.0 || ^12.0",
"friendsofphp/php-cs-fixer": "^3.4",
"phploc/phploc": "^7.0",
"phpmd/phpmd": "^2.11",
"phpmetrics/phpmetrics": "^2.7",
"phpstan/phpstan": "^1.3",
"phpunit/phpunit": "^9.5.10",
"psalm/plugin-phpunit": "^0.16",
"sebastian/phpcpd": "^6.0",
"phpunit/phpunit": "^9.6 || ^10.5 || ^11.3",
"psalm/plugin-phpunit": "^0.16 || ^0.19",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^4.2"
"vimeo/psalm": "^4.2 || ^5.25"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"test": "phpunit",
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<ruleset
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor-bin/tools/vendor/squizlabs/php_codesniffer/phpcs.xsd">
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
Expand Down

0 comments on commit 2b09257

Please sign in to comment.