Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Lloric Mayuga Garcia <lloricode@gmail.com>
  • Loading branch information
lloricode committed Mar 5, 2024
1 parent d268203 commit 03bda74
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1, 8.2, 8.3]
laravel: [^8.83.27, ^9.51.0, ^10.0.0, ^11.0.0]
laravel: [^9.51.0, ^10.0.0, ^11.0.0]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: ^11.0.0
Expand All @@ -19,17 +19,13 @@ jobs:
testbench: ^8.0.0
- laravel: ^9.51.0
testbench: ^7.22.0
- laravel: ^8.83.27
testbench: ^6.25.1
exclude:
- php: 8.1
laravel: ^11.0.0
- php: 8.0
laravel: ^11.0.0
- php: 8.0
laravel: ^10.0.0
- php: 8.1
laravel: ^8.83.27


name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
Expand Down
28 changes: 13 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,22 @@
"require": {
"php": "^8.0",
"ext-json": "*",
"illuminate/contracts": "^8.83.27|^9.51.0|^10.0.0",
"illuminate/contracts": "^9.51.0|^10.0.0",
"lloricode/paymaya-sdk-php": "^2.0.0",
"spatie/laravel-package-tools": "^1.1"
"spatie/laravel-package-tools": "^1.16.2"
},
"require-dev": {
"composer-runtime-api": "^2.2.2",
"laravel/pint": "^1.5",
"nesbot/carbon": "^2.63",
"orchestra/testbench": "^6.25.1|^7.22.0|^8.0.0",
"pestphp/pest": "^1.22.4",
"pestphp/pest-plugin-laravel": "^1.4",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.1.1",
"phpstan/phpstan-phpunit": "^1.3.4",
"rector/rector": "^0.15.16",
"spatie/laravel-ray": "^1.32.2",
"spatie/x-ray": "^1.1"
"laravel/pint": "^1.14",
"nesbot/carbon": "^2.72.3",
"orchestra/testbench": "^^7.22.0|^8.21.1",
"pestphp/pest": "^2.34.1",
"pestphp/pest-plugin-laravel": "^2.3",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.16",
"rector/rector": "^1.0.2",
"spatie/laravel-ray": "^1.35.1"
},
"autoload": {
"psr-4": {
Expand All @@ -56,8 +55,7 @@
"test-coverage": "vendor/bin/pest --coverage",
"format": "vendor/bin/pint",
"rector": "vendor/bin/rector process",
"rector-dry-run": "vendor/bin/rector process --dry-run",
"x-ray": "vendor/bin/x-ray src tests"
"rector-dry-run": "vendor/bin/rector process --dry-run"
},
"config": {
"sort-packages": true,
Expand Down
7 changes: 7 additions & 0 deletions tests/ArchitectureTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

declare(strict_types=1);

test('Not debugging statements are left in our code.')
->expect(['dd', 'dump', 'ray', 'rd', 'die', 'eval', 'sleep', 'debug', 'var_dump', 'env'])
->not->toBeUsed();

0 comments on commit 03bda74

Please sign in to comment.