Skip to content

Commit

Permalink
Add libyear
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed May 24, 2024
1 parent d4af12d commit be838e7
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 154 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ composer-require-checker: ## Ensure we require every package used in this packag
composer-unused: ## Ensure we don't require any package we don't use in this package directly
$(DOCKER_RUN) vendor/bin/composer-unused --ansi --configuration=./etc/qa/composer-unused.php

libyear: ## Calculate how many libyear this package is behind with dependencies
$(DOCKER_RUN) vendor/bin/libyear

libyear-number: ## Calculate how many libyear this package is behind with dependencies - number only ####
$(DOCKER_RUN) vendor/bin/libyear | tail -n1 | sed 's/[^0-9.]*//g'

composer-install: ## Install dependencies
$(DOCKER_RUN) composer install --no-progress --ansi --no-interaction --prefer-dist -o

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"require": {
"php": "^8.2",
"brandembassy/mockery-tools": "^4.1.3",
"ecoapm/libyear": "^2.3",
"ergebnis/composer-normalize": "^2.42.0",
"ergebnis/phpunit-slow-test-detector": "^2.14.0",
"icanhazstring/composer-unused": "^0.8.11",
Expand Down
Loading

0 comments on commit be838e7

Please sign in to comment.