Skip to content

Commit

Permalink
Merge pull request #23426 from civicrm/5.50
Browse files Browse the repository at this point in the history
5.50 to master
  • Loading branch information
eileenmcnaughton authored May 10, 2022
2 parents 4b61b72 + 4aa7d2e commit a29aaa9
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions mixin/afform-entity-php@1/mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* @mixinName afform-entity-php
* @mixinVersion 1.0.0
* @since 5.50
*
* @param CRM_Extension_MixInfo $mixInfo
* On newer deployments, this will be an instance of MixInfo. On older deployments, Civix may polyfill with a work-a-like.
Expand Down
1 change: 1 addition & 0 deletions mixin/ang-php@1/mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* @mixinName ang-php
* @mixinVersion 1.0.0
* @since 5.45
*
* @param CRM_Extension_MixInfo $mixInfo
* On newer deployments, this will be an instance of MixInfo. On older deployments, Civix may polyfill with a work-a-like.
Expand Down
1 change: 1 addition & 0 deletions mixin/case-xml@1/mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* @mixinName case-xml
* @mixinVersion 1.0.0
* @since 5.45
*
* @param CRM_Extension_MixInfo $mixInfo
* On newer deployments, this will be an instance of MixInfo. On older deployments, Civix may polyfill with a work-a-like.
Expand Down
1 change: 1 addition & 0 deletions mixin/menu-xml@1/mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* @mixinName menu-xml
* @mixinVersion 1.0.0
* @since 5.45
*
* @param CRM_Extension_MixInfo $mixInfo
* On newer deployments, this will be an instance of MixInfo. On older deployments, Civix may polyfill with a work-a-like.
Expand Down
3 changes: 2 additions & 1 deletion mixin/mgd-php@1/mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
* Auto-register "**.mgd.php" files.
*
* @mixinName mgd-php
* @mixinVersion 1.0.0
* @mixinVersion 1.1.0
* @since 5.50
*
* @param CRM_Extension_MixInfo $mixInfo
* On newer deployments, this will be an instance of MixInfo. On older deployments, Civix may polyfill with a work-a-like.
Expand Down
1 change: 1 addition & 0 deletions mixin/setting-php@1/mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* @mixinName setting-php
* @mixinVersion 1.0.0
* @since 5.45
*
* @param CRM_Extension_MixInfo $mixInfo
* On newer deployments, this will be an instance of MixInfo. On older deployments, Civix may polyfill with a work-a-like.
Expand Down
1 change: 1 addition & 0 deletions mixin/theme-php@1/mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*
* @mixinName theme-php
* @mixinVersion 1.0.0
* @since 5.45
*
* @param CRM_Extension_MixInfo $mixInfo
* On newer deployments, this will be an instance of MixInfo. On older deployments, Civix may polyfill with a work-a-like.
Expand Down
8 changes: 7 additions & 1 deletion tools/mixin/bin/mixer
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,15 @@ function task_test(array $options, string $targetDir, ...$args) {

function task_list(array $options, ...$mixinNames) {
$mixinNames = resolve_mixin_names($mixinNames);
fprintf(STDOUT, "%-20s %-8s %-8s %s\n", "NAME", "VERSION", "SINCE", "DESCRIPTION");
fprintf(STDOUT, "%-20s %-8s %-8s %s\n", "----", "-------", "-----", "-----------");
foreach ($mixinNames as $mixinName) {
$mixin = mixlib()->get($mixinName);
fprintf(STDOUT, "%-20s %-10s %s\n", $mixin['mixinName'], $mixin['mixinVersion'] ?? '', $mixin['description'] ?? '');
fprintf(STDOUT, "%-20s %-8s %-8s %s\n",
$mixin['mixinName'],
$mixin['mixinVersion'] ?? '',
$mixin['since'] ?? '',
$mixin['description'] ?? '');
}
}

Expand Down

0 comments on commit a29aaa9

Please sign in to comment.