forked from LibreBooking/app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use PHP 8.1, 8.2, and 8.3 for doing syntax check
- Loading branch information
1 parent
a27ce5b
commit 4d6aae1
Showing
2 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
declare(strict_types=1); | ||
use Rector\Config\RectorConfig; | ||
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector; | ||
return RectorConfig::configure() | ||
->withPaths([ | ||
__DIR__ . '/Controls', | ||
__DIR__ . '/Domain', | ||
__DIR__ . '/Jobs', | ||
__DIR__ . '/Pages', | ||
__DIR__ . '/Presenters', | ||
__DIR__ . '/Web', | ||
__DIR__ . '/WebServices', | ||
__DIR__ . '/config', | ||
__DIR__ . '/lang', | ||
__DIR__ . '/lib', | ||
__DIR__ . '/phing-tasks', | ||
__DIR__ . '/plugins', | ||
__DIR__ . '/tests', | ||
]) | ||
// uncomment to reach your current PHP version | ||
// ->withPhpSets() | ||
->withRules([ | ||
AddVoidReturnTypeWhereNoReturnRector::class, | ||
]); |