-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor gitignore and gitattributes, update
version and add documentation
- Loading branch information
1 parent
719df95
commit ad3eb1b
Showing
15 changed files
with
1,243 additions
and
1,659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: alphaolomi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
php: [8.2, 8.1] | ||
stability: [prefer-lowest, prefer-stable] | ||
|
||
name: P${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo | ||
coverage: none | ||
|
||
- name: Setup problem matchers | ||
run: | | ||
echo "::add-matcher::${{ runner.tool_cache }}/php.json" | ||
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | ||
- name: Install dependencies | ||
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction | ||
|
||
- name: Execute tests | ||
run: vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
/vendor/ | ||
/.idea/ | ||
.idea | ||
.php_cs | ||
.php_cs.cache | ||
.phpunit.result.cache | ||
build | ||
composer.lock | ||
coverage | ||
docs | ||
phpunit.xml | ||
psalm.xml | ||
vendor | ||
.php-cs-fixer.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Changelog | ||
|
||
All notable changes to `alphalomi/mrz` will be documented in this file. | ||
|
||
### Unreleased | ||
|
||
- Update README.md | ||
- Add `MrzParser` class | ||
- Update | ||
- Skip Accent Dialectic characters tests | ||
- Add Testing GH Action | ||
- Add FUNDING.yml | ||
|
||
### 1.0.1 - 2023-11-13 | ||
|
||
- Fix use of deprecated `utf8_decode` function | ||
|
||
|
||
### 1.0.0 - 2023-11-13 | ||
|
||
- initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,20 +2,19 @@ | |
"name": "alphaolomi/mrz", | ||
"type": "library", | ||
"description": "Machine Readable Zone SDK for PHP", | ||
"keywords": ["mrz"], | ||
"keywords": ["mrz"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Evandro Kondrat", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/mreko", | ||
"role": "Author" | ||
}, | ||
{ | ||
"name": "Alpha Olomi", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/alphaolomi", | ||
"role": "Maintainer" | ||
}, | ||
{ | ||
"name": "Nascent Michael", | ||
"homepage": "https://github.com/nascent1", | ||
"role": "Author" | ||
} | ||
], | ||
"require": { | ||
|
@@ -35,7 +34,7 @@ | |
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit tests" | ||
"test": "./vendor/bin/phpunit" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
|
Oops, something went wrong.