Adam

Results 42 issues of Adam

Requires jhedstrom/DrupalDriver#164. This adds a new context, TestModuleContext, which allows scenarios to automatically enable a module or set of modules before they start, then automatically uninstall those modules after the...

Fixes https://www.drupal.org/node/2854057. This takes a slightly advanced approach; if the target revision is a forward revision, this will say "switch" instead of "revert". Otherwise, it'll still say "revert". Didn't add...

I think we should have something like this: ``` php // import() should accept either a string or a NameNode $myNamespace->import('Drupal\Component\Plugin\PluginBase'); ``` Which should generate: ``` php namespace MyNamespace; use...

enhancement

Fixes #206 and #207.

indexer

We need a way to index namespaces, and the things within them (which can include functions and constants, as of PHP 5.6).

indexer

Should return an array of MethodIndex which override the method.

indexer

Should return an array of SourcePositions where the constant is used.

indexer

As with FunctionIndex::getCalls() (#215), this should return an array of SourcePositions where the class is instantiated.

indexer

It should return an array of SourcePositions where the function is called.

indexer