diff --git a/.coveralls.yml b/.coveralls.yml deleted file mode 100644 index 90ae313..0000000 --- a/.coveralls.yml +++ /dev/null @@ -1,2 +0,0 @@ -service_name: travis-ci -coverage_clover: build/logs/clover.xml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c630ffa..c9853a4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,5 +3,5 @@ updates: - package-ecosystem: composer directory: "/" schedule: - interval: daily + interval: weekly open-pull-requests-limit: 10 diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml deleted file mode 100644 index f3de458..0000000 --- a/.github/workflows/changelog.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Changelog - -on: push - -jobs: - generate_changelog: - runs-on: ubuntu-latest - steps: - - name: Generate change log - uses: heinrichreimer/github-changelog-generator-action@v2.1.1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - headerLabel: "# Changelog" - breakingLabel: '### Breaking' - enhancementLabel: '### Enhancements' - stripGeneratorNotice: true - bugsLabel: '### Fixes' - issues: true - issuesWoLabels: true - pullRequests: true - prWoLabels: true - author: false - verbose: true - - name: "🖨️ Print changelog to console" - run: cat CHANGELOG.md - - name: "📤 Upload changelog" - uses: actions/upload-artifact@v1.0.0 - with: - name: "Changelog" - path: CHANGELOG.md \ No newline at end of file diff --git a/.github/workflows/phpstan.yaml b/.github/workflows/phpstan.yaml index b5b7c43..8765146 100644 --- a/.github/workflows/phpstan.yaml +++ b/.github/workflows/phpstan.yaml @@ -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 diff --git a/.php_cs b/.php_cs new file mode 100644 index 0000000..ca2f129 --- /dev/null +++ b/.php_cs @@ -0,0 +1,18 @@ +in(__DIR__) + ->exclude('vendor'); + +return Config::create() + ->setUsingCache(true) + ->setRules([ + '@Symfony' => true, + 'array_syntax' => ['syntax' => 'short'], + 'ordered_imports' => true, + 'yoda_style' => false, + ]) + ->setFinder($finder); \ No newline at end of file diff --git a/tests/FMElfinderBundleTest.php b/tests/FMElfinderBundleTest.php index 3f7bd11..b1d9124 100644 --- a/tests/FMElfinderBundleTest.php +++ b/tests/FMElfinderBundleTest.php @@ -22,6 +22,6 @@ public function testCompilerPasses() $bundle->build($containerBuilder); $passes = $containerBuilder->getCompilerPassConfig()->getBeforeOptimizationPasses(); - self::assertEquals(8, count($passes)); + self::assertEquals(9, count($passes)); } }