Skip to content

Commit acabd78

Browse files
authored
Merge pull request #7 from codeigniter4/standardize-path
Standardize paths
2 parents e5c6b8c + c39288d commit acabd78

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/Template/.github/workflows/phpcpd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
coverage: none
3434

3535
- name: Detect duplicate code
36-
run: phpcpd app/ src/ tests/
36+
run: phpcpd app/ tests/

src/Template/.php-cs-fixer.dist.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
$finder = Finder::create()
88
->files()
99
->in([
10-
__DIR__ . '/app',
11-
__DIR__ . '/tests',
10+
__DIR__ . '/app/',
11+
__DIR__ . '/tests/',
1212
])
1313
->exclude('build')
1414
->append([__FILE__]);

src/Template/depfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
paths:
2-
- ./app
2+
- ./app/
33
- ./vendor/codeigniter4/framework/system
44
exclude_files:
55
- '#.*test.*#i'

src/Template/phpstan.neon.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ parameters:
77
bootstrapFiles:
88
- vendor/codeigniter4/framework/system/Test/bootstrap.php
99
excludePaths:
10-
- src/Config/Routes.php
11-
- src/Views/*
10+
- app/Config/Routes.php
11+
- app/Views/*
1212
ignoreErrors:
1313
- '#Call to an undefined static method Config\\Services::[A-Za-z]+\(\)#'
1414
universalObjectCratesClasses:

src/Template/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<coverage includeUncoveredFiles="true" processUncoveredFiles="true">
2323
<include>
24-
<directory suffix=".php">./app</directory>
24+
<directory suffix=".php">./app/</directory>
2525
</include>
2626
<exclude>
2727
<directory suffix=".php">./app/Config</directory>

src/Template/rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
$parameters->set(Option::PARALLEL, true);
4848
// The paths to refactor (can also be supplied with CLI arguments)
4949
$parameters->set(Option::PATHS, [
50-
__DIR__ . '/app',
51-
__DIR__ . '/tests',
50+
__DIR__ . '/app/',
51+
__DIR__ . '/tests/',
5252
]);
5353

5454
// Do you need to include constants, class aliases, or a custom autoloader?

0 commit comments

Comments
 (0)