Skip to content

Commit

Permalink
Merge pull request #12 from poldixd/laravel-9-update
Browse files Browse the repository at this point in the history
Laravel 9 update
  • Loading branch information
poldixd authored Feb 9, 2022
2 parents 6da3bdf + 54aedb3 commit a6ade1b
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 27 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0]
laravel: [7.*, 8.*]
php: [8.0, 8.1]
laravel: [8.*, 9.*]
dependency-version: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
- laravel: 8.*
testbench: 6.*
- laravel: 7.*
testbench: 5.*
testbench: ^6.24

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ typings/
composer.phar
/vendor/
composer.lock
package-lock.json
package-lock.json
.phpunit.result.cache
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to `laravel-feather` will be documented in this file

## 9.0.0 - 2022-02-09

- added Laravel 9 support
- Added PHP8.1 support
- dropped PHP7.x support
- added better namespaces for tests
- updated phpunit

## 8.1.0 - 2020-11-04

- add support for php8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# poldixd/laravel-feather

Use [Feather Icons](https://feathericons.com) as a Blade `include()` or [Blade Component](https://laravel.com/docs/7.x/blade#components) in your Laravel 7.x application. This Package uses [Feather 4.28.0](https://github.com/feathericons/feather/releases/tag/v4.28.0).
Use [Feather Icons](https://feathericons.com) as a Blade `include()` or [Blade Component](https://laravel.com/docs/7.x/blade#components) in your Laravel 8.x or 9.x application. This Package uses [Feather 4.28.0](https://github.com/feathericons/feather/releases/tag/v4.28.0).

## Installation

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
}
],
"require": {
"php": "^7.3|^8.0",
"illuminate/support": "^7.1|^8.0"
"php": "^8.0|^8.1",
"illuminate/support": "^8.0|^9.0"
},
"require-dev": {
"orchestra/testbench": "^5.0|^6.0",
"phpunit/phpunit": "^8.4|^9.0"
"orchestra/testbench": "^6.17|^7.0",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
Expand All @@ -33,7 +33,7 @@
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
"poldixd\\LaravelFeather\\Tests\\": "tests/"
}
},
"extra": {
Expand Down
24 changes: 12 additions & 12 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" stopOnFailure="false" backupGlobals="false" processIsolation="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" stopOnFailure="false" backupGlobals="false" processIsolation="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>
3 changes: 2 additions & 1 deletion tests/LaravelFeatherBladeComponentTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
namespace Tests;

namespace poldixd\LaravelFeather\Tests;

class LaravelFeatherBladeComponentTest extends TestCase
{
Expand Down
3 changes: 2 additions & 1 deletion tests/LaravelFeatherTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php
namespace Tests;

namespace poldixd\LaravelFeather\Tests;

class LaravelFeatherTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Tests;
namespace poldixd\LaravelFeather\Tests;

use poldixd\LaravelFeather\Providers\LaravelFeatherServiceProvider;
use Orchestra\Testbench\TestCase as BaseTestCase;
Expand Down

0 comments on commit a6ade1b

Please sign in to comment.