Skip to content

Commit

Permalink
refactor code
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalitov committed May 31, 2023
1 parent 3b7841c commit 94f92fa
Show file tree
Hide file tree
Showing 16 changed files with 1,384 additions and 358 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
![Platfrom icon](https://img.shields.io/badge/Platform-Windows%2C%20Linux%2C%20Mac-blue)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/328e8eae9a494098b8a8ee66d602f781)](https://app.codacy.com/gh/rvalitov/backlink-checker-php/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/328e8eae9a494098b8a8ee66d602f781)](https://app.codacy.com/gh/rvalitov/backlink-checker-php/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=bugs)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=rvalitov_backlink-checker-php&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=rvalitov_backlink-checker-php)
Expand Down Expand Up @@ -201,9 +203,7 @@ Tests are in `tests` folder.

# System Requirements

We use dependencies, therefore we need PHP 7.4 and later.
PHP 8.0 supported. PHP 8.1 not supported.
Required PHP extensions:
PHP 7.4+ required with the following extensions:

* [`json`](https://www.php.net/manual/en/json.installation.php)
* [`sockets`](https://www.php.net/manual/en/sockets.installation.php)
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"homepage": "https://github.com/rvalitov/backlink-checker-php",
"license": "GPL-3.0-or-later",
"scripts": {
"phpcbf": "phpcbf --standard=PSR2 src/",
"phpcs": "phpcs --standard=PSR2 src/",
"phpmd": "phpmd src/ text phpmd.xml",
"test": "phpunit --coverage-clover ./coverage/clover.xml --coverage-html ./coverage/html --coverage-xml ./coverage/xml --coverage-text"
},
"authors": [
Expand Down Expand Up @@ -39,6 +42,8 @@
},
"require-dev": {
"ext-xdebug": "^3.1.0",
"phpmd/phpmd": "@stable",
"squizlabs/php_codesniffer": "3.*",
"phpunit/phpunit": "^9",
"phpunit/php-code-coverage": "^9"
},
Expand Down
Loading

0 comments on commit 94f92fa

Please sign in to comment.