Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Template/.github/workflows/phpcpd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
coverage: none

- name: Detect duplicate code
run: phpcpd app/ src/ tests/
run: phpcpd app/ tests/
4 changes: 2 additions & 2 deletions src/Template/.php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
$finder = Finder::create()
->files()
->in([
__DIR__ . '/app',
__DIR__ . '/tests',
__DIR__ . '/app/',
__DIR__ . '/tests/',
])
->exclude('build')
->append([__FILE__]);
Expand Down
2 changes: 1 addition & 1 deletion src/Template/depfile.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
paths:
- ./app
- ./app/
- ./vendor/codeigniter4/framework/system
exclude_files:
- '#.*test.*#i'
Expand Down
4 changes: 2 additions & 2 deletions src/Template/phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ parameters:
bootstrapFiles:
- vendor/codeigniter4/framework/system/Test/bootstrap.php
excludePaths:
- src/Config/Routes.php
- src/Views/*
- app/Config/Routes.php
- app/Views/*
ignoreErrors:
- '#Call to an undefined static method Config\\Services::[A-Za-z]+\(\)#'
universalObjectCratesClasses:
Expand Down
2 changes: 1 addition & 1 deletion src/Template/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<coverage includeUncoveredFiles="true" processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./app/</directory>
</include>
<exclude>
<directory suffix=".php">./app/Config</directory>
Expand Down
4 changes: 2 additions & 2 deletions src/Template/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
$parameters->set(Option::PARALLEL, true);
// The paths to refactor (can also be supplied with CLI arguments)
$parameters->set(Option::PATHS, [
__DIR__ . '/app',
__DIR__ . '/tests',
__DIR__ . '/app/',
__DIR__ . '/tests/',
]);

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