Skip to content

Commit 7b5155a

Browse files
committed
Specifically exclude migrations from class mapping
1 parent 237d24a commit 7b5155a

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

admin/framework/composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
2828
"autoload": {
2929
"psr-4": {
3030
"CodeIgniter\\": "system/"
31-
}
31+
},
32+
"exclude-from-classmap": [
33+
"**/Database/Migrations/**"
34+
]
3235
},
3336
"scripts": {
3437
"post-update-cmd": [

admin/module/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"homepage": "https://codeigniter.com",
55
"license": "MIT",
66
"require": {
7-
"php": "^7.2 || ^8.0",
7+
"php": "^7.2 || ^8.0"
88
},
99
"require-dev": {
1010
"codeigniter4/codeigniter4": "dev-develop",

admin/starter/composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
"psr-4": {
2121
"App\\": "app",
2222
"Config\\": "app/Config"
23-
}
23+
},
24+
"exclude-from-classmap": [
25+
"**/Database/Migrations/**"
26+
]
2427
},
2528
"autoload-dev": {
2629
"psr-4": {

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535
"autoload": {
3636
"psr-4": {
3737
"CodeIgniter\\": "system/"
38-
}
38+
},
39+
"exclude-from-classmap": [
40+
"**/Database/Migrations/**"
41+
]
3942
},
4043
"autoload-dev": {
4144
"psr-4": {

0 commit comments

Comments
 (0)