Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
# Taken from https://github.com/kirschbaum-development/laravel-test-runner-container/blob/master/8.2/Dockerfile
php-version: "8.3"
# Taken from https://github.com/kirschbaum-development/laravel-test-runner-container/blob/master/8.3/Dockerfile
extensions: mbstring, mysql, xml, xsl, zip, curl, bcmath, intl, bz2

- name: Install composer dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
# Taken from https://github.com/kirschbaum-development/laravel-test-runner-container/blob/master/8.2/Dockerfile
php-version: "8.3"
# Taken from https://github.com/kirschbaum-development/laravel-test-runner-container/blob/master/8.3/Dockerfile
extensions: mbstring, mysql, xml, xsl, zip, curl, bcmath, intl, bz2

- name: Install composer dependencies
Expand Down
38 changes: 0 additions & 38 deletions .php-cs-fixer.dist.php

This file was deleted.

7 changes: 0 additions & 7 deletions .styleci.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

[![Build Status](https://github.com/audunru/memory-usage/actions/workflows/validate.yml/badge.svg)](https://github.com/audunru/memory-usage/actions/workflows/validate.yml)
[![Coverage Status](https://coveralls.io/repos/github/audunru/memory-usage/badge.svg?branch=main)](https://coveralls.io/github/audunru/memory-usage?branch=main)
[![StyleCI](https://github.styleci.io/repos/448512424/shield?branch=main)](https://github.styleci.io/repos/448512424)

Log amount of memory used during HTTP requests. The peak memory usage in megabytes will be logged right before the response is returned.

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
}
],
"require": {
"php": "^8.2",
"laravel/framework": "^12.0",
"php": "^8.3",
"laravel/framework": "^13.0",
"spatie/laravel-package-tools": "^1.9"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"orchestra/testbench": "^10.0",
"laravel/pint": "^1.0",
"orchestra/testbench": "^11.0",
"php-coveralls/php-coveralls": "^2.2",
"phpmd/phpmd": "^2.10",
"phpunit/phpunit": "^11.0",
"phpunit/phpunit": "^12.0",
"roave/security-advisories": "dev-latest"
},
"config": {
Expand Down Expand Up @@ -60,10 +60,10 @@
"XDEBUG_MODE=coverage php ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml"
],
"fix": [
"php ./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php"
"./vendor/bin/pint"
],
"verify": [
"php ./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php --dry-run",
"./vendor/bin/pint --test",
"php ./vendor/bin/phpmd config,src,tests ansi phpmd-ruleset.xml",
"php ./vendor/bin/phpunit"
]
Expand Down
Loading