Skip to content
Merged

Dev #76

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
40 changes: 0 additions & 40 deletions .github/workflows/php80.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/php81.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build PHP 8.1

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.1'

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.1'
coverage-file: 'php-8.1-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}



48 changes: 0 additions & 48 deletions .github/workflows/php81.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/php82.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build PHP 8.2

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.2'
phpunit-config: "tests/phpunit10.xml"

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.2'
coverage-file: 'php-8.2-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}



42 changes: 0 additions & 42 deletions .github/workflows/php82.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/php83.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Build PHP 8.3

on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
env:
OPERATING_SYS: ubuntu-latest
PHP_VERSION: 8.3
jobs:

test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.3'
phpunit-config: 'tests/phpunit10.xml'


code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.3'
coverage-file: 'php-8.3-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

code-quality:
name: Code Quality
needs: test
uses: WebFiori/workflows/.github/workflows/quality-sonarcloud.yaml@main
with:
coverage-file: 'php-8.3-coverage.xml'
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

release-prod:
name: Prepare Production Release Branch / Publish Release
needs: [code-coverage, code-quality]
uses: WebFiori/workflows/.github/workflows/release-php.yaml@main
with:
branch: 'main'
56 changes: 0 additions & 56 deletions .github/workflows/php83.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/php84.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build PHP 8.4

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Tests
uses: WebFiori/workflows/.github/workflows/test-php.yaml@main
with:
php-version: '8.4'
phpunit-config: "tests/phpunit10.xml"

code-coverage:
name: Coverage
needs: test
uses: WebFiori/workflows/.github/workflows/coverage-codecov.yaml@main
with:
php-version: '8.4'
coverage-file: 'php-8.4-coverage.xml'
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}



41 changes: 0 additions & 41 deletions .github/workflows/php84.yml

This file was deleted.

15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ It includes inputs feltering and data validation in addion to creating user-defi

<p align="center">
<a href="https://github.com/WebFiori/http/actions">
<img src="https://github.com/WebFiori/http/actions/workflows/php84.yml/badge.svg?branch=master">
<img src="https://github.com/WebFiori/http/actions/workflows/php84.yaml/badge.svg?branch=main">
</a>
<a href="https://codecov.io/gh/WebFiori/http">
<img src="https://codecov.io/gh/WebFiori/http/branch/master/graph/badge.svg" />
<img src="https://codecov.io/gh/WebFiori/http/branch/main/graph/badge.svg" />
</a>
<a href="https://sonarcloud.io/dashboard?id=WebFiori_http">
<img src="https://sonarcloud.io/api/project_badges/measure?project=WebFiori_http&metric=alert_status" />
Expand All @@ -23,11 +23,10 @@ It includes inputs feltering and data validation in addion to creating user-defi
## Supported PHP Versions
| Build Status |
|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/http/actions/workflows/php80.yml/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/http/actions/workflows/php81.yml/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/http/actions/workflows/php82.yml/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php83.yml"><img src="https://github.com/WebFiori/http/actions/workflows/php83.yml/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php84.yml"><img src="https://github.com/WebFiori/http/actions/workflows/php84.yml/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php81.yaml"><img src="https://github.com/WebFiori/http/actions/workflows/php81.yaml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php82.yaml"><img src="https://github.com/WebFiori/http/actions/workflows/php82.yaml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php83.yaml"><img src="https://github.com/WebFiori/http/actions/workflows/php83.yaml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/http/actions/workflows/php84.yaml"><img src="https://github.com/WebFiori/http/actions/workflows/php84.yaml/badge.svg?branch=main"></a> |

## API Docs
This library is a part of <a>WebFiori Framework</a>. To access API docs of the library, you can visid the following link: https://webfiori.com/docs/webfiori/http .
Expand Down Expand Up @@ -67,4 +66,4 @@ Note that the <a href="https://github.com/WebFiori/json">WebFiori Json</a> libra
Another option is to download the latest release manually from <a href="https://github.com/WebFiori/http/releases">Release</a>.

## Usage
For more information on how to use the library, [check here](https://github.com/WebFiori/wf-docs/blob/master/web-services.md)
For more information on how to use the library, [check here](https://github.com/WebFiori/wf-docs/blob/main/web-services.md)
Loading