Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
plantuml-bundle
Commits
e7aa5dec
Commit
e7aa5dec
authored
Nov 28, 2017
by
Guillaume Perréal
Browse files
Extrait la fonction "irstea_plantmul_include" dans un fichier séparé.
parent
5d466319
Changes
3
Hide whitespace changes
Inline
Side-by-side
composer.json
View file @
e7aa5dec
...
...
@@ -15,7 +15,8 @@
"source"
:
"https://gitlab.irstea.fr/pole-is/bundles/plantuml-bundle/tree/master"
},
"autoload"
:
{
"psr-4"
:
{
"Irstea\\PlantUmlBundle\\"
:
"src/"
}
"psr-4"
:
{
"Irstea\\PlantUmlBundle\\"
:
"src/"
},
"files"
:
[
"src/functions.php"
]
},
"minimum-stability"
:
"stable"
,
"autoload-dev"
:
{
...
...
src/Finder/ClassFinder.php
View file @
e7aa5dec
...
...
@@ -76,8 +76,3 @@ class ClassFinder implements FinderInterface
$conf
[
'directories'
]
=
$this
->
directories
;
}
}
function
irstea_plantmul_include
(
$filepath
)
{
@
include_once
$filepath
;
}
src/functions.php
0 → 100644
View file @
e7aa5dec
<?php
declare
(
strict_types
=
1
);
/*
* Copyright (C) 2016-2017 IRSTEA
* All rights reserved.
*/
/**
* @param string $filepath
*/
function
irstea_plantmul_include
(
$filepath
)
{
/* @noinspection UsingInclusionOnceReturnValueInspection */
@
include_once
$filepath
;
}
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