Skip to content

Commit

Permalink
Merge pull request #3 from wireui/publishing-fix
Browse files Browse the repository at this point in the history
Publishing fix
  • Loading branch information
PH7-Jack committed Mar 24, 2023
2 parents 8c11270 + 9354109 commit 4e37e56
Show file tree
Hide file tree
Showing 13 changed files with 1,545 additions and 1,729 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ on:
pull_request:
types: [ready_for_review, synchronize, opened]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.1]
laravel: [9.*]
php: [8.1, 8.2]
laravel: [9.*, 10.*]

name: PHP:${{ matrix.php }} / Laravel:${{ matrix.laravel }}

Expand Down Expand Up @@ -47,5 +49,8 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --no-interaction --no-suggest
- name: Run tests and code analysis
- name: Run PHPUnit tests
run: composer test

- name: Check code style
run: composer verify
86 changes: 0 additions & 86 deletions .php-cs-fixer.php

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ This package provides a beautiful **breadcrumbs** component, with a simple and e

### 📚 Get Started
#### Prerequisites:
* [Laravel 9.x](https://laravel.com)
* [PHP 8.1](https://www.php.net/releases/8.1/en.php)
* [Laravel 9.x | 10.x](https://laravel.com)
* [PHP 8.1 | 8.2](https://www.php.net/releases/8.1/en.php)
* [Livewire 2.10](https://laravel-livewire.com)

#### Optional
Expand Down
29 changes: 14 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,27 @@
}
],
"require": {
"php": "^8.1",
"laravel/framework": "^9.25",
"livewire/livewire": "^2.10"
"php": "^8.1|^8.2",
"laravel/framework": "^9.25|^10.0",
"livewire/livewire": "^2.12"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.10",
"phpunit/phpunit": "^9.5",
"pestphp/pest": "^1.21",
"phpunit/phpunit": "^9.6",
"pestphp/pest": "^1.22",
"mockery/mockery": "^1.5",
"orchestra/testbench": "^7.6",
"nunomaduro/larastan": "^2.0"
"orchestra/testbench": "^7.6|^8.0",
"nunomaduro/larastan": "^2.0",
"laravel/pint": "^1.6"
},
"minimum-stability": "stable",
"minimum-stability": "dev",
"scripts": {
"test": "./vendor/bin/pest --coverage --min=100",
"phpstan": "./vendor/bin/phpstan analyse src",
"phpcs:fix": "./vendor/bin/php-cs-fixer fix",
"phpcs:check": "./vendor/bin/php-cs-fixer fix --dry-run --using-cache=no",
"phpstan": "./vendor/bin/phpstan analyse",
"pint:fix": "./vendor/bin/pint",
"pint:check": "./vendor/bin/pint --test",
"verify": [
"@phpstan",
"@phpcs:check",
"@test"
"@pint:check",
"@phpstan"
]
},
"autoload": {
Expand Down

0 comments on commit 4e37e56

Please sign in to comment.