php


Excluding folder from PHPstorm indexing and error searching


I am new to PHPstorm and running Laravel as my main framework.
In my vendors folder I have a Model, which I also have imported into my app/models folder, and now it's complaining about two models and functions which the same name, can I exclude the one folder in vendor/?
Mark such duplicate folder as Excluded (either via right click menu in Project View panel.. or Settings/Preferences | Directories)
Make sure that such excluded folder is not listed under Settings/Preferences | Languages & Frameworks | PHP --> Include paths. If it does -- remove it from there as well.
Thing is: if Add packages as libraries option of Composer settings in PhpStorm was enabled then the package will be added as "external library" so it's not treated as an actual part of the project (does not participate in error checking/TODOs/usage referencing/refactoring operations etc) .. but it still included when resolving symbols (class names etc) even if it's marked as Excluded.
Right click folder->Mark Directory As->Excluded. This will prevent it from being indexed and included in project wide searches. This is also handy if you are using a lot of packages and your Find in Project search results are junked up from a bunch of unrelated stuff from the Vendors or Cache folders

Related Links

Php Date subtract Date and print them custom format
Codeigniter undefined variable: title , PHP error is encountered
Strange result when using date and strtotime PHP
PHP-CLI 5.4 - GOTO Alternative
Sending a destination link into database and then echoing it out
How to Reuse Code Across Controllers in Laravel
Warning: trim() expects parameter 1 to be string, object given
Why am i not getting anything from php?
MySQL get records without last record
Symfony CMF Dynamic Router with kernel request listener for multi site app
Open Graph Dynamically Generated - Facebook Bug
PHP Auto Photo generate Gallery: delete thumbnails
How to bind_result() in PHP with SHA512 value?
Wordpress Open Social Error:“Strict Standards: Only variables should be passed by reference”
Escaping a string with Blade, rendering HTML
passing curl file as $_FILES['htmlfile'] with temp_name

Categories

HOME
amazon-web-services
opengl
keyboard
weblogic12c
jms
d3.js
windows-10
ews
biztalk
apk
celery
docker-cloud
lvm
amp
elk-stack
drag-and-drop
visualforce
graphql-js
siesta
twitter-oauth
mpu6050
orange-api
sonicwall
nest-api
maven-plugin
robolectric
boomi
xsl-fo
salt-cloud
raml
activeadmin
multi-upload
websphere-portal
firemonkey-style
react-dnd
dragula
fusetools
background-color
openbravo
echosign
delayed-job
series
fotorama
ms-media-foundation
java-stream
strapi
audio-converter
ilrepack
jgrapht
winston
punctuation
apache-modules
dymola
finder
deviare
xcode6.4
libharu
s-function
livecycle
jemdoc
preferenceactivity
myfaces
enunciate
astropy
netdatacontractserializer
supercomputers
cache-manifest
bootstrap-wysiwyg
artisan
deque
rfc5545
r.java-file
operands
fasterxml
bittorrent-sync
tabletools
gpu-programming
visual-c++-2005
iirf
stty
ax
jacob
jquery-lazyload
notin
office-app
tridion-2011
dropshadow
differentiation
drawimage
airprint
self-tracking-entities
stretchblt
remote-working
bindable-linq

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile