Skip to content

Commit cdf2d0f

Browse files
committed
Issue #3103918 by greg.1.anderson, Mile23, alexpott, Mixologic, catch: [policy + patch] Decide on backwards compatibility policy for Composer plugins in Drupal 8
1 parent 7ad8e4b commit cdf2d0f

24 files changed

+48
-0
lines changed

AllowedPackages.php

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
*
1313
* If the root-level composer.json allows drupal/core, and drupal/core allows
1414
* drupal/assets, then the later package will also implicitly be allowed.
15+
*
16+
* @internal
1517
*/
1618
class AllowedPackages implements PostPackageEventListenerInterface {
1719

CommandProvider.php

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* List of all commands provided by this package.
9+
*
10+
* @internal
911
*/
1012
class CommandProvider implements CommandProviderCapability {
1113

ComposerScaffoldCommand.php

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
*
1212
* Manually run the scaffold operation that normally happens after
1313
* 'composer install'.
14+
*
15+
* @internal
1416
*/
1517
class ComposerScaffoldCommand extends BaseCommand {
1618

GenerateAutoloadReferenceFile.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* Generates an 'autoload.php' that includes the autoloader created by Composer.
11+
*
12+
* @internal
1113
*/
1214
final class GenerateAutoloadReferenceFile {
1315

Git.php

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
/**
99
* Provide some Git utility operations
10+
*
11+
* @internal
1012
*/
1113
class Git {
1214

Handler.php

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
*
1818
* Contains the primary logic which determines the files to be fetched and
1919
* processed.
20+
*
21+
* @internal
2022
*/
2123
class Handler {
2224

Interpolator.php

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Injects config values from an associative array into a string.
7+
*
8+
* @internal
79
*/
810
class Interpolator {
911

ManageGitIgnore.php

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* Manage the .gitignore file.
9+
*
10+
* @internal
911
*/
1012
class ManageGitIgnore {
1113

ManageOptions.php

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* Projects that describe scaffold files do so via their scaffold options.
1313
* This data is pulled from the 'drupal-scaffold' portion of the extras
1414
* section of the project data.
15+
*
16+
* @internal
1517
*/
1618
class ManageOptions {
1719

Operations/AbstractOperation.php

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* Provides default behaviors for operations.
9+
*
10+
* @internal
911
*/
1012
abstract class AbstractOperation implements OperationInterface {
1113

Operations/AppendOp.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* Scaffold operation to add to the beginning and/or end of a scaffold file.
11+
*
12+
* @internal
1113
*/
1214
class AppendOp extends AbstractOperation {
1315

Operations/ConjunctionOp.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* Joins two operations on the same file into a single operation.
11+
*
12+
* @internal
1113
*/
1214
class ConjunctionOp extends AbstractOperation {
1315

Operations/OperationData.php

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/**
66
* Holds parameter data for operation objects during operation creation only.
7+
*
8+
* @internal
79
*/
810
class OperationData {
911

Operations/OperationFactory.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* Create Scaffold operation objects based on provided metadata.
11+
*
12+
* @internal
1113
*/
1214
class OperationFactory {
1315

Operations/OperationInterface.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* Interface for scaffold operation objects.
11+
*
12+
* @internal
1113
*/
1214
interface OperationInterface {
1315

Operations/ReplaceOp.php

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Scaffold operation to copy or symlink from source to destination.
12+
*
13+
* @internal
1214
*/
1315
class ReplaceOp extends AbstractOperation {
1416

Operations/ScaffoldFileCollection.php

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/**
1212
* Collection of scaffold files.
13+
*
14+
* @internal
1315
*/
1416
class ScaffoldFileCollection implements \IteratorAggregate {
1517

Operations/ScaffoldResult.php

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
/**
88
* Record the result of a scaffold operation.
9+
*
10+
* @internal
911
*/
1012
class ScaffoldResult {
1113

Operations/SkipOp.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* Scaffold operation to skip a scaffold file (do nothing).
11+
*
12+
* @internal
1113
*/
1214
class SkipOp extends AbstractOperation {
1315

Plugin.php

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
/**
2020
* Composer plugin for handling drupal scaffold.
21+
*
22+
* @internal
2123
*/
2224
class Plugin implements PluginInterface, EventSubscriberInterface, Capable {
2325

PostPackageEventListenerInterface.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* Interface for post package event listeners.
99
*
1010
* @see \Drupal\Composer\Plugin\Scaffold\Handler::onPostPackageEvent
11+
*
12+
* @internal
1113
*/
1214
interface PostPackageEventListenerInterface {
1315

ScaffoldFileInfo.php

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* scaffold file also has an 'operation' object that controls how the scaffold
1313
* file will be placed (e.g. via copy or symlink, or maybe by appending multiple
1414
* files together). The operation may have one or more source files.
15+
*
16+
* @internal
1517
*/
1618
class ScaffoldFileInfo {
1719

ScaffoldFilePath.php

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* source files used to create them. Static factory methods named
1616
* destinationPath and sourcePath, respectively, are provided to create
1717
* ScaffoldFilePath objects.
18+
*
19+
* @internal
1820
*/
1921
class ScaffoldFilePath {
2022

ScaffoldOptions.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* Projects that describe scaffold files do so via their scaffold options. This
99
* data is pulled from the 'drupal-scaffold' portion of the extras section of
1010
* the project data.
11+
*
12+
* @internal
1113
*/
1214
class ScaffoldOptions {
1315

0 commit comments

Comments
 (0)