3 Replies Last post: Oct 5, 2013 4:37 PM by Mathew Foscarini  
Mathew Foscarini Newbie 55 posts since
Sep 27, 2013
Currently Being Moderated

Oct 5, 2013 4:15 PM

PHPStorm shows custom Phing task as undefined

When I use the <taskdef> feature to create custom tasks for my Phing build project. Those new tasks appear in PHPStorm as undefined tasks.

 

     <taskdef file="C:/work/zend/cgtag_1/build/tasks/tasks.properties"/>

     <timezone/>

 

<timezone/> executes correctly when the script is run, but in the IDE it's shown as red and undefined. All my build scripts are peppered with red indictors that these custom tasks are errors.

 

Is there anyway to get PHPStorm to recognize or ignore these tasks?

Andriy Bazanov Master 4,159 posts since
May 28, 2010
Currently Being Moderated
Oct 5, 2013 4:23 PM in response to: Mathew Foscarini
Re: PHPStorm shows custom Phing task as undefined

Hi there,

 

Works fine for me when I define them this way (using "name" attribute):

screen01.png

 

Folder structure (just in case)

screen02.png

More Like This

  • Retrieving data ...