From a7175a4442cb6d5d4031d03cf228fc43439b504b Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Wed, 1 May 2024 00:52:09 +0300 Subject: [PATCH 1/2] chore: Updated CI Config --- .github/workflows/php70.yml | 6 ++++-- .github/workflows/php71.yml | 6 ++++-- .github/workflows/php72.yml | 6 ++++-- .github/workflows/php73.yml | 6 ++++-- .github/workflows/php74.yml | 6 ++++-- .github/workflows/php80.yml | 6 ++++-- .github/workflows/php81.yml | 6 ++++-- .github/workflows/php82.yml | 6 ++++-- .github/workflows/php83.yml | 6 ++++-- 9 files changed, 36 insertions(+), 18 deletions(-) diff --git a/.github/workflows/php70.yml b/.github/workflows/php70.yml index e5ee43c8d..ae33f2f72 100644 --- a/.github/workflows/php70.yml +++ b/.github/workflows/php70.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -64,4 +64,6 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/php71.yml b/.github/workflows/php71.yml index 17322ebf1..cb20b2697 100644 --- a/.github/workflows/php71.yml +++ b/.github/workflows/php71.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -65,4 +65,6 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/php72.yml b/.github/workflows/php72.yml index f4b64c2ad..7cfa8e832 100644 --- a/.github/workflows/php72.yml +++ b/.github/workflows/php72.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -65,6 +65,8 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/php73.yml b/.github/workflows/php73.yml index 5dab5cf25..8bce6f656 100644 --- a/.github/workflows/php73.yml +++ b/.github/workflows/php73.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -65,7 +65,9 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: SonarCloud uses: SonarSource/sonarcloud-github-action@master diff --git a/.github/workflows/php74.yml b/.github/workflows/php74.yml index 0ad7e57e5..2761957fc 100644 --- a/.github/workflows/php74.yml +++ b/.github/workflows/php74.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -65,7 +65,9 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/php80.yml b/.github/workflows/php80.yml index 9fe722053..4bb63d38e 100644 --- a/.github/workflows/php80.yml +++ b/.github/workflows/php80.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -65,4 +65,6 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/php81.yml b/.github/workflows/php81.yml index 1b0a02196..1d2db2034 100644 --- a/.github/workflows/php81.yml +++ b/.github/workflows/php81.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -65,4 +65,6 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/php82.yml b/.github/workflows/php82.yml index 26c0166d2..0cbde10be 100644 --- a/.github/workflows/php82.yml +++ b/.github/workflows/php82.yml @@ -66,7 +66,9 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} coding_standards_check: name: "Coding Standards Check" @@ -102,7 +104,7 @@ jobs: php: [8.0,8.1,8.2] steps: - name: Clone Repo - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/php83.yml b/.github/workflows/php83.yml index f72f951dc..20b2f47e2 100644 --- a/.github/workflows/php83.yml +++ b/.github/workflows/php83.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Clone Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -66,7 +66,9 @@ jobs: run: phpunit - name: CodeCov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} coding_standards_check: name: "Coding Standards Check" From 63ba6d890b82280d87d002f8c3fcfee1493ea2ff Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Wed, 1 May 2024 00:56:49 +0300 Subject: [PATCH 2/2] chore: Updated .gitattribute --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index f661f89c6..c956eb4b9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,4 +8,7 @@ /.gitignore export-ignore /.travis.yml export-ignore /phpunit.xml export-ignore +/ecs.php export-ignore +/php_cs.php.dist export-ignore +/phpbench.json export-ignore /sonar-project.properties export-ignore \ No newline at end of file