Skip to content

Commit

Permalink
Merge pull request #11 from fiskhandlarn/develop
Browse files Browse the repository at this point in the history
Misc for v0.6
  • Loading branch information
fiskhandlarn authored Mar 16, 2021
2 parents f73992e + c6401d0 commit 0850d36
Show file tree
Hide file tree
Showing 22 changed files with 1,032 additions and 119 deletions.
8 changes: 5 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
* text=auto

/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/.styleci.yml export-ignore
/.phpcs.xml export-ignore
/CHANGELOG.md export-ignore
/TODO.md export-ignore
/phpunit.xml.dist export-ignore
/README.md export-ignore
/tests export-ignore
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [push, pull_request]

jobs:
run:
runs-on: ubuntu-latest

strategy:
matrix:
php: [7.3, 7.4, 8.0]

name: PHP ${{ matrix.php }}

steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
- name: "Validate composer.json"
run: composer validate
- name: "Install dependencies"
run: composer install --prefer-dist --no-interaction
- name: "Check coding standards"
run: vendor/bin/phpcs
- name: "Run test suite"
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
flags: tests
name: codecov-umbrella
fail_ci_if_error: true
17 changes: 17 additions & 0 deletions .phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<file>src</file>
<file>tests</file>

<exclude-pattern>*blade.php$</exclude-pattern>
<exclude-pattern>*/cache/*$</exclude-pattern>

<arg name="basepath" value="."/>
<arg name="colors"/>

<!-- TODO: decide -->
<!-- <arg name="warning-severity" value="0"/> -->
<!-- <arg value="np"/> -->

<rule ref="PSR12" />
</ruleset>
1 change: 0 additions & 1 deletion .styleci.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

## 0.6 (released 2021-03-16)

- Changed license to GNU GPL 3.0+
- Updated illuminate/view to 8.32
- Changed recommendation to WordPlate >9.0
- Updated phpunit/phpunit to 9.4.4

## 0.5 (released 2020-05-11)

- Updated dependencies
Expand Down
Loading

0 comments on commit 0850d36

Please sign in to comment.