Skip to content

Commit

Permalink
configs
Browse files Browse the repository at this point in the history
  • Loading branch information
rosven9856 committed Sep 27, 2024
1 parent 1700bc8 commit fc966e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
->setFinder($finder)
->setRules([
'static_lambda' => true,
'@PER-CS' => true,
])
->setCacheFile(__DIR__ . '/var/.php-cs-fixer.cache');

Expand Down
4 changes: 2 additions & 2 deletions app.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
try {
$core = new App\Action();
$core->run();
} catch (Exception $e) {
// echo $e->getMessage();
} catch (Exception) {
// echo 'Error: ' . $e->getMessage() . "\n" . 'Trace: ' . $e->getTraceAsString();
}
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<source restrictDeprecations="true" restrictNotices="true" restrictWarnings="true">
<include>
<directory>src</directory>
<file>app.php</file>
</include>
</source>
</phpunit>
1 change: 1 addition & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
$rectorConfig->parallel();
$rectorConfig->cacheDirectory(__DIR__ . '/var/rector');
$rectorConfig->paths([
__DIR__ . '/app.php',
__DIR__ . '/src',
__DIR__ . '/tests',
]);
Expand Down

0 comments on commit fc966e9

Please sign in to comment.