Skip to content

Commit

Permalink
Merge pull request #7 from complycube/release/1.1.3
Browse files Browse the repository at this point in the history
Release 1.1.3
  • Loading branch information
hkvcc authored Sep 28, 2023
2 parents 5b0ccd6 + 4ee2c6e commit 8782f8c
Show file tree
Hide file tree
Showing 86 changed files with 4,371 additions and 3,392 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/phpunit.xml export-ignore
/phpcs.xml.dist export-ignore
/tests export-ignore
/DEV.md export-ignore
9 changes: 6 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
strategy:
max-parallel: 1
matrix:
operating-system: [ubuntu-18.04, ubuntu-20.04]
php-versions: ['7.4']
operating-system: [ubuntu-latest, ubuntu-20.04]
php-versions: ["7.4", "8.1", "8.2"]

runs-on: ${{ matrix.operating-system }}

Expand All @@ -23,6 +23,9 @@ jobs:
- name: Validate composer.json and composer.lock
run: composer validate

- name: Update lock file
run: composer update

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
Expand All @@ -34,7 +37,7 @@ jobs:
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress
run: composer install --prefer-dist --no-progress

- name: Run test suites
run: ./vendor/bin/phpunit --coverage-clover coverage.xml
Expand Down
13 changes: 10 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,31 @@
index.php
.DS_Store

# Ignore PHPUnit coverage file
# Ignore PHPUnit coverage files and directories
clover.xml
clover/
coverage_html

# PHP CS Fixer
.php_cs
.php_cs.cache

# PHPUnit
.phpunit.result.cache
.phpunit.cache

# Build data
/build/
/vendor/
/node_modules
package-lock.json
package.json

# phpDocumenter
.phpdoc/*
phpdoc.xml

.pytest_cache
index.php
index.php

# IDE config
.vscode
1 change: 1 addition & 0 deletions .phpunit.result.cache

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Local Files
.env
index.php
.DS_Store

# Ignore PHPUnit coverage files and directories
clover.xml
clover/
coverage_html

# PHP CS Fixer
.php_cs
.php_cs.cache

# PHPUnit
.phpunit.cache

# Build data
/build/
/vendor/
/node_modules
package-lock.json
package.json
composer.lock
.github/workflows/php.yml
README.md

# phpDocumenter
.phpdoc/*
phpdoc.xml

.pytest_cache
index.php

# IDE config
.vscode
1 change: 1 addition & 0 deletions DEV.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ComplyCube PHP Dev Library
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.1
1.1.3
17 changes: 11 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@
],
"require": {
"php": ">=7.4",
"caseyamcl/guzzle_retry_middleware": "^2.6",
"guzzlehttp/guzzle": "^7.3"
"caseyamcl/guzzle_retry_middleware": "^2.8.0",
"guzzlehttp/guzzle": "^7.5.0",
"nesbot/carbon": "^2.66"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.17",
"phpunit/phpunit": ">=8.0",
"squizlabs/php_codesniffer": "^3.5"
"friendsofphp/php-cs-fixer": "^3.16.0",
"phpunit/phpunit": ">=9.6.6",
"squizlabs/php_codesniffer": "^3.7.2",
"symfony/var-dumper": ">=5.4.22"
},
"autoload": {
"psr-4": {
Expand All @@ -37,7 +39,10 @@
}
},
"scripts": {
"test": "phpunit",
"test": [
"Composer\\Config::disableProcessTimeout",
"phpunit"
],
"check-style": "phpcs lib tests",
"fix-style": "phpcbf lib tests"
},
Expand Down
Loading

0 comments on commit 8782f8c

Please sign in to comment.