Skip to content

Commit

Permalink
tweaking composer and dev dependencies a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsizemore committed Mar 29, 2024
1 parent 25c152d commit 1cc2b00
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
build:
image: default-bionic
environment:
php: 8.2.13
php: 8.2.15
nodes:
analysis:
dependencies:
Expand Down
20 changes: 17 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"require-dev": {
"esi/phpunit-coverage-check": "^1.0",
"friendsofphp/php-cs-fixer": "dev-master",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.11 <2.0",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6",
Expand All @@ -53,17 +54,30 @@
"Esi\\LibrariesIO\\Tests\\": "tests/src/"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
}
},
"scripts": {
"coverage": "vendor/bin/coverage-check coverage:check build/logs/clover.xml 100 --ansi",
"phpcs-fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php",
"phpcs-nofix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff",
"cs:check": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run --diff",
"cs:fix": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon",
"psalm": "vendor/bin/psalm -c psalm.xml --no-diff",
"test": "phpunit"
"static-analysis": [
"@phpstan",
"@psalm"
],
"test": "phpunit",
"test:coverage": [
"@test",
"@coverage"
]
}
}
46 changes: 45 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon

parameters:
level: 9
Expand Down

0 comments on commit 1cc2b00

Please sign in to comment.