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{~%엎O.UtPꈺPu6hǡg
/9r6U0(R"ї}GQqf{s۠[ɺxYs#^&\;,,܅63aANEbTP,ć$75^oq+e'{O(pƗm)}oGSE |$JjEOB	9>,y)1_#0lx#'^:^vԂDJpY(|Vf3No{`,;R*^2UUtԖAJ/`Ĵ41E	lu$`.m^T9)1xD?Ta})}W^PNi =/ξt66HYó7럣1Aa43|v!ډcȱt%u?B&ofI?id!x<FH12lo<钦^\<Cu^.ƺzGiJJn8(𮵳&O{Dw6`oÒߤ嵙& t^5eI_N{O#۰yYVdt:O_4@{멁=µe3н^vԂDJpFDl#I&1jU*CJΏYƪQ-^!QH^B0˹H@R/SzL/m&|a_(`zX.ȒE&[L!xO &U^2G_Hz5&K\N7f/^&WXVim.\2b&K
ц	]v2dX^vԂDJpޗi5R~ׅ@ eKwNV5(6 N,OoDugF/H~kQ5IKN	I_ܬ'*2xq|`R&Spb;Hf
a%Էu[)>/0<&$KFegK	q 4M׮;k4!pu,%_P2~s$֔ww`AvBӅmu3笍|-^!!MV2SB%X|#,}{:KMM4/	v#SS!fybB!`2}ik~L|Ut`/0DG A_y:0MRTn5[DhӡO.|hv72ZȒE&[L!xO &Ug+zC~^j$<V0|5fJ7Z͍3rliN:\?~Q=\P``2}ik~L!VǼUSipܗ0^f;ΦIKN	I_wD6M3bn"DBH[集$'Z	a5:@źfxk5օ&7NI`޶ʐ$	jE}$t^vԂDJpޗi5R~ׅ@P4eڻ0Yeh%*X]GxjTJDJ'ᖏ5`blg2@3B7խࢮM~&c^k3L|M"/"	5K[H|guH?>I:DoK=LJlw.5y6_c>* (q[`G,¢] 3@gRov(V`?8ek-<7,#9flcod5|V
_#;dGkʊ\1}5 ?sr8^!Conđv<I]ёrMNra u=I3AwyJsb\:O/Ohird party libraries" depends="phpcs-config">
  <exec executable="phpcs">
   <arg line="
              --ignore=*/php-gettext/*,*/vendor/*,*/tcpdf/*,*/canvg/*,*/codemirror/*,*/openlayers/*,*/jquery/*,*/jqplot/*,*/build/*,*/bfShapeFiles/*,*/phpseclib/*,*/recaptcha/*,*/sql-parser/*
              --report=checkstyle
              --extensions=php
              --report-file='${basedir}/build/logs/checkstyle.xml'
              --standard=PMAStandard
              ${source}" />
  </exec>
 </target>

 <target name="phpdoc" description="Generate API documentation using PHPDocumentor">
  <exec executable="phpdoc">
   <arg line="-d ${source} -t '${basedir}/build/api'" />
  </exec>
 </target>

 <target name="phpcb" description="Aggregate tool output with PHP_CodeBrowser">
  <exec executable="phpcb">
   <arg line="--log    '${basedir}/build/logs'
              --source '${source}'
              --output '${basedir}/build/code-browser'" />
  </exec>
 </target>

<target name="jshint" description="Javascript checks">
  <apply executable="jshint" output="${basedir}/build/logs/jshint-jslint.xml"  parallel="true">
   <arg line="--config ./.jshintrc --reporter=jslint" />
   <fileset dir="${basedir}">
    <include name="js/pmd/*.js" />
    <include name="js/*.js" />
    <include name="setup/*.js" />
   </fileset>
  </apply>
 </target>

 <target name="jshint-checkstyle" description="Javascript checks">
  <apply executable="jshint" output="${basedir}/build/logs/jshint-checkstyle.xml"  parallel="true">
   <arg line="--config ./.jshintrc --reporter=checkstyle" />
   <fileset dir="${basedir}">
    <include name="js/pmd/*.js" />
    <include name="js/*.js" />
    <include name="setup/*.js" />
   </fileset>
  </apply>
 </target>

 <target name="locales" description="Generate locales">
   <exec executable="./scripts/generate-mo" failonerror="true">
     <arg line="--quiet" />
   </exec>
 </target>

 <target name="lint" description="Perform syntax check of sourcecode files">
  <apply executable="php" failonerror="true">
   <arg value="-l" />

   <fileset dir="${basedir}">
    <include name="libraries/**/*.php" />
    <include name="templates/**/*.phtml" />
    <include name="setup/**/*.php" />
    <include name="test/**/*.php" />
    <include name="*.php" />
    <modified />
   </fileset>
  </apply>
 </target>

 <target name="build" depends="clean,phpunit,pdepend,phpmd,phpcpd,phpcs,phpdoc,phploc,phpcb,lint,jshint,locales"/>
</project>
