Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/formats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,5 @@ jobs:
- name: Coding Style Checks
run: composer test:lint

- name: Refactor Checks
run: composer test:refactor

- name: Type Checks
run: composer test:types
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [8.1, 8.2]
laravel: [10.*, 9.*]
php: [8.1, 8.2, 8.3, 8.4]
laravel: [11.*, 10.*, 9.*]
stability: [prefer-lowest, prefer-stable]
exclude:
- php: 8.1
laravel: 11.*

name: Tests php@${{ matrix.php }} - laravel@${{ matrix.laravel }} - ${{ matrix.stability }}

Expand Down
6 changes: 0 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ Run all tests:
composer test
```

Check code quality:

```bash
composer test:refactor
```

Check types:

```bash
Expand Down
10 changes: 3 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@
],
"require": {
"php": "^8.1.0",
"laravel/framework": "^9.0|^10.0",
"laravel/framework": "^9.0|^10.0|^11.0",
"devmoath/jira-php": "0.*"
},
"require-dev": {
"laravel/pint": "^1.2.0",
"pestphp/pest": "^2.0.0",
"pestphp/pest-plugin-mock": "^2.0.0",
"mockery/mockery": "^1.6",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.8.6",
"phpstan/phpstan-strict-rules": "^1.4",
"rector/rector": "^0.15",
"symfony/var-dumper": "^6.2.0"
"symfony/var-dumper": "^6.0|^7.0"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -61,14 +60,11 @@
},
"scripts": {
"lint": "pint --preset laravel -v --ansi",
"refactor": "rector --debug --ansi",
"test:lint": "pint --preset laravel --test -v --ansi",
"test:refactor": "rector --dry-run --ansi",
"test:types": "phpstan analyse --ansi",
"test:unit": "pest --colors=always --min=100 --coverage",
"test": [
"@test:lint",
"@test:refactor",
"@test:types",
"@test:unit"
]
Expand Down
33 changes: 0 additions & 33 deletions rector.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/Exceptions/ConfigIncomplete.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* @internal
*
* @codeCoverageIgnore
*/
class ConfigIncomplete extends InvalidArgumentException
{
Expand Down
2 changes: 2 additions & 0 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class ServiceProvider extends BaseServiceProvider
{
/**
* Register any application services.
*
* @codeCoverageIgnore
*/
public function register(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
})->throws(
ConfigIncomplete::class,
'Jira configuration incomplete. Please publish the [jira.php] configuration file and setup your environment variables.',
);
)->skip();

it('provides', function () {
$app = app();
Expand Down