From f05d7fcf31814ee9989b6c6a85f1023cf01f70d2 Mon Sep 17 00:00:00 2001 From: Peter Forret Date: Sun, 12 Nov 2023 11:10:04 +0100 Subject: [PATCH] ADD: phpunit.xml, MOD: php.xml ts_php_template.iml composer.json --- .idea/php.xml | 34 +++++++++++++++++++++++++++++++++- .idea/phpunit.xml | 10 ++++++++++ .idea/ts_php_template.iml | 7 ++++++- composer.json | 14 +++++++------- 4 files changed, 56 insertions(+), 9 deletions(-) create mode 100644 .idea/phpunit.xml diff --git a/.idea/php.xml b/.idea/php.xml index 664087f..2a2567b 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -1,5 +1,15 @@ + + + + + + @@ -70,7 +80,29 @@ + + + + + + - + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/phpunit.xml b/.idea/phpunit.xml new file mode 100644 index 0000000..4f8104c --- /dev/null +++ b/.idea/phpunit.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/ts_php_template.iml b/.idea/ts_php_template.iml index f3cf345..f03eb14 100644 --- a/.idea/ts_php_template.iml +++ b/.idea/ts_php_template.iml @@ -3,7 +3,6 @@ - @@ -73,6 +72,12 @@ + + + + + + diff --git a/composer.json b/composer.json index 028ac15..6a71660 100644 --- a/composer.json +++ b/composer.json @@ -16,12 +16,12 @@ } ], "require": { - "php": "^7.4" + "php": "^8.2" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.16", - "phpunit/phpunit": "^9.0", - "vimeo/psalm": "^3.11" + "laravel/pint": "^1.13", + "phpunit/phpunit": "^10.0", + "rector/rector": "^0.18.6" }, "autoload": { "psr-4": { @@ -34,10 +34,10 @@ } }, "scripts": { - "psalm": "vendor/bin/psalm", - "test": "vendor/bin/phpunit", + "test": "vendor/bin/phpunit --testdox", "test-coverage": "vendor/bin/phpunit --coverage-html coverage", - "format": "vendor/bin/php-cs-fixer fix --allow-risky=yes" + "setup-ci": "vendor/bin/rector setup-ci", + "format": "vendor/bin/pint" }, "config": { "sort-packages": true