-
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.
Bumped copyright years, updated version dependencies.
- Loading branch information
1 parent
9ebe33e
commit 8cad4fd
Showing
11 changed files
with
85 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
/tests export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.travis.yml export-ignore | ||
/.coveralls.yml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/LICENSE.md export-ignore | ||
/CHANGELOG.md export-ignore | ||
/README.md export-ignore | ||
tests export-ignore | ||
phpunit.xml.dist export-ignore | ||
phpcs.xml.dist export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
.coveralls.yml export-ignore | ||
phpunit.xml.dist export-ignore | ||
phpcs.xml.dist export-ignore | ||
CHANGELOG.md export-ignore | ||
README.md export-ignore |
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,47 @@ | ||
# | ||
# OriginPHP Framework | ||
# Copyright 2021 Jamiel Sharief. | ||
# | ||
# Licensed under The MIT License | ||
# The above copyright notice and this permission notice shall be included in all copies or substantial | ||
# portions of the Software. | ||
# | ||
# @copyright Copyright (c) Jamiel Sharief | ||
# @link https://www.originphp.com | ||
# @license https://opensource.org/licenses/mit-license.php MIT License | ||
# | ||
name: CI | ||
on: | ||
push: | ||
jobs: | ||
tests: | ||
name: "PHP ${{ matrix.php-version }}" | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
php-version: | ||
- "7.3" | ||
- "7.4" | ||
- "8.0" | ||
steps: | ||
- name: Checkout source code | ||
uses: "actions/checkout@v2" | ||
- name: Install PHP | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
coverage: "xdebug" | ||
php-version: "${{ matrix.php-version }}" | ||
tools: composer:v2 | ||
- name: Install dependencies | ||
run: | | ||
composer require php-coveralls/php-coveralls:^2.4 --dev --no-update | ||
composer update --no-progress --prefer-dist | ||
- name: Run PHPUnit | ||
run: "php vendor/bin/phpunit --coverage-clover=clover.xml" | ||
- name: Coveralls | ||
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: "php vendor/bin/php-coveralls --verbose" | ||
if: ${{ success() }} | ||
- name: Run PHPStan | ||
run: "vendor/bin/phpstan analyse src --error-format=github" |
This file was deleted.
Oops, something went wrong.
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
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
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,23 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
colors="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
bootstrap="vendor/autoload.php" | ||
backupGlobals="true" | ||
> | ||
<testsuites> | ||
<testsuite name="OriginPHP ValueStore"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">./src/</directory> | ||
</whitelist> | ||
</filter> | ||
<php> | ||
<const name="PHPUNIT" value="true"/> | ||
<env name="ORIGIN_ENV" value="test"/> | ||
</php> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" processIsolation="false" stopOnFailure="false" bootstrap="vendor/autoload.php" backupGlobals="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage> | ||
<include> | ||
<directory suffix=".php">./src/</directory> | ||
</include> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="OriginPHP ValueStore"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<php> | ||
<const name="PHPUNIT" value="true"/> | ||
<env name="ORIGIN_ENV" value="test"/> | ||
</php> | ||
</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
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