Skip to content

Commit

Permalink
Minor imprvements
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag committed Nov 19, 2023
1 parent 3ed82e3 commit 9096424
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 35 deletions.
2 changes: 0 additions & 2 deletions .coveralls.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: daily
interval: weekly
open-pull-requests-limit: 10
30 changes: 0 additions & 30 deletions .github/workflows/changelog.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Runs a single command using the runners shell
- name: phpstan
Expand Down
18 changes: 18 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

use PhpCsFixer\Config;
use PhpCsFixer\Finder;

$finder = Finder::create()
->in(__DIR__)
->exclude('vendor');

return Config::create()
->setUsingCache(true)
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => true,
'yoda_style' => false,
])
->setFinder($finder);
2 changes: 1 addition & 1 deletion tests/FMElfinderBundleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ public function testCompilerPasses()
$bundle->build($containerBuilder);

$passes = $containerBuilder->getCompilerPassConfig()->getBeforeOptimizationPasses();
self::assertEquals(8, count($passes));
self::assertEquals(9, count($passes));
}
}

0 comments on commit 9096424

Please sign in to comment.