Skip to content

Commit

Permalink
Bumped copyright years, updated version dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Jan 4, 2021
1 parent 9ebe33e commit 8cad4fd
Show file tree
Hide file tree
Showing 11 changed files with 85 additions and 58 deletions.
22 changes: 10 additions & 12 deletions .gitattributes
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
47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
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"
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.6] - 2021-01-04

Bumped copyright years, updated version dependencies.

## [1.0.5] - 2020-11-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Jamiel Sharief
Copyright (c) 2020-2021 Jamiel Sharief

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ValueStore

![license](https://img.shields.io/badge/license-MIT-brightGreen.svg)
[![build](https://travis-ci.com/originphp/value-store.svg?branch=master)](https://travis-ci.com/originphp/value-store)
[![build](https://github.com/originphp/valuestore/workflows/CI/badge.svg)](https://github.com/originphp/valuestore/actions)
[![coverage](https://coveralls.io/repos/github/originphp/value-store/badge.svg?branch=master)](https://coveralls.io/github/originphp/value-store?branch=master)

ValueStore is a Key-Value Store (KVS) which provides a consistent interface for working with various types of stores, including JSON, Yaml, XML and PHP files.
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"phpstan/phpstan": "^0.12.33",
"originphp/xml": "^1.0",
"originphp/yaml": "^1.2"
"phpstan/phpstan": "^0.12.64",
"originphp/xml": "^2.0",
"originphp/yaml": "^2.0"
},
"suggest": {
"originphp/xml": "Install this if you want to work with XML files",
"originphp/yaml": "Install this if you want to work with Yaml files"
}
}
}
36 changes: 15 additions & 21 deletions phpunit.xml.dist
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>
2 changes: 1 addition & 1 deletion src/Exception/ValueStoreException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ValueStore
* Copyright 2020 Jamiel Sharief.
* Copyright 2020 - 2021 Jamiel Sharief.
*
* Licensed under The MIT License
* The above copyright notice and this permission notice shall be included in all copies or substantial
Expand Down
2 changes: 1 addition & 1 deletion src/ValueStore.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ValueStore
* Copyright 2020 Jamiel Sharief.
* Copyright 2020 - 2021 Jamiel Sharief.
*
* Licensed under The MIT License
* The above copyright notice and this permission notice shall be included in all copies or substantial
Expand Down
2 changes: 1 addition & 1 deletion tests/ValueStoreTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* ValueStore
* Copyright 2020 Jamiel Sharief.
* Copyright 2020 - 2021 Jamiel Sharief.
*
* Licensed under The MIT License
* The above copyright notice and this permission notice shall be included in all copies or substantial
Expand Down

0 comments on commit 8cad4fd

Please sign in to comment.