Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Commit 5624ae2

Browse files
committed
Remove last module references
1 parent 17f28d2 commit 5624ae2

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

examples/composer.json

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
2-
"name": "vendor/mymodule",
3-
"description": "My module for CodeIgniter 4 (with tests!)",
2+
"name": "vendor/myproject",
3+
"type": "project",
4+
"description": "My project powered by CodeIgniter 4 (with tests!)",
45
"keywords": [
56
"codeigniter",
67
"codeigniter4",
7-
"modules"
8+
"projects"
89
],
910
"homepage": "https://example.com",
1011
"license": "MIT",
@@ -24,21 +25,17 @@
2425
],
2526
"minimum-stability": "dev",
2627
"require": {
27-
"php" : ">=7.2"
28+
"php" : ">=7.2",
29+
"codeigniter4/codeigniter4": "dev-develop"
2830
},
2931
"require-dev": {
30-
"phpunit/phpunit" : "^7.0",
32+
"mikey179/vfsstream": "1.6.*",
3133
"mockery/mockery": "^1.0",
32-
"codeigniter4/codeigniter4": "dev-develop"
33-
},
34-
"autoload": {
35-
"psr-4": {
36-
"Vendor\\MyModule\\": "src"
37-
}
34+
"phpunit/phpunit" : "^7.0"
3835
},
3936
"autoload-dev": {
4037
"psr-4": {
41-
"ModuleTests\\Support\\": "tests/_support"
38+
"ProjectTests\\Support\\": "tests/_support"
4239
}
4340
},
4441
"scripts": {

src/tests/_support/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
define('SYSTEMPATH', realpath($paths->systemDirectory) . DIRECTORY_SEPARATOR);
2222
define('CIPATH', realpath(SYSTEMPATH . '../') . DIRECTORY_SEPARATOR);
2323

24-
// Define necessary module test path constants
24+
// Define necessary project test path constants
2525
define('SUPPORTPATH', realpath(__DIR__) . DIRECTORY_SEPARATOR);
2626
define('TESTPATH', realpath(SUPPORTPATH . '../') . DIRECTORY_SEPARATOR);
2727

0 commit comments

Comments
 (0)