Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
plantuml-bundle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Pôle IS
Bundles Symfony 2
plantuml-bundle
Commits
74e56476
Commit
74e56476
authored
Sep 26, 2017
by
Raidelet Nicolas
Committed by
Guillaume Perréal
Oct 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CS et PHPDoc
parent
58699241
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
22 deletions
+37
-22
Command/GenerateCommand.php
Command/GenerateCommand.php
+0
-1
Command/RenderCommand.php
Command/RenderCommand.php
+12
-8
Doctrine/AssociationDecorator.php
Doctrine/AssociationDecorator.php
+10
-1
Doctrine/FieldDecorator.php
Doctrine/FieldDecorator.php
+9
-7
Model/Decorator/AttributeDecorator.php
Model/Decorator/AttributeDecorator.php
+1
-1
Model/Decorator/InheritableItemDecoratorTrait.php
Model/Decorator/InheritableItemDecoratorTrait.php
+0
-1
Model/Decorator/InterfaceDecorator.php
Model/Decorator/InterfaceDecorator.php
+3
-1
Model/Decorator/MethodDecorator.php
Model/Decorator/MethodDecorator.php
+1
-1
Writer/WriterInterface.php
Writer/WriterInterface.php
+1
-1
No files found.
Command/GenerateCommand.php
View file @
74e56476
...
...
@@ -29,7 +29,6 @@ class GenerateCommand extends ContainerAwareCommand
/**
* @param InputInterface $input
* @param OutputInterface $output
*
* @SuppressWarnings(UnusedFormalParameter)
*/
protected
function
execute
(
InputInterface
$input
,
OutputInterface
$output
)
...
...
Command/RenderCommand.php
View file @
74e56476
...
...
@@ -34,7 +34,6 @@ class RenderCommand extends ContainerAwareCommand
/**
* @param InputInterface $input
* @param OutputInterface $output
*
* @SuppressWarnings(UnusedFormalParameter)
*/
protected
function
execute
(
InputInterface
$input
,
OutputInterface
$output
)
...
...
@@ -96,13 +95,18 @@ class RenderCommand extends ContainerAwareCommand
$fs
->
mkdir
(
dirname
(
$target
));
$ctn
=
$this
->
getContainer
();
$cmd
=
implode
(
' '
,
[
$ctn
->
getParameter
(
'irstea_plant_uml.binaries.java'
),
'-jar'
,
$ctn
->
getParameter
(
'irstea_plant_uml.binaries.plamtuml_jar'
),
'-graphvizdot'
,
$ctn
->
getParameter
(
'irstea_plant_uml.binaries.dot'
),
'-pipe'
,
'-t'
.
$format
,
]);
$cmd
=
implode
(
' '
,
[
$ctn
->
getParameter
(
'irstea_plant_uml.binaries.java'
),
'-jar'
,
$ctn
->
getParameter
(
'irstea_plant_uml.binaries.plamtuml_jar'
),
'-graphvizdot'
,
$ctn
->
getParameter
(
'irstea_plant_uml.binaries.dot'
),
'-pipe'
,
'-t'
.
$format
,
]
);
$desc
=
[
// stdin
...
...
Doctrine/AssociationDecorator.php
View file @
74e56476
...
...
@@ -75,7 +75,16 @@ class AssociationDecorator extends AbstractDoctrineDecorator
}
$node
->
addArrow
(
new
BaseArrow
(
$node
,
$target
,
'--'
,
$association
[
'fieldName'
]
.
' >'
,
$linkSource
,
$linkTarget
,
$sourceCardinality
,
$targetCardinality
)
new
BaseArrow
(
$node
,
$target
,
'--'
,
$association
[
'fieldName'
]
.
' >'
,
$linkSource
,
$linkTarget
,
$sourceCardinality
,
$targetCardinality
)
);
}
...
...
Doctrine/FieldDecorator.php
View file @
74e56476
...
...
@@ -38,13 +38,15 @@ class FieldDecorator extends AbstractDoctrineDecorator
},
$class
);
$node
->
addAttribute
(
new
Field
(
$field
[
'fieldName'
],
$field
[
'type'
],
$field
[
'unique'
],
$field
[
'nullable'
],
$isIdentifier
));
$node
->
addAttribute
(
new
Field
(
$field
[
'fieldName'
],
$field
[
'type'
],
$field
[
'unique'
],
$field
[
'nullable'
],
$isIdentifier
)
);
}
public
function
toConfig
(
array
&
$conf
)
...
...
Model/Decorator/AttributeDecorator.php
View file @
74e56476
...
...
@@ -35,7 +35,7 @@ class AttributeDecorator implements DecoratorInterface
$property
->
isPrivate
()
?
MemberInterface
::
PRIVATE_
:
$property
->
isProtected
()
?
MemberInterface
::
PROTECTED_
:
$property
->
isPublic
()
?
MemberInterface
::
PUBLIC_
:
MemberInterface
::
UNKNOWN
MemberInterface
::
UNKNOWN
)
);
}
...
...
Model/Decorator/InheritableItemDecoratorTrait.php
View file @
74e56476
...
...
@@ -12,7 +12,6 @@ use ReflectionClass;
/**
* Décorateur abstrait pour les éléments d'une classe qui peuvent être hérités d'une classe base.
*
* Ce décorateur s'assure de n'afficher que les éléments propres à la classe.
*/
trait
InheritableItemDecoratorTrait
...
...
Model/Decorator/InterfaceDecorator.php
View file @
74e56476
...
...
@@ -22,7 +22,9 @@ class InterfaceDecorator extends AbstractRelationDecorator
$indirectInterfaces
=
array_filter
(
array_map
(
function
(
$i
)
{
return
$i
->
getInterfaceNames
();
},
function
(
$i
)
{
return
$i
->
getInterfaceNames
();
},
$class
->
getInterfaces
()
)
);
...
...
Model/Decorator/MethodDecorator.php
View file @
74e56476
...
...
@@ -35,7 +35,7 @@ class MethodDecorator implements DecoratorInterface
$method
->
isPrivate
()
?
MemberInterface
::
PRIVATE_
:
(
$method
->
isProtected
()
?
MemberInterface
::
PROTECTED_
:
(
$method
->
isPublic
()
?
MemberInterface
::
PUBLIC_
:
MemberInterface
::
UNKNOWN
))
MemberInterface
::
UNKNOWN
))
)
);
}
...
...
Writer/WriterInterface.php
View file @
74e56476
...
...
@@ -31,7 +31,7 @@ interface WriterInterface
/**
* @param string $fmt
* @param mixed ...
* @param
mixed ...
*
* @return self
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment