diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 1d39f3c..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Build -on: - push: - branches: - - main - - develop - pull_request: - types: [opened, synchronize, reopened] -jobs: - sonarcloud: - name: SonarQube Cloud - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: SonarQube Cloud Scan - uses: SonarSource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file diff --git a/changelog.md b/changelog.md index 47d3585..fce6b06 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,8 @@ ## 2.6.1 (05/12/2024) + Add html block ++ Update readme ++ Code optimisations ## 2.6.0 (21/05/2024) diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index d4ca825..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,13 +0,0 @@ -sonar.projectKey=Pixel-Open_sulu-blockbundle -sonar.organization=pixel-open - -# This is the name and version displayed in the SonarCloud UI. -#sonar.projectName=sulu-blockbundle -#sonar.projectVersion=1.0 - - -# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -#sonar.sources=. - -# Encoding of the source code. Default is default system encoding -#sonar.sourceEncoding=UTF-8 \ No newline at end of file diff --git a/src/DependencyInjection/BlockExtension.php b/src/DependencyInjection/BlockExtension.php index 187767e..1c54c8b 100644 --- a/src/DependencyInjection/BlockExtension.php +++ b/src/DependencyInjection/BlockExtension.php @@ -30,6 +30,6 @@ public function prepend(ContainerBuilder $container): void public function load(array $configs, ContainerBuilder $container): void { $configuration = new Configuration(); - $config = $this->processConfiguration($configuration, $configs); + $this->processConfiguration($configuration, $configs); } } diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index e8fefa0..a891d40 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -9,7 +9,6 @@ class Configuration implements ConfigurationInterface { public function getConfigTreeBuilder() { - $treeBuilder = new TreeBuilder('pixel_blockbundle'); - return $treeBuilder; + return new TreeBuilder('pixel_blockbundle'); } }