Skip to content

Commit

Permalink
Update composer
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed Nov 6, 2024
1 parent 8df59c2 commit 9283c16
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 203 deletions.
80 changes: 32 additions & 48 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,79 +31,63 @@
"meta-box/mbb-parser": "dev-master",
"elightup/twig": "dev-master"
},
"scripts": {
"post-update-cmd": [
"echo Deleting .git dirs...",
"rm -rf vendor/**/**/.git"
],
"post-install-cmd": [
"echo Deleting .git dirs...",
"rm -rf vendor/**/**/.git"
],
"phpcs": [
"phpcs > phpcs.txt"
]
},
"extra": {
"dev-files": {
"/": [
".git",
".github/",
".gitattributes",
".gitignore",

".editoconfig",

"LICENSE",
"*.md",

"test/",
"tests/",

"phpcs.xml"
],
"meta-box/*": [
".git",

".distignore",
".babelrc",
"webpack.config.js",

"*.lock",
"*.json",
"*.yaml",
"*.yml",

"*.txt",
"*.less",
"*.scss",
"*.po",
"*.pot",

"demo.php",
"demo/",
"sass/",
"vendor/"
],
"wpmetabox/*": [
".git",

".distignore",
"composer.json",
"composer.lock",
"package.json",
"package-lock.json",
"phpcs.xml",
"pnpm-lock.yaml",
"phpstan.neon",
"phpunit.xml",
".babelrc",
"webpack.config.js",

"*.lock",
"*.json",
"*.yml",

"*.txt",
"*.less",
"*.scss",
"*.po",
"*.pot",

".editoconfig",
".vscode",
"esbuild.js",
"LICENSE",
"*.md",
"test/",
"tests/",
"demo.php",
"demo/",
"sass/",
"vendor/"
],
"riimu/kit-phpencoder": [
"examples",
"*.md",
"*.json",
"LICENSE"
"examples/",
"*.json"
],
"elightup/twig": [
".git",
"*.json",
"twig.php"
]
}
}
}
}
2 changes: 1 addition & 1 deletion src/Extensions/Blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static function get_block_metadata( $request ) {
$parser = new Settings();
$path = $parser->replace_variables( $path );

$block_id = $request->post( 'post_name' );
$block_id = $request->post( 'post_name' );
// phpcs:ignore PluginCheck.CodeAnalysis.EnqueuedResourceOffloading.OffloadedContent
$path_to_block_json = $path . '/' . $block_id . '/block.json';

Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => 'meta-box/meta-box-builder',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '01bf26a11921d25c8dfb1c478e12c11120ef9c4e',
'reference' => '8df59c242cf17cf3239b428510820e72ccbffb28',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -35,7 +35,7 @@
'meta-box/meta-box-builder' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '01bf26a11921d25c8dfb1c478e12c11120ef9c4e',
'reference' => '8df59c242cf17cf3239b428510820e72ccbffb28',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down
37 changes: 0 additions & 37 deletions vendor/riimu/kit-phpencoder/examples/class_resolution.php

This file was deleted.

65 changes: 0 additions & 65 deletions vendor/riimu/kit-phpencoder/examples/config.php

This file was deleted.

35 changes: 0 additions & 35 deletions vendor/riimu/kit-phpencoder/examples/export_difference.php

This file was deleted.

15 changes: 0 additions & 15 deletions vendor/riimu/kit-phpencoder/examples/writing.php

This file was deleted.

0 comments on commit 9283c16

Please sign in to comment.