Skip to content

Commit

Permalink
Merge pull request #61 from ItinerisLtd/dependabot/composer/itinerisl…
Browse files Browse the repository at this point in the history
…td/itineris-wp-coding-standards-1.0.0

chore(deps-dev): bump itinerisltd/itineris-wp-coding-standards from 0.4.1 to 1.0.0
  • Loading branch information
kodiakhq[bot] authored Jun 19, 2024
2 parents 4607f7a + 1bdec26 commit 47b6c1f
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 81 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"composer/installers": "^1.5|^2"
},
"require-dev": {
"itinerisltd/itineris-wp-coding-standards": "^0.4.0",
"itinerisltd/itineris-wp-coding-standards": "^1.0.0",
"roave/security-advisories": "dev-master"
},
"config": {
Expand Down
209 changes: 174 additions & 35 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/AbstractBladeBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function getBladeEngineCallable(): string
'acf_gutenblocks/blade_engine_callable',
'\App\template',
"{$this->dir}/views/frontend{$this->fileExtension()}",
$this
$this,
);
}

Expand All @@ -31,7 +31,7 @@ public function renderBlockCallback(array $block): void
$frontend = apply_filters(
'acf_gutenblocks/render_block_frontend_path',
"{$this->dir}/views/frontend{$this->fileExtension()}",
$this
$this,
);

$block['slug'] = str_replace('acf/', '', $block['name']);
Expand Down
2 changes: 1 addition & 1 deletion src/AbstractBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function renderBlockCallback(array $block): void
$frontend = apply_filters(
'acf_gutenblocks/render_block_frontend_path',
"{$this->dir}/views/frontend{$this->fileExtension()}",
$this
$this,
);

if (file_exists($frontend)) {
Expand Down
Loading

0 comments on commit 47b6c1f

Please sign in to comment.