From 81e5d012cd659ca8704c782f8442a34d737a1090 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Mon, 4 Dec 2023 02:26:33 +0300 Subject: [PATCH 1/3] Update .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 13dc364..9ec0946 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ nbproject composer.lock vendor/* .idea/* +php-cs-fixer.phar +composer.phar From 90e9d6285724989275c57f49b1822cb52e42ba3b Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Mon, 4 Dec 2023 02:27:08 +0300 Subject: [PATCH 2/3] Create php83.yml --- .github/workflows/php83.yml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/php83.yml diff --git a/.github/workflows/php83.yml b/.github/workflows/php83.yml new file mode 100644 index 0000000..a55f775 --- /dev/null +++ b/.github/workflows/php83.yml @@ -0,0 +1,42 @@ +name: Build PHP 8.3 + +on: + push: + branches: [ main, dev ] + pull_request: + branches: [ main ] + +jobs: + test: + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: true + matrix: + os: [ ubuntu-latest ] + php: [8.3] + + name: PHP${{matrix.php}} - ${{matrix.os}} + + steps: + - name: Clone Repo + uses: actions/checkout@v4 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: mysqli, mbstring, sqlsrv + tools: phpunit:9.5.20, composer + + - name: Shutdown Ubuntu MySQL + run: sudo service mysql stop + + - name: Install Dependencies + run: composer install --prefer-dist --no-interaction + + - name: Execute Tests + run: phpunit + + - name: CodeCov + uses: codecov/codecov-action@v1 \ No newline at end of file From cb727867f495dbd2666a21ff5353492002b730a6 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Mon, 4 Dec 2023 02:29:47 +0300 Subject: [PATCH 3/3] Update README.md --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a2b6c14..40d6e43 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ A library for handling PHP errors and exceptions in a better way.

- - + + @@ -17,14 +17,15 @@ A library for handling PHP errors and exceptions in a better way. ## Supported PHP Versions | Build Status | |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| | -| | -| | -| | -| | -| | -| | -| | +| | +| | +| | +| | +| | +| | +| | +| | +| | ## Installation The library can be included in your project by including following entry in your `require` section of your `composer.json`: `"webfiori/err":"*"`.