Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
074ec7dd
Commit
074ec7dd
authored
Jan 28, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed exclude paths in phpdoc command
fixes #2184
parent
4e966832
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
PhpDocController.php
build/controllers/PhpDocController.php
+12
-5
No files found.
build/controllers/PhpDocController.php
View file @
074ec7dd
...
@@ -52,10 +52,18 @@ class PhpDocController extends Controller
...
@@ -52,10 +52,18 @@ class PhpDocController extends Controller
}
}
$except
=
[
$except
=
[
'.git/'
,
'/apps/'
,
'/apps/'
,
'/build/'
,
'/build/'
,
'/docs/'
,
'/docs/'
,
'/extensions/apidoc/helpers/PrettyPrinter.php'
,
'/extensions/codeception/TestCase.php'
,
'/extensions/codeception/DbTestCase.php'
,
'/extensions/composer/'
,
'/extensions/composer/'
,
'/extensions/gii/components/DiffRendererHtmlInline.php'
,
'/extensions/twig/TwigSimpleFileLoader.php'
,
'/framework/BaseYii.php'
,
'/framework/Yii.php'
,
'/tests/'
,
'/tests/'
,
'/vendor/'
,
'/vendor/'
,
];
];
...
@@ -73,11 +81,10 @@ class PhpDocController extends Controller
...
@@ -73,11 +81,10 @@ class PhpDocController extends Controller
},
},
'only'
=>
[
'*.php'
],
'only'
=>
[
'*.php'
],
'except'
=>
array_merge
(
$except
,
[
'except'
=>
array_merge
(
$except
,
[
'/BaseYii.php'
,
'views/'
,
'/Yii.php'
,
'requirements/'
,
'/views/'
,
'gii/generators/'
,
'/requirements/'
,
'vendor/'
,
'/gii/generators/'
,
]),
]),
];
];
$files
=
FileHelper
::
findFiles
(
$root
,
$options
);
$files
=
FileHelper
::
findFiles
(
$root
,
$options
);
...
...
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