Closed dantleech closed 10 years ago
Updated, keeping backwards compatibility, but explicitly marking as depreacated.
ok, updated to use an argument array instead of options, thanks @dbu
... and fixed the tests.
i think just passing the list as arguments rather than parameter is fine for the new syntax. but we should keep the cnd-file parameter for BC compatibility and only drop it on a new major release.
the tests seem not really fixed.
ok makes sense, reverted the name of the argument.
The failing test does not seem to be related to this PR.
1) PHPCR\Tests\Util\NodeHelperTest::testBenchmarkOrderBeforeArray
PHP_Invoker_TimeoutException: Execution aborted after 1 second
can you please update the doc? then its good to merge imho.
Updated doc.
looking good. could you add a bit to the doc, and then squash your commits?
Updated + Squashed
This PR:
Its a BC break in that it forces at least one
target
option to be secified, whereas before there was a required argument for a single CND file.This PR also keeps in mind support for YAML files instead of CND (I am currently working on a YAML importer + dumper).