From 28c8cf022356b5fcdb5427c0e83f01fa61dcea8f Mon Sep 17 00:00:00 2001 From: Jagepard Date: Mon, 9 Jun 2025 18:56:33 +0300 Subject: [PATCH] fast fix --- .codeclimate.yml | 5 ----- .gitignore | 10 +++++----- .scrutinizer.yml | 14 -------------- README.md | 5 ----- composer.json | 38 +++++++++++++++++++++++--------------- phpunit.xml | 34 ++++++++++++++++++---------------- 6 files changed, 46 insertions(+), 60 deletions(-) delete mode 100755 .codeclimate.yml delete mode 100755 .scrutinizer.yml diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100755 index 40427c62..00000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,5 +0,0 @@ -languages: - PHP: true - -exclude_paths: -- "tests/" diff --git a/.gitignore b/.gitignore index 730fb32c..fa02bc1b 100755 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ -# Created by .ignore support plugin (hsz.mobi) +/.idea/ +/.vscode/ +/tests/build/ /vendor/ /composer.lock -/tests/build/ -/src/.htaccess -/src/index.php -/.idea/ \ No newline at end of file +/.phpunit.cache/ +/.phpunit.result.cache \ No newline at end of file diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100755 index 78912799..00000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,14 +0,0 @@ -build: - nodes: - analysis: - tests: - override: - - php-scrutinizer-run -checks: - php: true -filter: { } -coding_style: - php: - spaces: - around_operators: - concatenation: true diff --git a/README.md b/README.md index 057ee3ed..776130db 100755 --- a/README.md +++ b/README.md @@ -1,12 +1,7 @@ [![PHPunit](https://github.com/Jagepard/Rudra-Router/actions/workflows/php.yml/badge.svg)](https://github.com/Jagepard/Rudra-Router/actions/workflows/php.yml) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Jagepard/Rudra-Router/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Jagepard/Rudra-Router/?branch=master) [![Code Climate](https://codeclimate.com/github/Jagepard/Rudra-Router/badges/gpa.svg)](https://codeclimate.com/github/Jagepard/Rudra-Router) [![CodeFactor](https://www.codefactor.io/repository/github/jagepard/rudra-router/badge)](https://www.codefactor.io/repository/github/jagepard/rudra-router) ----- -[![Code Intelligence Status](https://scrutinizer-ci.com/g/Jagepard/Rudra-Router/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence) -[![Latest Stable Version](https://poser.pugx.org/rudra/router/v/stable)](https://packagist.org/packages/rudra/router) -[![Total Downloads](https://poser.pugx.org/rudra/router/downloads)](https://packagist.org/packages/rudra/router) -![GitHub](https://img.shields.io/github/license/jagepard/Rudra-Router.svg) # Rudra-Router diff --git a/composer.json b/composer.json index 5f737ed5..6ea0a856 100755 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { - "name" : "rudra/router", - "description" : "Rudra framework", - "type" : "library", - "keywords" : [ + "name": "rudra/router", + "description": "Rudra framework", + "type": "library", + "keywords": [ "rudra", "router", "routing", @@ -10,21 +10,22 @@ "rest", "restful" ], - "license" : "MIT", - "authors" : [ + "license": "MIT", + "authors": [ { - "name" : "Jagepard", - "email" : "jagepard@yandex.ru", + "name": "Jagepard", + "email": "jagepard@yandex.ru", "homepage": "https://jagepard.ru", - "role" : "Developer" + "role": "Developer" } ], - "support" : { + "support": { "email": "jagepard@yandex.ru", - "skype": "jagepard.ru" + "issues": "https://github.com/Jagepard/Rudra-Router/issues", + "source": "https://github.com/Jagepard/Rudra-Router" }, - "require" : { - "php" : ">=8.0", + "require": { + "php": ">=8.3", "rudra/annotation": "self.version", "rudra/container" : "self.version", "rudra/exception" : "self.version" @@ -40,8 +41,15 @@ } }, "minimum-stability": "dev", - "config" : { + "prefer-stable": true, + "config": { "optimize-autoloader": true, - "prefer-stable" : true + "sort-packages": true, + "platform-check": false + }, + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } } } diff --git a/phpunit.xml b/phpunit.xml index 9e72d72e..f0d7d6d0 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,28 +1,30 @@ - + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd" + cacheDirectory=".phpunit.cache"> + + + + + + + - tests + tests + tests/Stub - - - - - - - + + ./src - - + + - + \ No newline at end of file