Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
file_extractor
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
file_extractor
Merge requests
!3
Issue
#3199647
: Fix PHPMD
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3199647
: Fix PHPMD
issue/file_extractor-3199647:3199647-fix-phpmd
into
2.0.x
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Florent Torregrosa
requested to merge
issue/file_extractor-3199647:3199647-fix-phpmd
into
2.0.x
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
2.0.x
version 1
01085c61
4 years ago
2.0.x (base)
and
latest version
latest version
703368df
1 commit,
4 years ago
version 1
01085c61
1 commit,
4 years ago
4 files
+
28
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/Event/FileIndexableEvent.php
+
19
−
0
Options
@@ -48,13 +48,32 @@ class FileIndexableEvent extends Event {
return
$this
->
file
;
}
// phpcs:disable
/**
* If the file is indexable or not.
*
* @return bool
* If the file is indexable or not.
*
* @deprecated in 2.0.1 and will be removed in 3.0.0. Use isIndexable()
* instead.
*
* @SuppressWarnings(PHPMD.ErrorControlOperator)
* @SuppressWarnings(PHPMD.BooleanGetMethodName)
*/
public
function
getIndexable
()
{
@
trigger_error
(
__METHOD__
.
'() is deprecated in 2.0.1 and will be removed in 3.0.0. use isIndexable() instead.'
,
\E_USER_DEPRECATED
);
return
$this
->
isIndexable
();
}
// phpcs:enable
/**
* If the file is indexable or not.
*
* @return bool
* If the file is indexable or not.
*/
public
function
isIndexable
()
{
return
$this
->
indexable
;
}
Loading