Skip to content

Commit

Permalink
fixup! fixup! add doctrine common 2.0 set + diff class extractor helper
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 12, 2020
1 parent fc0af8b commit be44a3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/set/doctrine/doctrine-common-20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ services:
Doctrine\Common\Persistence\ObjectManagerDecorator: Doctrine\Persistence\ObjectManagerDecorator
Doctrine\Common\Persistence\ObjectRepository: Doctrine\Persistence\ObjectRepository
Doctrine\Common\Persistence\Proxy: Doctrine\Persistence\Proxy
Doctrine\Common\Persistence\AbstractManagerRegistry: Doctrine\Persistence\AbstractManagerRegistry
Doctrine\Common\Persistence\Mapping\Driver\DefaultFileLocator: Doctrine\Persistence\Mapping\Driver\DefaultFileLocator


Doctrine\Common\Persistence\ManagerRegistry: Doctrine\Persistence\ManagerRegistry
4 changes: 3 additions & 1 deletion helpers/extract_class_changes_from_diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require __DIR__ . '/../vendor/autoload.php';

### 11. CONFIGURE INPUT
$diffPath = 'https://github.com/doctrine/persistence/commit/548f75fc75b421af16cc1d234da02eb6072cdd18.diff';
$diffPath = 'https://github.com/symfony/symfony/commit/53a4711520d52bccd20fa6e616731114fa6eb61f.diff';
$classNamePrefix = 'Doctrine';


Expand Down Expand Up @@ -54,4 +54,6 @@
ksort($classesBeforeAfter);

$yaml = Yaml::dump($classesBeforeAfter);
echo PHP_EOL;
echo $yaml;
echo PHP_EOL;

0 comments on commit be44a3d

Please sign in to comment.