Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4df7cd0

Browse files
authoredMay 1, 2025··
Merge pull request #46 from TheDragonCode/patch/2025-04-30/21-17
Tests was migrated to Pest
2 parents 1bc1762 + 870fd6a commit 4df7cd0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+788
-306
lines changed
 

‎composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
},
3838
"require-dev": {
3939
"orchestra/testbench": "^9.0 || ^10.0",
40-
"phpunit/phpunit": "^11.0 || ^12.0"
40+
"pestphp/pest": "^3.8",
41+
"pestphp/pest-plugin-type-coverage": "^3.5"
4142
},
4243
"minimum-stability": "stable",
4344
"prefer-stable": true,
@@ -58,6 +59,7 @@
5859
"dragon-code/codestyler": true,
5960
"ergebnis/composer-normalize": true,
6061
"friendsofphp/php-cs-fixer": true,
62+
"pestphp/pest-plugin": true,
6163
"symfony/thanks": true
6264
},
6365
"preferred-install": "dist",
@@ -78,7 +80,7 @@
7880
"build": "@php vendor/bin/testbench workbench:build --ansi",
7981
"clear": "@php vendor/bin/testbench package:purge-skeleton --ansi",
8082
"prepare": "@php vendor/bin/testbench package:discover --ansi",
81-
"test": "@php vendor/bin/phpunit",
82-
"test-coverage": "@test --coverage-text --coverage-html=.build/phpunit/"
83+
"test": "@php vendor/bin/pest --compact",
84+
"test-coverage": "@test --type-coverage"
8385
}
8486
}

‎config/route.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<?php
22

3+
/**
4+
* This file is part of the "dragon-code/laravel-route-names" project.
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* @author Andrey Helldar <helldar@dragon-code.pro>
10+
* @copyright 2025 Andrey Helldar
11+
* @license MIT
12+
*
13+
* @see https://github.com/TheDragonCode/laravel-route-names
14+
*/
15+
316
declare(strict_types=1);
417

518
return [

0 commit comments

Comments
 (0)
Please sign in to comment.